Tutorial to Interface OLED 0.91inch 128x32 With Arduino UNO
by mybotic in Circuits > Electronics
105394 Views, 46 Favorites, 0 Comments
Tutorial to Interface OLED 0.91inch 128x32 With Arduino UNO
![oled 0.png](/proxy/?url=https://content.instructables.com/F21/O2WO/JC0U6G3R/F21O2WOJC0U6G3R.png&filename=oled 0.png)
This tutorial is going to teach you some basics on using OLED 0.91inch LCD128x32 with Arduino UNO
Introduction
Description:
OLED 0.91 inch is a monochrome graphic display module with a built-in 0.91 inch, 128X32 high-resolution display. OLED 0.91inch is able to work despite the absence of backlight. In a dark environment, contrast of OLED display is higher than LCD display. This device is I^2C or SPI compatible. Due to its capability in displaying, it is often used in various application for instances, smart watch, MP3, function cellphone, portable health device and many others.
Specifications:
1. OLED display, no need backlight, self-illumination,
2. The display performance is better than the traditional LCD display, also lower consumption.
3. Driver IC: SSD1306
4. Size: 0.91 inch OLED
5. Resolution: 128 x 32
6. IIC interface
7. Display Color: white
8. Description:
GND: Power Ground
VCC: Power + (DC 3.3 ~5v)
SCL: Clock Line
SDA: Data Line
Pin Definition
![PIN DEFINITION.PNG](/proxy/?url=https://content.instructables.com/F9V/K1EB/JC0U6H3A/F9VK1EBJC0U6H3A.png&filename=PIN DEFINITION.PNG)
Hardware Installation
![installation.PNG](/proxy/?url=https://content.instructables.com/FXL/OWR8/JC0U6HFC/FXLOWR8JC0U6HFC.png&filename=installation.PNG)
![TABL.PNG](/proxy/?url=https://content.instructables.com/FOF/X6QJ/JC0U6HO7/FOFX6QJJC0U6HO7.png&filename=TABL.PNG)
Sample Source Code
To get the result, please download the sample source code attached below.
*Kindly download the U8g2 library which is written for many types of LCD display.
Include U8g2 Library
![sketch.PNG](/proxy/?url=https://content.instructables.com/FIF/KRM4/JC0U9HP5/FIFKRM4JC0U9HP5.png&filename=sketch.PNG)
Click skecth and then click include library. Next, click add .Zip library and select the U8g2.zip file.
Upload Source Code
![SAME COM.PNG](/proxy/?url=https://content.instructables.com/FOY/LHMR/JC2Y9FEE/FOYLHMRJC2Y9FEE.png&filename=SAME COM.PNG)
![UPLOADE LAJ.PNG](/proxy/?url=https://content.instructables.com/F44/09DT/JC2Y9FHT/F4409DTJC2Y9FHT.png&filename=UPLOADE LAJ.PNG)
Open the source code. Make sure com of arduino UNO and com port is same and please select the board is Arduino UNO.
Click upload.
Result
![IMG_1929.JPG](/proxy/?url=https://content.instructables.com/FKW/PM7M/JC2Y9HW9/FKWPM7MJC2Y9HW9.jpg&filename=IMG_1929.JPG)
![IMG_1930.JPG](/proxy/?url=https://content.instructables.com/FN7/5CXB/JC2Y9HX6/FN75CXBJC2Y9HX6.jpg&filename=IMG_1930.JPG)
![IMG_1931.JPG](/proxy/?url=https://content.instructables.com/FLR/EA38/JC2Y9I6K/FLREA38JC2Y9I6K.jpg&filename=IMG_1931.JPG)
![IMG_1932.JPG](/proxy/?url=https://content.instructables.com/FPV/53WB/JC2Y9IKK/FPV53WBJC2Y9IKK.jpg&filename=IMG_1932.JPG)