Tutorial to Interface OLED 0.91inch 128x32 With Arduino UNO

37,317

28

2

Introduction: Tutorial to Interface OLED 0.91inch 128x32 With Arduino UNO

This tutorial is going to teach you some basics on using OLED 0.91inch LCD128x32 with Arduino UNO

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

Step 2: Pin Definition

Step 3: Hardware Installation

Step 4: 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.

Step 5: Include U8g2 Library

Click skecth and then click include library. Next, click add .Zip library and select the U8g2.zip file.

Step 6: Upload Source Code

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.

Step 7: Result

3 People Made This Project!

Recommendations

  • LED Strip Speed Challenge

    LED Strip Speed Challenge
  • Sculpting Challenge

    Sculpting Challenge
  • Clocks Contest

    Clocks Contest

2 Discussions

1
Kirill-500
Kirill-500

8 months ago

Does this module require external pullup resistors or they are already built in?
I want to use it with other MCU, not Arduino.

0
SomehowB
SomehowB

1 year ago on Step 1

what made u pick that constructor vs say

U8G2_SSD1306_128X32_UNIVISION_1_SW_I2C(rotation, clock, data [, reset])

I have same-looking display, but my PINs r marked SCK/SDA.
My display (as yours as well) doesn't have reset pin @ all.
How did u know the buffer size to choose the constructor? A lucky guess?
What about Univision vs Winstar constructors?