Introduction: Arduino Serial Terminal Oled With Adafruit SSD1306 Library

I used the library and graphics Adafruit_GFX Adafruit_SSD1306 I made the Arduino platform used as serial terminal

and the characters received atravez a mini OLED screen, this is only the first part of a slightly more complex project with Arduino and ESP8266 module.

It just wants to show what comes from the serial port on a Oled screen ....

More info:

Blog PDAControl English

Blog PDAControl Español

Step 1: Components and Materials Required for Testing

Picture of Components and Materials Required for Testing

Step 2: ​Código

Picture of ​Código

They have been used Adafruit_GFX libraries and Adafruit_SSD1306 excellent for graphics applications screens with I2C and SPI protocol, the code does the following things:

1 configuration of the I2C Oled screen.

2 Make serial port settings

3 The screen is initialized and the characters of the serial port are stored in a variable and then the values are printed on the screen.

More info:
Blog PDAControl English

Blog PDAControl Español


Git Hub Code with End line..

GitHub JhonControl

More info. JhonValenciaPDAcontrol

Step 3: Testing

Picture of Testing

character printing serial port works correctly, the only drawback restart the realization of the screen because the print area on the screen ends and does not return to the position display.setCursor 0.0 (0.0); to fill the amount of carateres on the screen.


47degreesnorth (author)2016-03-07

I've been unable to get the display.clearDisplay function to work. Every other function works fine. I am using the DIY SSD_1306 , 128x64 I2c with the Adafruit Libraries: SSD1306.h and GFX.h etc. It appears it assigns the reset in the cpp library to an int 4. I have the pins going SDA>A4 and SCLA5. Is it possibly looking for the digital pin 4? Nice project by the way.

I'm conducting tests of library and function Clear the implement with delays before and after use, I tested, though one made a loop for to clean pixel by pixel ... effected, tests and will inform you about my progress ..

perform tests run printing a bitmap and function clear ..

About This Instructable




Bio: Share - Learn - Makers. Projects, Articles, #automation, #PLC, #Arduino, #IoT and More PDAControl
More by Jhon_Control:Measuring DC Voltage With Arduino and Node-REDESP-IDF for Modules ESP32 Complete InstallationControlling Arduino From Node-RED With Firmware Firmata IoT#
Add instructable to: