OLED LCD LED Display Module for Arduino

Chris Anderson/ July 18, 2014/ Uncategorized/ 0 comments


This OLED part No is UG-2864HSWEG01 not UG-2864AMBAG01

Needn’t  backlight, the display unit can self-luminous
High resolution: 128 * 64
Viewing angle: >160 °
Supports many control chip: Fully compatible with Arduino, 51 Series,

MSP430 Series, STM32 / 2, CSR IC, etc.
Ultra-low power consumption: full screen lit 0.08W
Voltage: 3V ~ 5V DC
Working Temperature: :-30℃~70℃
Module Size: 27.0MM * 27.0MM * 4.1MM
I2C/IIC Interface, need 2 IO only.
Driver IC: SH1106
Blue colordownload



This unit is kind of difficult to get going if you’re new to Arduino so I’ll try to give you a starting point.
First off the sketches needed to run this item can be found on the Adafruit site here:[…]Load those libraries and then open the Arduino IDE. Select File>Examples>Adafruit_SSD1306>ssd1306_128x64_i2c
The default address of the unit as shipped is marked on the back of the board silkscreen as 0x78 however this is wrong. My unit actually has an address of 0x3C. To fix the Adafruit code:Scroll to line 61. Find in the parenthesis 0x3D. Change this to 0x3C, save the file and upload it to your Arduino. Once it is complete, you should start seeing the Adafruit demo program running.If your display stays black and appears to do nothing, you’ve most likely gotten the address wrong. To find out what yours is, you need to run an I2C scanner. There are several out there but on my Mega most of them didn’t work. This one does however:

Driver – Code


The SSD1306 has two different signal lines for the I2C data signal (one for input and one for output). However the pins of this OLED module are only connected to the input data line of the SSD1306. As a result it can not send the I2C ACK (it will be also invisible to any I2C scanner). This display from HelTec is connected to 5V power supply. Data and clock lines accept 5V signals and do not need a pullup resistor. Support for this OLED is added to v1.16 of U8glib. A beta release can be downloaded here: http://forum.arduino.cc/index.php?topic=219419.0

More notes – now sure they apply

0.96″ OLED i2c Display (3.3V only)

I used to buy these little displays off ebay but the price kept climbing so I decided to create my own.

-3.3V only

-SSD1306 driver

-compatible with the Adafruit Graphics Library with small change of the address from 0x3D to 0x3C or use my test code here: https://sites.google.com/site/0miker0/oled-displays

-display colour is white.

-current draw varies with brightness and pixels lit. The display draws between 8mA – 12mA.

-dimensions are 26.7mm from right to left, 26mm from top to bottom and 5mm thick

-4.7K – 10K pullup resistors are needed on both i2c lines

-the test code uses the displays internal charge pump command which eliminates the need for an external boost circuit that other displays sometimes use. Towards the end of the init function it also has a rotate 180 degree command which might come in handy.

-data sheet for the glass is at: http://www.buy-display.com/default/oled-display-module.html

Share this Post

This site uses Akismet to reduce spam. Learn how your comment data is processed.