Arduino Serial Terminal Oled With Adafruit SSD1306 Library

About: Share - Learn - Makers. Projects, Articles, #automation, #PLC, #Arduino, #IoT and More PDAControl

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components and Materials Required for Testing

Step 2: ​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

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.

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    2 Discussions


    3 years ago

    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.

    1 reply

    Reply 3 years ago

    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 ..