G12864-IE
128X64 DOTS GRAPHIC LCD MODULE
USERS MANUAL
Contents
1. Precautions in Use of LCM
2. General Specification
3. Absolute Maximum Ratings
4. Electrical Characteristics
5. Backlight Information
6. Optical Characteristics
7. Interface Pin Function
8. Counter Drawing and Block Diagram
9. Timing Characteristics
10. Display Control Instruction
11. Detailed Explanation
1. Precautions in Use of LCD Module
(1) Avoid applying excessive shocks to the module or making any alterations or modifications to it.
(2) Dont make extra holes on the printed circuit board, modify its shape or change the components of
LCD Module.
(3) Dont disassemble the LCD Module.
(4) Dont operate it above the absolute maximum rating.
(5) Dont drop, bend or twist LCD Module.
(6) Soldering : only to the I/O terminals.
(7) Storage : pleasse storage in anti-static electricity container and clean environment.
2. General Specification
Item Standard value Unit
Number of dots 128 64 dots
Module dimension 80.0(W) 70.0(H) 13.6(T) mm
View area 72.0(W) 40.0(H) mm
Active area 66.52(W) 33.24(H) mm
Dot size 0.48(W) 0.48(H) mm
Dot pitch 0.52(W) 0.52(H) mm
LCD type STN, positive, transflective yellow green
View direction 6 oclock
Backlight Yellow green LED
3. Absolute Maximum Ratings
Item Symbol Min. Typ. Max. Unit
Operating Temperature TOP -20 +70
Storage Temperature TST -30 +80
Input Voltage VI 0 VCC V
Supply Voltage For Logic VDD 0 6.7 V
Supply Voltage For LCD VDD-VLCD 0 16.7 V
Supply Voltage For LCD VOUT -5 V
2
4. Electrical Characteristics
Item Symbol Condition Min. Typ. Max. Unit
Supply Voltage For Logic VDD-VSS 4.5 5.0 5.5 V
Ta=-20 10.5 V
Supply Voltage For LCD VDD-V0 Ta=25 9.0 V
Ta=+70 7.5 V
Input High Vol VIH 0.7 VDD VDD V
Input Low Vol VIL 0 0.3VDD V
Output High Vol VOH 2.4 V
Output Low Vol. VOL 0.4 V
Supply Current IDD 3.0 mA
5. Backlight Information
Specification
Parameter Symbol Min Typ Max Unit Test condition
Supply Current ILED 330 660 mA V=4.2V
Supply Voltage V 4.2 4.6 V
Reverse Voltage VR 10 V
Luminous
IV 186.6 CD/M2 ILED =330mA
Intensity
Wave Length p 570 nm ILED =330mA
Life Time 100000 Hr. V4.6V
Color Yellow Green
3
6. Optical Characteristics
Item Symbol Condition Min Typ Max Unit
(V) CR2 10 105 deg.
View Angle
(H) CR2 -30 30 deg.
Contrast Ratio CR 3
T rise 200 300 ms
Response Time
T fall 200 300 ms
6.1 Definitions
View Angles Contrast Ratio
Z ( Visual angle direction ) Brightness at selected state ( BS )
CR =
Brightness at non-selected state ( Bns )
Selected state
Brightness (%)
Non-selected state
LCD
X
Bs
Y Bns
( Best visual angle direction ) Operating voltage for LCD driving
Response time
Nonselected Condition Selected Condition Nonselected Condition
90 %
Brightness
100 %
10 %
tr td
Rise Time Decay Time ( fall time tf )
4
7. Interface Pin Function
Pin No. Symbol Level Description
1 VSS 0V Ground
2 VDD 5.0V Supply voltage for logic
3 VO (Variable) Operating voltage for LCD
4 D/I H/L H: Data , L: Instruction
5 R/W H/L H: Read (MPUModule) , L :Write (MPUModule)
6 E H Enable signal
7 DB0 H/L Data bit 0
8 DB1 H/L Data bit 1
9 DB2 H/L Data bit 2
10 DB3 H/L Data bit 3
11 DB4 H/L Data bit 4
12 DB5 H/L Data bit 5
13 DB6 H/L Data bit 6
14 DB7 H/L Data bit 7
15 CS1 L Select Column 1 ~ Column 64
16 CS2 L Select Column 65 ~ Column 128
17 RST L Reset signal
18 Vout Negative Voltage
19 A Power supply for LED backlight ( + )
20 K Power supply for LED backlight ( - )
5
8. Contour Drawing & Block Diagram
1 Vss
80.0 0.5
2 Vdd
3.5 72.0(VA) 13.6 MAX
66.52(AA) 3 Vo
2.0
6.24 9.0
4 D/I
5 R/W
18.38
15.0
9.9
6 E
7 DB0
35.0
8 DB1
9 DB2
33.24(AA)
40.0(VA)
70.0 0.5
10 DB3
50.2
66.0
11 DB4
12 DB5
13 DB6
14 DB7
20 20- 1.0 PTH 1 15 CS1
16 CS2
39.5 4- 2.5 PTH 1.6
2.5 17 RES
1.8 4- 4.0 PAD
15.37 P2.54*19=48.26
18 Vout
2.5 74.0 LED B/L 19 A
20 K
0.52
0.48
The non-specified tolerance of dimension is 0.3mm.
0.48
0.52
DOT SIZE
LED B/L Drive Method
[Link] from A,K
KS0107
Com Driver
Com1~64
128X64 DOT R
A
B/L
K
FR,M,CL,CLK1,CLK2
[Link] from pin19, pin20
KS0108 KS0108
Seg1~64 Seg65~128
R R
Seg Driver Seg Driver A
Power Circuit
B/L
Vdd K
Bias and
D/I Vo VR LCM
MPU Vss 10K~20K
R/W
E
80 series
or DB0~DB7
68 series
Generator
CS1 Vee
N.V.
CS2
RES
6
9. Timing Characteristics
MPU Interface
Characteristic Symbol Min Typ Max Unit
E cycle tcyc 1000 ns
E high level width twhE 450 ns
E low level width twlE 450 ns
E rise time tr 25 ns
E tall time tf 25 ns
Address set-up time tas 140 ns
Address hold time tah 10 ns
Data set-up time tdsw 200 ns
Data delay time tddr 320 ns
Data hold time (write) tdhw 10 ns
Data hold time (read) tdhr 20 ns
tcyc
twIE
2.0V
E 0.8V twhE
tr tf
tas tah
R/W
tas tah
2.0V
CS1,CS2,D/I 0.8V
tdsw tdhw
DB0 to DB7
MPU Write Timing
7
tcyc
twIE
2.0V
E 0.8V
twhE
tr tf
2.0V
R/W 0.8V tas tah
tas tah
2.0V
CS1,CS2,D/I 0.8V
tddr tdhr
DB0 to DB7
MPU Read Timing
10. Display Control Instruction
The display control instructions control the internal state of the KS0108B. Instruction is received from
MPU to KS0108B for the display control. The following table shows various instructions.
Instruction D/I R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function
Controls the display on or off.
Internal status and display
Display ON/OFF 0 0 0 0 1 1 1 1 1 0/1
RAM data are not affected.
0:OFF, 1:ON
Sets the Y address in the Y
Set Address 0 0 0 1 Y address (0~63)
address counter.
Set Page Sets the X address at the X
0 0 1 0 1 1 1 Page (0 ~7)
(X address) address register.
Indicates the display data
Display Start Line 0 0 1 1 Display start line(0~63) RAM displayed at the top of
the screen.
Writes data (DB0:7) into dis-
play data RAM. After writing
Write Display Data 1 0 Display Data
instruction, Y address is in-
creased by 1 automatically.
Reads data (DB0:7) from dis-
Read Display Data 1 1 Display Data
play data RAM to the data bus.
Read status.
BUSY
0: Ready
R
B 1:In operation
E
U ON/ ON/OFF
Status Read 0 1 0 S 0 0 0 0
S OFF 0:Display ON
E
Y 1:Display OFF
T
RESET
0:Normal
1:Reset
8
11. Detailed Explanation
A. Write Command/Data
Display On/Off
R/W D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 1 1 1 1 1 D
The display data appears when D is 1 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 D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 1 1 A A A A A 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 D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 1 0 1 1 1 A A 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 D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 1 A A A A A 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.
Write Display Data
R/W D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 1 D D D D D D D D
Writes 8-bit data DDDDDDDD ( binary ) into the display data RAM. The Y address is
increased by 1 automatically.
9
B. Read Data/Status
Read Display Data
R/W D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
1 1 D D D D D D D 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.
Status Read
R/W D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
1 0 Busy 0 On/Off RESET 0 0 0 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.
When on/off is 0, the display is in on condition.
RESET
RESET = 1 shows that the system 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.
10
Figure 1. Dot Map
Figure 2 Vertical Scroll
11