0.96inch OLED Module MC096GX

From LCD wiki
Jump to: navigation, search
语言选择(Other languages): 中文 English


Product picture

MC096G-02.jpg MC096-003.jpg


Product description

  • High resolution: 128x64 (have the same resolution as 12864, high PPI)
  • Large viewing angle: greater than 160° (a screen with the largest viewing angle in the monitor)
  • Ultra-low power consumption: it's 0.06w in normal condition(far less than TFT display)
  • Wide voltage supply (3V~5V), 3.3V and 5V level logic compatible, no level shifter IC
  • IIC interface and only requires 2 IOs to light up easily
  • The range of working temperature is industrial (-20°C~70°C)
  • Military-grade process standards, long-term work steadily
  • Provide rich multi-platform routines and the technology support of underlying driver
  • Have three color display schemes of yellow and blue,white,blue to choose from

Product parameters

name color category
display color white blue Blue and yellow
SKU MC096GW MC096GB MC096GY
size 0.96(inch)
type OLED
OLED driver chip SSD1306
resolution 128*64 (Pixel)
Module interface IIC,4PIN
Effective display area 21.744x10.864(mm)
Module size 27.3x27.8(mm)
Field of View >160°
Working temperature -20℃~70℃
storage temperature -30℃~80℃
Working voltage 3.3V / 5V
power dissipation Max:25mA,Min: 1.5mA
product weight 15(g)

Interface definition

PIN label Pin description
1 GND OLED GND
2 VCC OLED VCC input(3.3V~5V)
3 SCL OLED clock signal of IIC bus
4 SDA OLED data signal of IIC bus

Product size

Product size drawing:0.96 inch OLED Product size drawing

Hardware description

Hardware schematic:0.96 inch OLED display module hardware schematic.pdf

IIC hardware adjustment instructions of device address to slave device:

MC096-006.jpg

As the picture shows,in the red rectangle,if the resistor is connected to 0x78,

it indicates that the IIC slave address is 0x78,if the resistor is connected to 0x7A,

it indicates that the IIC slave address is 0x7A.

Using Instructions

Arduino platform instructions

1.Wiring instructions

connection to UNO development board connect to Mega2560 development board
the pin on module the pin on UNO single chip the pin on module the pin on Mega2560 single chip
GND GND GND GND
VCC 5V VCC 5V
SCL A5 SCL 21
SDA A4 SDA 20

2.operation instructions

a.Connect the OLED module to the Arduino development board according to the wiring instructions and then power on

b.Download the package(see the driver download column for details), unzip and open the "1-Arduino测试程序\Arduino_OLED_Demo_UNO&Mega2560_IIC_V1.0\Example" folder,

There are test programs inside,See the figure below (see the test procedure documentation for a description):

MC096-016.jpg

c.Then open the "1-Arduino测试程序\Arduino_OLED_Demo_UNO&Mega2560_IIC_V1.0\Install libraries" folder,

which contains the U8glib open source library, as shown in the following figure:

MC096-038.jpg

d.Copy U8glib to the directory where the Arduino IDE run lib is located, which can be viewed and set from the following figure:

MC096-039.jpg

e.Select any test program to run the test, for example select Example03-show_BMP test program

f.When you open the test program,click tools-> Board to select the development board model,then click tools-> Port

to select the com port to connect,as shown in the following figure:

MC096-028.jpg

g.After both the development board model and the com port have been selected correctly,click the right arrow button to compile and download,

as shown in the following figure:

MC096-029.jpg

h.When Done upload appears,the compilation and download are successful,as shown in the following figure:

MC096-030.jpg

i.The OLED module displays the pictures below,which indicates that the test program is running successfully and the operation is successful

MC096GX-03.jpg


C51 platform instructions

1.Wiring instructions

the pin on module the pin on C51 single chip
GND GND
VCC 5V
SCL P23
SDA P24

2.operation instructions

a.Connect the OLED module to the C51 development board according to the wiring instructions and then power on

b.Download the package (see the driver download column for details), unzip and open the "2-C51测试程序" folder,

MC096-020.jpg

c.There are two kinds of C51 single-chip test program,just choose one,for example,select STC12C5A60S2 microcontroller test program

(for related instructions, see the test program documentation)

d.Open the "C51_OLED_Demo_STC12C5A60S2_IIC_V1.0" folder and find the "OLED.uvproj" file,double-click to open the test program project

e.Click the Compile button to compile the entire project.When "creating hex file from ".OBJ\TEST_OLED"..." appears,

the compilation is successful, as shown in the following figure:

MC096-031.jpg

f.Then open the STC-ISP software to download.The relevant settings are shown in the following figure:

MC096-032.jpg

g.Then select the compiled hex file to burn.The burning file is in the directory of "C51_OLED_Demo_STC12C5A60S2_IIC_V1.0\OBJ",

as shown in the following figure:

MC096-033.jpg

h.After the download is clicked,the MCU needs to be powered on again, when appear "successful operation", it means successful burning,

the operation is shown in the following figure:

MC096-034.jpg

i.The OLED module displays the pictures below,which indicates that the test program is running successfully and the operation is successful

MC096GX-03.jpg

STM32 platform instructions 1.Wiring instructions

the pin on module the pin on STM32 single chip
GND GND
VCC 5V
SCL PB13
SDA PB14

2.operation instructions

a.Connect the OLED module to the STM32 development board according to the wiring instructions and then power on

b.Download the package (see the driver download column for details), unzip and open the "3-STM32测试程序" folder,

MC096-025.jpg

c.there are two kinds of STM32 single-chip test program,just choose one,for example,select STM32F103RCT6 microcontroller test program

(for related instructions, see the test program documentation)

d.Open the "STM32_OLED_Demo_STM32F103RCT6_IIC_V1.0\USER" folder and find the "OLED.uvproj" file,double-click to open the test program project

e.Click on the compile button to compile the entire project,and when "from ELF: creating hex file.\ OBJ\ TESTOLED.axf" appears,

the compilation is successful, as shown in the following figure:

MC096-035.jpg

f.Connect to JTAG and click the download button.When "Programming Done.Verify OK."appears,

the download is successful, as shown in the following figure:

MC096-036.jpg

g.The OLED module displays the pictures below,which indicates that the test program is running successfully and the operation is successful

MC096GX-03.jpg

Driver download

baiduyun download: 0.96inch-OLED-MC096GX-V1.0

Local download: 0.96inch-OLED-MC096GX-V1.0

Common software description

the software description is in the software package and the download address as follows:

PCtoLCD2002:PCtoLCD2002