Monday, 28 June 2021

Interfacing a 128*64 OLED display with Arduino

This tutorial is about interfacing an OLED display with Arduino. OLED (Organic Light Emitting Diode) displays are made by placing a series of thin organic films between two conductors. When electrical current is applied, a bright light is emitted. These displays are more effective then LCD displays. OLED displays are called organic as they are composed of carbon and hydrogen. They are also very efficient and do not contain any bad metals. Using a 128*64 OLED display, we will display bitmap images.


Components used: 
1. 1.3’ or 0.96’ OLED display 
Make sure you know which driver IC your display has. Usually, the 1.3’ display has an SH1106 driver IC and the 0.96’ display has the SSD1306 driver IC. The library we would be using in this project is the U8glib, which supports both ICs (make sure to uncomment the one in use and comment the one not in use). The Adafruit OLED and GFX libraries only support the SSD1306 driver IC. The OLED used utilizes the I2C bus, which reduces the number of pins required for connection.

2. Breadboard 
This is optional, you can also connect the OLED display to your Arduino directly if you have appropriate wires for this task.

3. Jumper Wires 
These are necessary for connecting the Arduino to the OLED display.

4. Arduino board 

I have used an Arduino Nano, but you can use whichever Arduino board is available. Just make sure you know the pins for I2C bus communication. For Arduino Uno and Nano, it is A4 and A5.











For more information visit our website : https://thinkrobotics.in/