Difference between revisions of "0.96inch OLED Module (IIC-4P SKU:MC096VX)"

From LCD wiki
Jump to: navigation, search
(Using Instructions)
(Using Instructions)
Line 120: Line 120:
  
 
==<font color="blue">Using Instructions</font> ==
 
==<font color="blue">Using Instructions</font> ==
'''Arduino平台使用说明'''
+
'''Arduino platform instructions'''
  
1、接线说明
+
1.Wiring instructions
  
{| class="wikitable" border="1" style="width: 500px; background-color: white;"
+
{| class="wikitable" border="1" style="width: 800px; background-color: white;"
! colspan="2" |与UNO开发板连接
+
! colspan="2" |connection to UNO development board
! colspan="2" |与Mega2560开发板连接
+
! colspan="2" |connect to Mega2560 development board
 
|-
 
|-
! align="center" |模块上管脚
+
! align="center" |the pin on module
! align="center" |UNO单片机上管脚
+
! align="center" |the pin on UNO single chip
! align="center" |模块上管脚
+
! align="center" |the pin on module
! align="center" |Mega2560单片机上管脚
+
! align="center" |the pin on Mega2560 single chip
 
|-
 
|-
 
| align="center" |VCC
 
| align="center" |VCC
Line 154: Line 154:
 
|}
 
|}
  
2、操作说明
+
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,
  
a、将OLED模块按照接线说明和Arduino开发板连接起来,然后上电。
+
There are test programs inside,See the figure below (see the test procedure documentation for a description):
  
b、下载资料包(具体见驱动下载栏),解压后打开“1-Arduino测试程序\Arduino_OLED_Demo_UNO&Mega2560_IIC_V1.0\Example”文件夹,
+
[[file:MC096-016.jpg|750px]]
  
里面有测试程序,如下图(相关说明见测试程序说明文档)
+
c.Select any test program to run the test, for example select Example03-show_BMP test program
  
[[文件:MC096-016.jpg|750px]]
+
d.When you open the test program,click tools-> Board to select the development board model,then click tools-> Port
  
c、选择任意一个测试程序运行测试,例如选择Example03-show_BMP测试程序
+
to select the com port to connect,as shown in the following figure:
  
d、打开测试程序后,点击Tools->Board,选择开发板型号,然后点击Tools->Port,选择连接的com口,如下图所示:
+
[[file:MC096-028.jpg|750px]]
  
[[文件:MC096-017.jpg|750px]]
+
e.After both the development board model and the com port have been selected correctly,click the right arrow button to compile and download,
  
e、开发板型号和com口都选择正确后,点击右箭头按钮,进行编译下载,如下图所示:
+
as shown in the following figure:
  
[[文件:MC096-018.jpg|750px]]
+
[[file:MC096-029.jpg|750px]]
  
f、待出现Done upload,则说明编译和下载成功,如下图所示:
+
f.When Done upload appears,the compilation and download are successful,as shown in the following figure:
  
[[文件:MC096-019.jpg|750px]]
+
[[file:MC096-030.jpg|750px]]
  
g、OLED模块循环显示三张BMP单色图片,则说明测试程序运行成功,操作成功
+
g.The OLED module cyclically displays three BMP monochrome pictures,which indicates that the test program is running successfully and the operation is successful
  
  
'''C51平台使用说明'''
+
'''C51 platform instructions'''
  
1、接线说明
+
1.Wiring instructions
  
 
{| class="wikitable" border="1" style="width: 500px; background-color: white;"
 
{| class="wikitable" border="1" style="width: 500px; background-color: white;"
!模块上管脚
+
!the pin on module
! align="center" |C51单片机上管脚
+
! align="center" |the pin on C51 single chip
 
|-
 
|-
 
| align="center" |VCC
 
| align="center" |VCC
Line 202: Line 206:
 
|}
 
|}
  
2、操作说明
+
2.operation instructions
a、将OLED模块按照接线说明连接C51单片机,然后上电;
+
 
 +
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,
 +
 
 +
[[file:MC096-020.jpg|750px]]
 +
 
 +
c.There are two kinds of C51 single-chip test program,just choose one,for example,select STC12C5A60S2 microcontroller test program
  
b、下载资料包(具体见驱动下载栏),解压后打开“2-C51测试程序”文件夹,如下图所示:
+
(for related instructions, see the test program documentation)
  
[[文件:MC096-020.jpg|750px]]
+
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
  
c、里面两种C51单片机的测试程序,随便选择一种,例如选择STC12C5A60S2单片机测试程序(相关说明见测试程序说明文档)。
+
e.Click the Compile button to compile the entire project.When "creating hex file from ".OBJ\TEST_OLED"..." appears,
  
d、打开“C51_OLED_Demo_STC12C5A60S2_IIC_V1.0”文件夹,找到“OLED.uvproj”文件,双击打开测试程序工程
+
the compilation is successful, as shown in the following figure:
  
e、点击编译按钮,编译整个工程,待出现“creating hex file from ".\OBJ\TEST_OLED"...”,则说明编译成功,如下图所示:
+
[[file:MC096-031.jpg|750px]]
  
