OLED DISPLAY MODULE
Application Notes
PRODUCT
NUMBER
DD-2832BE-2A with EVK board
Copyright ©2006 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
TABLE OF CONTENTS
1
EVK SCHEMATIC.......................................................................................................... 4
2
SYMBOL DEFINITION ................................................................................................. 5
3
TIMING CHARACTERISTICS .................................................................................... 6
4
CONNECTION BETWEEN OLED AND EVK ........................................................... 7
5
HOW TO USE THE DD-2832BE-2A ............................................................................. 9
5.1
RECOMMENDED INITIAL CODE .................................................................................. 10
Product No.
DD-2832BE-2A
REV. A
Page
2 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
REVISION RECORD
Rev.
Date
A
20-June-06
Product No.
Page
Chapt.
Comment
ECR no.
First Issue
DD-2832BE-2A
REV. A
Page
3 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
1 EVK Schematic
Product No.
DD-2832BE-2A
REV. A
Page
4 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
2 Symbol Definition
Note: The EVK is hard wired to 8080 Parallel interface.
D0-D7:These pins are 8-bit bi-directional data bus to be connected to the MCU’s data bus.
E/RD#:This pin is MCU interface input. When connecting to an 8080-microprocessor, this
pin receives the Read (RD#) signal. Data read operation is initiated when this pin is pulled
low and the chip is selected.
R/W#:This pin is MCU interface input. When 8080 interface mode is selected, this pin will
be the Write (WR#) input. Data write operation is initiated when this pin is pulled low and the
chip is selected.
D/C#:This pin is Data/Command control pin. When the pin is pulled high, the data at D7D0 is treated as display data. When the pin is pulled low, the data at D7-D0 will be transferred
to the command register. For detail relationship to MCU interface signals, please refer to the
timing characteristics diagrams.
RES#:This pin is reset signal input. When the pin is low, initialization of the chip is
executed.
CS#:This pin is the chip select input. The chip is enabled for MCU communication only
when CS is pulled low.
VCC:This is the most positive voltage supply pin of the chip.
VDD:Power Supply pin for logic operation of the driver.
VSS:This is a ground pin. It also acts as a reference for the logic pins and the OLED driving
voltages. It must be connected to external ground.
VCOMH:This is an input pin for the voltage output high level for COM signals. A
capacitor should be connected between this pin and VSS.
NC:Dummy pad. Do not group or short NC pins together.
Product No.
DD-2832BE-2A
REV. A
Page
5 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
3 Timing characteristics
VDD = 2.4 to 3.5V, TA= -40to 85°C
Table 2 8080-Series MPU Parallel Interface Timing Characteristics
Figure 1 8080-series MPU parallel interface characteristics
Product No.
DD-2832BE-2A
REV. A
Page
6 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
4 Connection Between OLED and EVK
Figure 2 EVK PCB and DD-2832BE-2A Module
Figure 3 the DD-2832BE-2A and EVK assembled (Top view)
REV. A
DD-2832BE-2A
Product No.
Page
7 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
Figure 4 control MCU (not supplied ) connected with EVK
Note 1:It is the external most positive voltage supply. In this sample is connected to power
supply.
Product No.
DD-2832BE-2A
REV. A
Page
8 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
5 How to use the DD-2832BE-2A
Reset Set
RES#=0; Delay 10ms; RES#=1
Initial IC
code
Suggest all registers set again
Display on
Clear RAM
Start
sending
data
Product No.
DD-2832BE-2A
REV. A
Page
9 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
5.1 Recommended Initial code
void initial(void)
{
BS1=1; // use 8080 interface
BS2=1;
DC=0;
WR=0;
RD=0;
CS=0;
RES=0;
delay(100);
RES=1;
write_c(0xAE); //display off
write_c(0x81); //set contrast
write_c(0xff); //max current
write_c(0xa8); //set duty
write_c(0x1F); //duty 31
write_c(0xA0); //Set Segment Re-map
write_c(0xd3); //display offset
write_c(0x20); //set 32
write_c(0x40); //Start line
write_c(0xC8); //Set COM Output Scan Direction
write_c(0xda); //Set COM pins hardware configuration
write_c(0x12); //Set COM pins hardware configuration
write_c(0xD9); //Set precharge
write_c(0xf1); //precharge=fh , discharge=1h
write_c(0xDB); //Set VcomH
write_c(0x49); //VcomH=73
write_c(0xA4); //Normal Mode
write_c(0xA6); //No Inverse
write_c(0xAF); //display on
}
void write_c(unsigned char ins_c)
{
DC=0;
CS=0;
RD=1; /*tell system only write*/
WR=0;
d_bus=ins_c;
WR=1;
CS=1;
DC=1;
}
Product No.
DD-2832BE-2A
REV. A
Page
10 / 11
Copyright ©2005 DENSITRON TECHNOLOGIES plc. All rights reserved. – Proprietary Data
void write_d(unsigned char ins_d)
{
DC=1;
CS=0;
RD=1; /*tell system only write*/
WR=0;
d_bus=ins_d;
CS=1;
WR=1;
DC=1;
}
void delay(int count)
{
int i,j;
for(i=0;i
很抱歉,暂时无法提供与“EVK-CONNECT-022”相匹配的价格&库存,您可以联系我们找货
免费人工找货