LCD 128x64 Tech12864G
LCD 128x64 Tech12864G
LCD MODULE
1.Features
!" Display format: 128*64 dots matrix graphic
!" STN yellow-green mode
!" Easy interface with 8-bit MPU
!" Low power consumption
!" LED back-light
!" Viewing angle: 6 O’clock
!" Driving method: 1/64 duty, 1/6.7 bias
!" LCD driver IC: KS0108BKS0107B
!" Connector: Zebra
2.Mechanical Specifications
20
PIN 1 2 3 4 5 6 7 8 9 10
SIGNAL VSS VDD V0 RS R/W E DB0 DB1 DB2 DB3
PIN 11 12 13 14 15 16 17 18 19 20
SIGNAL DB4 DB5 DB6 DB7 CS1 RST VEE CS2 NC NC
V: A 2/10 2002/01/04
TECH12864G
5.Block diagram
CON1~64
IC3 LCD PANEL
SEG1~64 SEG65~128
V0
VDD
VSS
IC1 IC2
VEE
5 8 3 5 8 3
DB0~DB7 8
/RET
CS1
R/W E RS 3
CS2
A LED BACKLIGHT MODULE
K
6.Description Of Terminals
19~20 NC
V: A 3/10 2002/01/04
TECH12864G
7.Optical Characteristics
, VDD=5.0V)
#"STN type display module (Ta=25
Item Symbol Condition Min. Typ. Max. Unit
Viewing angle -60 - 35
Cr2 Deg
-40 - 40
Contrast ratio Cr - 6 - -
Response time (rise) Tr - - 150 250
ms
Response time (fall) Tr - - 150 250
8. Electrical Characteristics
#"DC Characteristics
Parameter Symbol Conditions Min. Type Max. Unit
Supply voltage for LCD VDDVO
TA=25 14 V
Input voltage VDD 4.7 5.5 V
Supply current IDD
VDD=5.0V;TA=25 3.5 5.0 mA
Input leakage current ILKG 1.0 A
“H” level input voltage VIH 2.2 VDD V
Twice initial value
“L” level input voltage VIL 0 0.6 V
or less
“H” level output voltage VOH LOH= -0.25mA 2.4 V
“L” level output voltage VOL LOL=1.6mA 0.4 V
Backlight supply voltage VF 4.2 4.5 V
#"AC. Characteristics
VDD=5V, Ta=25
Characteristic Symbol Min Typ Max Units
E Cycle tC 1000 - -
E High Level Width tWH 450 - -
E Low Level Width tWL 450 - -
E Rise Time tR - - 25
E Fall Time tF - - 25
Address Set-Up Time tASU 140 - - ns
Address Hold Time tAH 10 - -
Data Set-Up Time tSU 200 - -
Data Delay Time tD - - 320
Data Hold Time (Write) tDHW 10 - -
Data Hold Time (Read) tDHR 20 - -
V: A 4/10 2002/01/04
TECH12864G
tC
t WL
E
t WH
tR tF
t AH
R/W t ASU
t ASU
t AH
CS1,CS2
CS,RS
tDSU
t DHW
DB0~DB7
tC
tWL
E
tWH
tR tF
R/W
tASU tAH
tASU tAH
CS1,CS2
CS,RS
tD tWH
DB0~DB7
V: A 5/10 2002/01/04
TECH12864G
#"I/O Buffer
Input buffer controls the status between the enable and disable of chip. Unless the CS1B to
CS3 is in active mode, Input or output of data and instruction does not execute. Therefore
internal state is not change. But RSTB and ADC can operate regardless CS!B-CS3.
#"Input register
Input register is provided to interface with MPU which is different operating frequency. Input
register stores the data temporarily before writing it into display RAM.
When CS1B to CS3 are in the active mode, R/W and RS select the input register. The data
from MPU is written into input register. Then writing it into display RAM. Data latched for
falling of the E signal and write automatically into the display data RAM by internal
operation.
#"Output register
Output register stores the data temporarily from display data RAM when CS1B, CS2B
and CS3 are in active mode and R/W and RS=H, stored data in display data RAM is latched
in output register. When CS1B to CS3 is in active mode and R/W=H , RS=L, status data
(busy check) can read out.
To read the contents of display data RAM, twice access of read instruction is needed. In
first access, data in display data RAM is latched into output register. In second access,
MPU can read data, which is latched. That is to read the data in display data RAM, it needs
dummy read. But status read is not needed dummy read.
RS R/W Function
L Instruction
L
H Status read (busy check)
L Data write (from input register to display data RAM )
H
H Data read (from display data RAM to output register)
#"Reset
The system can be initialized by setting RSTB terminal at low level when turning power on,
receiving instruction from MPU. When RSTB becomes low, following procedure is occurred.
1. Display off
2. Display start line register become set by 0.(Z-address 0)
While RSTB is low, No instruction except status read can by accepted. Therefore, execute
other instructions after making sure that DB4= (clear RSTB) and DB7=0 (ready) by status
read instruction.
The conditions of power supply at initial power up are shown in table 1.
4.5[V]
VDD
tRS
tR
RSTB 0.7VDD
0.3VDD
#"Busy flag
Busy flag indicates that KS0108B is operating or no operating. When busy flag is high,
KS0108B is in internal operating.
When busy flag is low, KS0108B can accept the data or instruction.
DB7indicates busy flag of the KS0108B.
Busy Flag
V: A 7/10 2002/01/04
TECH12864G
matrix of liquid crystal display, write datra1. The other way, off state, writes 0.
Display data RAM address and segment output can be controlled by ADC signal.
ADC=H => Y-address 0: S1~Y address 63: S64
ADC=L => Y-address 0: S64~Yaddress 63: S1
ADC terminal connect the VDD or VSS.
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 RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function
Read Reads data (DB[7:0]) from
Display 1 1 Read data display data RAM to the data
Date bus.
Writes data (DB[7:0]) into the
Write DDRAM. After writing
Display 1 0 Write data instruction, Y address is
Date incriminated by 1
automatically
Reads the internal status
BUSY
0: Ready
1: In operation
ON
Status Bus Re- ON/OFF
0 1 0 /OF 0 0 0 0
Read y set 0: Display ON
F
1: Display OFF
RESET
0: Normal
1: Reset
Set
Sets the Y address at the
Address (Y 0 0 0 1 Y address (0~63)
column address counter
address)
Indicates the Display Data
Set Display
0 0 1 1 Display start line (0~63) RAM displayed at the top of
Start Line
the screen.
Set
Sets the X address at the X
Address (X 0 0 1 0 1 1 1 Page (0~7)
address register.
address)
Controls the display ON or
OFF. The internal status and
Display
0 0 0 0 1 1 1 1 1 0/1 the DDRAM data is not
On/off
affected.
0: OFF, 1: ON
V: A 8/10 2002/01/04
TECH12864G
#"Display On/Off
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 1 1 1 1 1 D
#"Status Read
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
BUS ON/OF RESE
1 0 0 0 0 0 0
Y F T
!"BUSY
When BUSY is 1, the Chip is executing internal operation and no instructions are
accepted.
V: A 9/10 2002/01/04
TECH12864G
When BUSY is 0, the Chip is ready to accept any instructions.
!"ON/OFF
When ON/OFF is 1, the display is on.
When ON/OFF is 0, the display is off.
!"RESET
When RESET is 1, the system is being initialized.
In this condition, no instructions except status read can be accepted.
When RESET is 0, initializing has finished and the system is in the usual operation
condition.
V: A 10/10 2002/01/04