How to nterface OLED 0.96inch LCD with Arduino


Step 1: Introduction

How to interface OLED 0.96inch LCD with Arduino

 

Description:

OLED 0.96 inch is a monochrome graphic display module with a built-in 0.96 inch, 128X64 high-resolution display. OLED 0.96inch 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:

  • Working Voltage: 3.3V (suggested)
  • Compatible Interfaces: I^2C or SPI
  • Low power consumption, 0.06W when working normally
  • Working temperature: -30ᵒC to 70ᵒC

Sample Source Code

To get the result, please download the sample source code attached below and upload it into Arduino.

*Kindly download the U8glib library which is written for many types of LCD display.

 

How to Use U8glib Library

After downloading the U8glib library and move the extracted file to the desired Arduino’s libraries, now restarting the Arduino software by quitting the entire software and open the software once again. Now, you should be able to see the same thing in the ‘File’ option.

Users can simply try those written coding and construct the circuit according to the coding. Later users can upload those coding into Arduino and see how the circuit works. Feel free to try out!

To display your own picture into Arduino readable code, here are the steps…

1. Load your picture into GIMP (kindly download the GIMP software by pressing the word “GIMP” and it will direct you to the website for downloading purpose).

2. Convert it into a indexed bitmap (you can find this option in “Mode” under “Image” option. Then choose “2 levels, black & white”, by using dithering).

3. Next, export as XBM (.xbm extension).

4. After that, go to the file location of the .xbm extension. You can see a file with name ends with “.xbm” for instances “mybotic.xbm”. Kindly rename this file with its name ends with “.txt” for example “mybotic.txt”.

5. Please refer to the picture above.

6. Please refer to the picture above.

For more detail: How to nterface OLED 0.96inch LCD with Arduino




Leave a Comment

© 2015 Powered By Engineering Projects Team, Raspberry Pi Projects

Scroll to top