LCD Module User Manual

LCD Module User Manual
LCD Module User Manual
Customer
:
Ordering Part Number
: TG12864B-01XA0
DRAWING NO.
:
Approved By Customer:
Date:
Approved By
Checked By
TG12864B-01XA0_A00
Prepared By
Page 1 of 14
Contents
1. Precautions in Use of LCD Module-------------------------------------P3
2. General Specification-------------------------------------------------------P3
3. Absolute Maximum Ratings-----------------------------------------------P3
4. Electrical Characteristics--------------------------------------------------P4
5. Backlight Information------------------------------------------------------P4
6. Optical Characteristics-----------------------------------------------------P5
7. Interface Description--------------------------------------------------------P6
8. Contour Drawing & Block Diagram--------------------------------------P7
9. Application circuit----------------------------------------------------------P8
10. Timing Characteristics-------------------------------------------------P9
11. Display Control Instruction-------------------------------------------P10
11.1 Instruction table----------------------------------------------------P10
11.2 Instruction description --------------------------------------------P10
12. Reset and Initializing flow chart --------------------------------------P12
13. Display Data RAM map ------------------------------------------------P13
14. Revision records------------------------------------------------------P14
TG12864B-01XA0_A00
Page 2 of 14
1. Precautions in Use of LCD Module
(1) Avoid applying excessive shocks to the module or making any alterations or modifications to it.
(2) Don’
t make extra holes on the printed circuit board, modify its shape or change the components of LCD
Module.
(3) Don’
t disassemble the LCM.
(4) Don’
t operate it above the absolute maximum rating.
(5) Don’
t drop, bend or twist LCM.
(6) Soldering: only to the I/O terminals.
(7) Storage: please storage in anti-static electricity container and clean environment.
2. General Specification
Item
Standard Value
Unit
Number of dots
128X64 Dots
Dots
Outline dimension
93.0(W)X70.0(H)X11.8MAX.(T)
mm
View area
71.8(W)X38.8(H)
mm
Active area
66.52(W)X33.24(H)
mm
Dot size
0.48(W)X0.48(H)
mm
Dot pitch
0.52(W)X0.52(H)
mm
LCD type
STN,Yellow-Green,Positive,Transflective
View direction
6 o’
clock
Backlight
Side LED, Yellow-Green
3. Absolute Maximum Ratings
ITEM
SYMBOL
MIN.
Operating Temperature
TOP
-20
Storage Temperature
TST
MAX.
UNIT
-
+70
℃
-30
-
+80
℃
VI
0
-
VDD
V
Supply Voltage For Logic
VDD
0
-
5.5
V
Supply Voltage For LCD
VDD-VEE
0
-
5
V
Input Voltage
TG12864B-01XA0_A00
TYP.
Page 3 of 14
4. Electrical Characteristics
ITEM
SYMBOL
Logic Voltage
VDD-VSS
Supply Voltage for LCD
VDD-VO
CONDITION
MIN.
TYP.
MAX.
UNIT
4.7
5.0
5.2
V
---
9.0
---
V
Ta=25℃
Input High Volt.
VIH
-
2.0
-
VDD
V
Input Low Volt.
VIL
-
-0.3
-
0.8
V
Output High Volt.
VOH
IoH=-0.2mA
2.4
-
VDD
V
Output Low Volt.
VOL
IoL=1.6mA
0
-
0.4
V
---
6.4
---
mA
Supply Current
IDD(Include DC/DC)
-
5. Backlight Information
Absolute Maximum ratings (Ta=25℃)
Symbol
Conditions
Rating
Unit
Reverse voltage
Vr
-
5.0
V
Reverse Current
Ir
Vr=5.0V
80
uA
Item
Absolute maximum forward
Current
Ifm
Peak forward current
Ifp
Power dissipation
mA
120
240
mA
Pd
340
mW
Operating Temperature Range
Toper
-30~+70
℃
Storage Temperature Range
Tst
-40~+80
℃
I msec plus 10% Duty Cycle
0
Electrical/Optical Characteristics (Ta=25 C,If=80mA)
Color
Yellow-Green
Wavelength
λp(nm)
---
Spectral line half
widthΔλ(nm)
---
TG12864B-01XA0_A00
Operating
Voltage(v)
(±0.15V)
Forward
Current (mA)
3.1
80
Page 4 of 14
6. Optical Characteristics
ITEM
View Angle
Contrast Ratio
Response Time
SYMBOL CONDITION
MIN
TYP
MAX
UNIT
(V)θ
CR≧2
10
-
120
deg.
(H)φ
CR≧2
-45
-
45
deg.
CR
-
-
5
-
-
T rise
-
-
200
300
ms
T fall
-
-
150
200
ms
TG12864B-01XA0_A00
Page 5 of 14
7.Interface Description
Pin No.
Symbol
Level
Description
1
VSS
0V
2
VDD
5.0V
Power supply for Logic
3
VO
(Variable)
Driving voltage for LCD
4
RS
H/L
H:Data
L :Instruction
5
RW
H/L
H:Read
L:Write
6
E
H/L
Enable signal
7~14
DB0~DB7
H/L
Data bus. DB7 is used for Busy Flag .
15
CS1
H
Selection for IC1,active High
16
CS2
H
Selection for IC2,active High
17
/RST
L
Reset signal, active low
18
VEE
-10V
Negative voltage output
19
A(LED+)
+5.0V
Anode of LED Backlight
20
K(LED-)
0V
Ground
Cathode of LED Backlight
TG12864B-01XA0_A00
Page 6 of 14
8. Contour Drawing & Block Diagram
TG12864B-01XA0_A00
Page 7 of 14
9. Application circuit
8080-series MPU Circuit
6800-series MPU Circuit
TG12864B-01XA0_A00
Page 8 of 14
10. Timing Characteristics
Characteristic
E cycle
E high level width
E low level width
E rise time
E fall time
Address set -up time
Address hold time
Data set -up time
Data delay time
Data hold time (write)
Data hold time (read)
Symbol
Min.
Type
tC
1000
450
450
-
-
140
10
200
-
10
20
-
-
-
-
-
-
-
-
-
-
-
tWH
tWL
tR
tF
tASU
tAH
tDSU
tD
tDHW
tDHR
TG12864B-01XA0_A00
Max.
-
-
-
25
25
-
-
-
320
-
-
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Page 9 of 14
11. Display Control Instruction
The display control instructions control the internal state of the TG12864B. Instruction is
received from MPU to TG12864B for the display control. The following table shows various
instructions.
11.1 Instruction table
Instruction
RS
RW
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Function
Controls the display ON or
Display
On/off
OFF.The
0
0
0
0
1
1
1
1
1
D
internal
status
and the DDRAM data is
not affected.
D=0: OFF;
Set Address
(Y address)
Set Page
(X address)
0
0
0
1
0
0
1
0
Sets the Y address at the
Y address (0~63)
1
1
1
D=1: ON
column address counter
Sets the X address at the
Page (0~7)
X address register.
Indicates the Display Data
Display
Start Line
Status
0
1
1
Display start line (0~63)
RAM displayed at the top
of the screen.
0
Read
0
1
Busy
0
ON/
OFF
Reset
0
0
0
0
Reads the internal status
BUSY
0: Ready
1: In operation
ON/OFF
0: Display ON
1: Display OFF
RESET
0: Normal
1: Reset
Writes data (DB[0:7]) into
the DDRAM. After writing
Write
Display
1
0
Write data
instruction, Y address is
incriminated by 1
Data
automatically
Read
Reads data (DB[0:7]) from
Display
1
1
Read data
display data RAM to the
Data
data bus.
11.2 Instruction Description
1) Display On/Off
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.
RS
0
R/W
0
DB7
0
DB6
0
DB5
1
DB4
1
DB3
1
DB2
1
DB1
1
TG12864B-01XA0_A00
DB0
D
Page 10 of 14
2) Set Address (Y Address)
Y address (AC0~AC5) of the display data RAM is set in the Y address counter.
An address is set by instruction and increased by 1 automatically by read or write
operations of display data.
RS
0
R/W
0
DB7
0
DB6
1
DB5
AC5
DB4
AC4
DB3
AC3
DB2
AC2
DB1
AC1
DB0
AC0
3) Set Page (X Address)
X address (AC0~AC2) of the display data RAM is set in the X address register.
Writing or reading to or from MPU is executed in this specified page until the next page is
set.
RS
0
R/W
0
DB7
1
DB6
0
DB5
1
DB4
1
DB3
1
DB2
AC2
DB1
AC1
DB0
AC0
4) Display Start Line (Z Address)
Z address (AC0~AC5) of the display data RAM is set in the display start line register and
displayed at the top of the screen.
When the display duty cycle is 1/64 or others (1/32~1/64), the data of total line number of
LCD screen, from the line specified by display start line instruction, is displayed.
RS
0
R/W
0
DB7
1
DB6
1
DB5
AC5
DB4
AC4
DB3
AC3
DB2
AC2
DB1
AC1
DB0
AC0
5) Status Read
RS
0
R/W
1
DB7
BUSY
DB6
0
DB5
ON/OFF
DB4
RESET
DB
0
DB2
0
DB
0
DB0
0
BUSY
When BUSY is 1, the Chip is executing internal operation and no instructions are
accepted.
When BUSY is 0, the Chip is ready to accept any instructions.
l ON/OFF
When ON/OFF is 1, the display is off.
When ON/OFF is 0, the display is on.
l 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.
6) Write Display Data
Writes data (D0~D7) into the display data RAM.After writing, Y address is increased by 1
automatically.
l
RS
1
R/W
0
DB7
D7
DB6
D6
DB5
D5
DB4
D4
DB3
D3
DB2
D2
DB1
D1
DB0
D0
7) Read Display Data
Reads data (D0~D7) from the display data RAM.
After reading instruction, Y address is increased by 1 automatically.
RS
1
R/W
1
DB7
D7
DB6
D6
DB5
D5
DB4
D4
DB3
D3
DB2
D2
DB1
D1
TG12864B-01XA0_A00
DB0
D0
Page 11 of 14
12.Reset and Initializing flow chart
12.1 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.
— Display off
— Display start line register become set by 0. (Z-address 0)
While RSTB is low, No instruction except status read can be accepted. Therefore, execute
other instructions after making sure that DB4 = 0 (clear RSTB) and DB7 = 0 (ready) by
status read instruction. The Conditions of power supply at initial power up are shown as
follow.
Item
Symbol
Min
Typ
Max
Unit
tRS
tR
1.0
-
-
200
uS
nS
Reset time
Rise time
12.2 Initializing flow chart
Power on
Wait for more than 30mS
Set Display Start Line to first line
RS
RW
D7
D6
D5
D4
D3
D2
D1
D0
0
0
1
1
0
0
0
0
0
0
Set Display ON
RS
RW
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
0
1
1
1
1
1
1
Initialization End
TG12864B-01XA0_A00
Page 12 of 14
13. Display Data RAM map
TG12864B-01XA0_A00
Page 13 of 14
14. Revision records
Version Ref.pages
A00
All
Revision Items
New release
TG12864B-01XA0_A00
Date
2005.03.01
Page 14 of 14
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement