G12864C LCD Module Manual
G12864C LCD Module Manual
Contents
1. 2. 3. 4. 5. 6. 7. 8. 9. Precautions in Use of LCM General Specification Absolute Maximum Ratings Electrical Characteristics Optical Characteristics Power Supply for LCD Module Counter Drawing & Block Diagram Interface Pin Function Timing Characteristics
10. Display Control Instruction 11. Detailed Explanation 12. Backlight Information
2. General Specification
ITEM Number of dots Outline dimension View area Active area Dot size Dot pitch LCD type View direction Backlight STANDARD VALUE 128 64 78.0 (W) 70.0 (H) 14.3 (T) 62.0(W) 44.0(H) 56.3(W) 38.38(H) 0.42(W) 0.58(H) 0.44(W) 0.60(H) UNIT dots mm mm mm mm mm
4. Electrical Characteristics
ITEM Logic Voltage Supply Voltage For LCD Input High Volt. Input Low Volt. Output High Volt. Output Low Volt. Supply Current SYMBOL VDD-VSS CONDITION Ta=-20C VDD-VLCD Ta=25C Ta=+70C VIH VIL VOH VOL IOP MIN. 4.5 8.0 0.7VDD 0 2.4 TYP. 5.0 9.0 8.0 MAX. 5.5 10.0 VDD 0.3VDD 0.4 UNIT V V V V V V V V mA
5.Optical Characteristics
ITEM View Angle Contrast Ratio Response Time SYMBAL CONDITION MIN (V) (H) CR T rise T fall CR2 CR2 10 -30 TYP 5 200 150 MAX 105 30 300 200 UNIT deg. deg. ms ms
5.1 Definitions
View Angles Contrast Ratio
Brightness at selected state ( BS ) Brightness at non-selected state ( Bns ) Selected state CR =
f l
b = 180 X
= 270 X
= 90X
Brightness ( %)
Non-selected state
Bs Bns
= 0X
Response time
Nonselected Condition
Selected Condition
Nonselected Condition
90 %
Brightness
100 %
10 %
4
tr Rise Time
2.54
2.54
H1Max H2
20
4- 1.0 PTH A
128X64 Dots
K 2.25
5.0
68.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
CS1 CS2 GND VDD VLC D/I R/W E DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 RST VEE A K
0.44 0.42
28.0
H2 9.7
0.6 0.58
DOT SIZE
128X64 DOT
KS0108 Seg1~64 KS0108 Seg65~128
Com Driver
A K
B/L
FR,M,CL,CLK1,CLK2
Seg Driver
Seg Driver
MPU
80 series or 68 series
A B/L K
VR 10K or 20K
LCM
3.Drive from Vdd,Vss
N.V. Generator
A B/L K
LCM
Optional External contrast adjustment. (Contrast performance may go down.)
Recommanded Value (1) VLED= 4.1V, ILED= 140mA R= 5.7[(1/2 Watt) (2) VLED= 4.2V, ILED= 480mA R= 1.7[(1/2 Watt)
(Variable) Operating voltage for LCD H/L H/L H H/L H/L H/L H/L H/L H/L H/L H/L L -5V 4.2V 0V H: Data , L: Instruction H: Read(MPUModule) , L :Write(MPUModule) Enable signal Data bit 0 Data bit 1 Data bit 2 Data bit 3 Data bit 4 Data bit 5 Data bit 6 Data bit 7 Reset the LCM -5V output LED + LED -
9. Timing Characteristics
MPU Interface Characteristic E cycle E high level width E low level width E rise time E tall time Address set-up time Address hold time Data set-up time Data delay time Data hold time (write) Data hold time (read) Symbol tcyc twhE twlE tr tf tas tah tdsw tddr tdhw tdhr Min 1000 450 450 140 10 200 10 20 Typ Max 25 25 320 Unit ns ns ns ns ns ns ns ns ns ns ns
tcyc E
2.0V 0.8V
tf
R/W
0.8V
tdsw
tdhw
tcyc twIE E
2.0V 0.8V
twhE tr
2.0V 0.8V
tf tah tah
2.0V
R/W
tas tas
0.8V
tddr
tdhr
Status Read
B U S Y
Display Data
The display data appears when D is and disappears when D is 0. Though the data is not on the screen with D = 0, it remains in the display data RAM. Therefore, you can make it appear by changing D = 0 into D = 1. Display Start Line R/W 0 D/I 0 DB7 1 DB6 1 DB5 A DB4 A DB3 A DB2 A DB1 A DB0 A
Z address AAAAAA (binary) of the display data RAM is set in the display start line register and displayed at the top of the screen. Figure 2. shows examples of display ( 1/64 duty cycle ) when the start line = 0-3. When the display duty cycle is 1/64 or more (ex. 1/32, 1/24 etc.), the data of total line number of LCD screen, from the line specified by display start line instruction, is displayed. Set Page ( X Address ) R/W 0 D/I 0 DB7 1 DB6 0 DB5 1 DB4 1 DB3 1 DB2 A DB1 A DB0 A
X address AAA ( binary ) of the display data RAM is set in the X address register. After that, writing or reading to or from MPU is executed in this specified page until the next page is set. See Figure 1. Set Y Address R/W 0 D/I 0 DB7 0 DB6 1 DB5 A DB4 A DB3 A DB2 A DB1 A DB0 A
Y address AAAAAA ( binary ) of the display data RAM is set in the Y address counter. After that, Y address counter is increased by 1 every time the data is written or read to or from MPU. Status Read R/W 0 Busy When busy is 1, the LSI is executing internal operations. No instruction are accepted while busy is 1, so you should make sure that busy is 0 before writing the next instruction. ON/OFF Shows the liquid crystal display condition: on condition or off condition. When on/off is 1, the display is in off condition.
10
D/I 0
DB7 Busy
DB6 0
DB5
DB4
DB3 0
DB2 0
DB1 0
DB0 0
On/Off RESET
When on/off is 0, the display is in on condition. RESET RESET = 1 shows that the system is being initialized. In this condition, no instructions except status read can be accepted. RESET = 0 shows that initializing has system is in the usual operation condition. Write Display Data R/W 0 D/I 0 DB7 D DB6 D DB5 D DB4 D DB3 D DB2 D DB1 D DB0 D
Writes 8-bit data DDDDDDDD (binary) into the display data RAM. The Y address is increased by 1 automatically. Read Display Data R/W 0 D/I 0 DB7 D DB6 D DB5 D DB4 D DB3 1 DB2 D DB1 D DB0 D
Reads out 8-bit data DDDDDDDD (binary) from the display data RAM. Then Y address is increased by 1 automatically. One dummy read is necessary right after the address setting. For details, refer to the explanation of output register in Function of Each Block.
page 1
X = 1
page 6
X = 6
page 7
X = 7
Figure 1.
11
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
60 61 62 63 64
60 61 62 63 64
Start line = 0
Start line = 1
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
60 61 62 63 64
60 61 62 63 64
Start line = 3
Figure 2.
12
Start line = 4
Yellow Green
13