[[文件:MC096-021.jpg|750px]]
+
f.Then open the STC-ISP software to download.The relevant settings are shown in the following figure:
  
f、然后打开STC-ISP软件进行下载,相关设置如下图所示:
+
[[file:MC096-032.jpg|750px]]
  
[[文件:MC096-022.jpg|750px]]
+
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",
  
g、然后选择编译好的hex文件进行烧录,烧录文件在“C51_OLED_Demo_STC12C5A60S2_IIC_V1.0\OBJ”目录下,如下图所示:
+
as shown in the following figure:
  
[[文件:MC096-023.jpg|750px]]
+
[[file:MC096-033.jpg|750px]]
  
h、点击下载后,需要将单片机重新上电,待出现“操作成功”,则表示烧录成功,操作如下图所示:
+
h.After the download is clicked,the MCU needs to be powered on again, when appear "successful operation", it means successful burning,
  
[[文件:MC096-024.jpg|750px]]
+
the operation is shown in the following figure:
  
i、OLED模块循环显示4张BMP单色图片则表示测试程序运行成功,操作成功。
+
[[file:MC096-034.jpg|750px]]
  
 +
i.The OLED module cyclically displays four BMP monochrome pictures,which indicates that the test program is running successfully and the operation is successful
  
'''STM32平台使用说明'''
+
 
1、接线说明
+
'''STM32 platform instructions'''
 +
1.Wiring instructions
 
{| class="wikitable" border="1" style="width: 500px; background-color: white;"
 
{| class="wikitable" border="1" style="width: 500px; background-color: white;"
!模块上管脚
+
!the pin on module
! align="center" |STM32单片机上管脚
+
! align="center" |the pin on STM32 single chip
 
|-
 
|-
 
| align="center" |VCC
 
| align="center" |VCC
Line 251: Line 264:
 
|}
 
|}
  
2、操作说明
+
2.operation instructions
a、将OLED模块按照接线说明连接STM32单片机,然后上电;
+
 
 +
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,
 +
 
 +
[[file:MC096-025.jpg|750px]]
 +
 
 +
c.there are two kinds of STM32 single-chip test program,just choose one,for example,select STM32F103RCT6 microcontroller test program
  
b、下载资料包(具体见驱动下载栏),解压后打开“3-STM32测试程序”文件夹,如下图所示:
+
(for related instructions, see the test program documentation)
  
[[文件:MC096-025.jpg|750px]]
+
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
  
c、里面有两种STM32单片机的测试程序,随便选择一种,例如选择STM32F103RCT6单片机测试程序(相关说明见测试程序说明文档)。
+
e.Click on the compile button to compile the entire project,and when "from ELF: creating hex file.\ OBJ\ TESTOLED.axf" appears,
  
d、打开“STM32_OLED_Demo_STM32F103RCT6_IIC_V1.0\USER”文件夹,找到“OLED.uvproj”文件,双击打开测试程序工程
+
the compilation is successful, as shown in the following figure:
  
e、点击编译按钮,编译整个工程,待出现“FromELF: creating hex file..."..\OBJ\TEST_OLED.axf"”,则说明编译成功,如下图所示:
+
[[file:MC096-035.jpg|750px]]
  
[[文件:MC096-026.jpg|750px]]
+
f.Connect to JTAG and click the download button.When "Programming Done.Verify OK."appears,
  
f、接上JTAG,点击下载按钮,待出现“Programming Done. Verify OK.”,则表示下载成功,如下图所示:
+
the download is successful, as shown in the following figure:
  
[[文件:MC096-027.jpg|750px]]
+
[[file:MC096-036.jpg|750px]]
  
g、OLED模块循环显示4张BMP单色图片则表示测试程序运行成功,操作成功。
+
g.The OLED module cyclically displays four BMP monochrome pictures,which indicates that the test program is running successfully and the operation is successful
  
 
==<font color="blue">Driver download</font> ==
 
==<font color="blue">Driver download</font> ==

Revision as of 09:33, 14 June 2018


语言选择

Languages

➤中文
➤EN


Product picture

MC096-002.jpg MC096-004.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 MC096VW MC096VB MC096VY
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 VCC OLED positive pole of power(3.3V~5V)
2 GND OLED GND of power
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:QD electronic 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
VCC 5V VCC 5V
GND GND GND GND
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.Select any test program to run the test, for example select Example03-show_BMP test program

d.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

e.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

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

MC096-030.jpg

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


C51 platform instructions

1.Wiring instructions

the pin on module the pin on C51 single chip
VCC 5V
GND GND
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 cyclically displays four BMP monochrome pictures,which indicates that the test program is running successfully and the operation is successful


STM32 platform instructions 1.Wiring instructions

the pin on module the pin on STM32 single chip
VCC 5V
GND GND
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 cyclically displays four BMP monochrome pictures,which indicates that the test program is running successfully and the operation is successful

Driver download

baiduyun download:0.96 inch OLED display module data of QD electronic V1.0

Common software description

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

PCtoLCD2002:PCtoLCD2002