Professional Documents
Culture Documents
MGL5128 128x64 Graphic LCD Module User Manual: January 2005
MGL5128 128x64 Graphic LCD Module User Manual: January 2005
User Manual
Version: 1.0.0
January 2005
Table of Contents
I Precautions in use of LCD Modules 2
II General Specification 2
III Absolute Maximum Ratings 2
IV Electrical Characteristics 3
V Optical Characteristics 4
VI Interface Description 5
VII Contour Drawing & Block Diagram 6
VIII Timing Characteristics 7
IX Display Control Instruction 8
X Detailed Explanation 9
XI Quality Assurance 12
XII Reliability 13
XIII Backlight Information 14
Related Document:
WiRobot SDK API Reference Manual
Ta=-20• - - 9.5 V
Supply Voltage For LCD VDD-V0 Ta=25• - 8.5 - V
Ta=+70• 7.5 - - V
Contrast Ratio CR - - 3 - -
T rise - - 200 300 ms
Response Time
T fall - - 200 300 ms
10%
Cr Max
Cr = Lon / Loff 90%
100%
Vop
Driving Voltage(V) Tr Tf
Conditions :
Operating Voltage : Vop Viewing Angle( , ) : 0°, 0°
Frame Frequency : 64 HZ Driving Waveform : 1/N duty , 1/a bias
θb
θf
θ
φl φr
φ φ
θ
Copyright © Dr Robot Inc. 2004
4
VI. Interface Description
55.0(AA) 4 DB0
2.9
0.5
20.12
7 DB3
25.35
A 8 DB4
27.48(AA)
32.6(VA)
9 DB5
52.7 0.5
128*64 Dots
44.6
49.7
10 DB6
K 11 DB7
10.16
12 CS1
13 CS2
1 20
14 RST
20- 1.0PTH 2- 2.5 PTH 1.0
20- 1.8PAD 2- 4.0 PAD 15 R/W
2.5
DOT SIZE
R
A
Com Driver
B/L
Com1~64
K
128X64 DOT
2.Drive from pin19, pin20
FR,M,CL,CLK1,CLK2
Vdd LCM
Bias and
E Vo VR
MPU Vss 10K~20K 3.Drive from Vdd,Vss
D/I
R/W
80 series -10V
or DB0~DB7 R
68 series A
CS1
B/L
K
CS2
LCM
RST
(Contrast performance may go down.)
External contrast adjustment.
Recommanded Value
VLED= 4.1V, ILED= 100mA
R= 8Ω(1/2 Watt)
tc y c
tw IE
2 .0 V
E 0 .8 V tw h E
tr tf
ta s ta h
R /W
ta s ta h
2 .0 V
C S 1 ,C S 2 ,D /I 0 .8 V
td s w td h w
D B 0 to D B 7
2 .0 V
R /W 0 .8 V ta s ta h
ta s ta h
2 .0 V
C S 1 ,C S 2 ,D /I 0 .8 V
td d r td h r
D B 0 to D B 7
R/
D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function
Instruction W
Controls the display on or off.
Display Internal status and display
0 0 0 0 1 1 1 1 1 0/1
ON/OFF 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
0 0 1 1 Display start line(0~63) RAM displayed at the top of
Line
the screen.
Read status.
R BUSY 0:Ready
B
E 1:In operation
U ON/
Status Read 0 1 0 S 0 0 0 0 ON/OFF 0:Display ON
S OFF
E 1:Display OFF
Y
T RESET 0:Normal
1:Reset
Writes data (DB0:7)into
display data RAM. After
Write Display
1 0 Display Data writing instruction, Y address
Data
is increased by 1
automatically.
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 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.
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
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.
Status Read
R/W D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 Busy 0 On/Off RESET 0 0 0 0
Copyright © Dr Robot Inc. 2004
9
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 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.
R/W D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
1 0 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.
Read Display Data
R/W D/I DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
1 1 D D D D 1 D D D
Reads out 8-bit data DDDDDDDD ( binary ) from the display data RAM. Then Y address is increased by 1
automatically.
Y A d d re ss
0 1 2 61 62 63
D B 0
to page 0
X = 0
D B 7
D B 0
to page 1
X = 1
D B 7
D B 0
to page 6 X = 6
D B 7
D B 0
to page 7 X = 7
D B 7
COM 1 COM 1
COM 2 COM 2
COM 3 COM 3
COM 4 COM 4
COM 5 COM 5
COM 6 COM 6
COM 7 COM 7
COM 8 COM 8
COM 9 COM 9
COM 60 COM 60
COM 61 COM 61
COM 62 COM 62
COM 63 COM 63
COM 64 COM 64
COM 1 COM 1
COM 2 COM 2
COM 3 COM 3
COM 4 COM 4
COM 5 COM 5
COM 6 COM 6
COM 7 COM 7
COM 8 COM 8
COM 9 COM 9
COM 60 COM 60
COM 61 COM 61
COM 62 COM 62
COM 63 COM 63
COM 64 COM 64
VS=800V,RS=1.5kΩ
Static electricity Endurance test applying the electric stress to
CS=100pF ——
test the terminal.
1 time
***Supply voltage for logic system=5V. Supply voltage for LCD system =Operating voltage at 25℃
Reverse Voltage VR - 5 - V -