Arduino 0.96" I2C 128X64 OLED LCD

Some time ago I bought a screen that could be useful for small robot project or even better, you can use to simulate some eyes.

1) Wiring

The Arduino connection.

This screen is 128x64 pixels size screen. In this case it is really easy to wire the screen if you use an Arduino Leonardo. Taking in account that the screen works with 5V just plug in:

  • Vcc to 5v
  • Gnd to Gnd in the Arduino
  • SLC to SCL (clock line) in the Arduino board
  • SDA to SDA (data line) in the Arduino board

2) Software

In order to make it run just download the libraries from:

  • SSD1306 This is the main library that contains how to control de screen.
  • GFX Library. This is a library to control image transformations.

Select this project ssd1306_128x64_i2c. The only thing I had to change to make the screen work properly was changing the screen address inside the file Adafruit_SSD1306.h in the SSD1306 project. I had to write the line like this one:

display.begin(SSD1306_SWITCHCAPVCC, 0x3C);

3) References

1) Full Step by Step video tutorial

Jorge Corredera

Jorge Corredera
I am a Spanish telecommunication engineer.I like social robotics, computers and almost everything with wires. Right now, I am working as a Software Engineer. Furthermore I am always happy to be involved in challenging projects.

Pcb Working Process

Published on April 30, 2018

Cyclone Pcb Factory

Published on January 01, 2018