LM3037
LM3037
d
a
a
t
l
l
LM3037
LCD Module User Manual
d
a
a
t
l
l
Table of Content
1. Basic Specifications.......................................................................................................... ...... 3
1.1 Display Specifications ............................................................................................................................................ 3
1.2 Mechanical Specifications...................................................................................................................................... 3
1.3 Block Diagram........................................................................................................................................................ 3
2. Terminal Functions............................................................................................................ ...... 4
3. Absolute Maximum Ratings.................................................................................................... 5
4. Electrical Characteristics.................................................................................................... .... 5
4.1 DC Characteristics ................................................................................................................................................. 5
4.2 LED Backlight Circuit Characteristics..................................................................................................................... 5
4.3 AC Characteristics (Parallel Mode Interface) ......................................................................................................... 6
4.4 AC Characteristics (Serial Mode Interface) ............................................................................................................ 7
4.5 Reset Timing .......................................................................................................................................................... 7
5. Function Specifications ....................................................................................................... ... 8
5.1 Resetting the LCD module ..................................................................................................................................... 8
5.2 Adjusting the LCD display contrast ........................................................................................................................ 8
5.3 Using Parallel interface .......................................................................................................................................... 9
5.4 Using Serial interface ............................................................................................................................................. 9
5.5 Display Memory Map ........................................................................................................................................... 10
5.6 Display Control Instructions ................................................................................................................................. 12
6. Design and Handling Precaution ......................................................................................... 14
d
a
a
t
l
l
1. Basic Specifications
1.1 Display Specifications
1) LCD Display Mode : STN, Positive, Transflective
2) Display Color : Display Data = “1” : Deep Blue (*1)
: Display Data = “0” : Gray (*2)
3) Viewing Angle :6H
4) Driving Method : 1/33 duty, 1/5bias
5) Back Light : White LED backlight
Note:
*1. Color tone may slightly change by Temperature and Driving Condition
*2. The Color is defined as the inactive / background color
ST7920 or ST7921 or
equivalent equivalent
DB0 - DB7
RS, R/W, E
PSB, /RST
V0
VDD LCD Panel
VSS 144 x 32 pixels
d
a
a
t
l
l
2. Terminal Functions
Pin Pin Descriptions
I/O
No. Name Parallel mode (PSB=H) Serial Mode (PSB=L)
1 VSS Power Negative Power Supply, Ground (0V)
2 VDD Power Positive Power Supply
3 V0 Power Power Supply for Driving LCD
4 RS Input Register Select Chip Select
(CS) RS=H; data read or write CS=H; chip enable
RS=L; Instruction data write or status busy flag read CS=L; chip disable
R/W Input Read write control Serial Input Data
5 (SID) R/W=H; data or status read
R/W=L; data or command write
E Input Enable trigger Serial Clock
6 (SCLK)
7 DB0 I/O 8-bit Data Bus Leave open
: : : In 4 bit mode, or pull-up
14 DB7 I/O DB3~DB0 could leave open or pull-up
15 BLA Power Positive Power for LED backlight
16 NC - No Connection (keep open)
17 PSB Interface selection:
PSB=L; serial mode
PSB=H; 8 or 4 bit parallel bus mode
18 /RST Input System reset; low active
d
a
a
t
l
l
4. Electrical Characteristics
4.1 DC Characteristics
VSS=0V, VDD =5.0V, TOP =25°C
Items Symbol MIN. TYP. MAX. Unit Applicable Pin
Operating Voltage VDD 4.8 5.0 5.2 V VDD
Input High Voltage VIH1 0.8VDD - VDD V RS, R/W, E, PSB, /RST,
Input Low Voltage VIL1 VSS - 0.4 V DB0-DB7
Output High Voltage VOH1 0.7VDD - VDD V DB0-DB7 (IOH = -0.1mA)
Output Low Voltage VOL1 VSS - 0.6 V DB0-DB7 (IOL = 0.1mA)
Operating Current IDD - 1.3 3.5 mA VDD
BLA
VSS
d
a
a
t
l
l
Item Sy M T M Un
E cycle time mb tc I 1500 Y - A - it ns
E high level width tpw 175 - - ns
E rise time tr - - 20 ns
E fall time tf - - 20 ns
Address set-up time tas 13 - - ns
Address hold time tah 25 - - ns
Data set-up time tdsw 50 - - ns
Data delay time tddr - - 125 ns
Data hold time th 25 - - ns
d
a
a
t
l
l
d
a
a
t
l
l
5. Function Specifications
5.1 Resetting the LCD module
The LCD module should be initialized by setting /RST terminal at low level when turning the
power on. See the reset timing section for details.
LCD Module
VDD
V0
d
a
a
t
l
l
In 4-bit bus interface, every 8-bit instruction/data is separated into two parts. First, transfer
the higher 4-bit (D7~D4). Then transfer the lower 4-bit (D3~D0). They are transferred via
DB7~DB4 terminals, where DB3~DB0 are not in used (leave open or pull high)
As the controller IC have no instruction buffer area, it must wait for the previous instruction to
finish before sending the next one. Thus transferring multiple instruction/data, execution time
must be considered.
Starting a transmission, a start byte is required. It consists 5 consecutive “1” follow with a “0”,
a RS bit (Register Select bit) and a “0”.
Then the 8bit instruction/data should be separated into 2 groups. First group is DB7 to DB4,
followed by 4 consecutive “0”. The second group is DB3 to DB0 with 4 consecutive “0”.
See the Data Sequence Diagram for details.
d
a
a
t
l
l
:
1Eh
1Fh
CGRAM Address Map
: 144x32 pixels
:
:
1Eh
1Fh
GDRAM Address Map
Note:
*1. The mapping is based on Vertical Scroll Displacement Address=0.
*2. Another 144x32 Graphics Display RAM space is not showed. They could be displayed by adjusting the Vertical Scroll
Displacement Address value.
d
a
a
t
l
l
9 x 2 Characters
DDRA
M
Standard ASCII code (8bit, 00h~7Fh) could write into DDRAM for displaying the half-width
Character (8x16 dots font). The display character should be on grid only, and two characters
should be written in each write operation.
80h
Addres
18 x 2 Characters
DDRA
M
d
a
a
t
l
l
R/
Instructions Function
D
Fill DDRAM with “20h”, and set DDRAM addres
CLEAR 0 0 0 0 0 0 0 0 0 1
counter (AC) to “00h”
s
Set DDRAM address counter (AC) to “00h” put
HOME 0 0 0 0 0 0 0 0 1 X and cursor to origin.
DDRAM content no changed.
Set cursor position and display shift when
write or read operation
doing
ENTRY I/D=1, cursor move right AC increased by 1
0 0 0 0 0 0 0 1 I/D S
MODE I/D=0, cursor move left, AC decreased by 1
S=1, toggle the shift of the entire display
(based on I/D defined direction)
D=1, display ON
D=0, display OFF
DISPLAY C=1, cursor ON
0 0 0 0 0 0 1 D C B
ON/OFF C=0, cursor OFF
B=1, blink ON
B=0, blink OFF
CURSOR
DISPLAY Cursor position and display shift control.
0 0 0 0 0 1 S/C R/L X X DDRAM content no changed.
CONTROL
DL=1, 8bit interface
FUNCTION DL=0, 4bit interface
0 0 0 0 1 DL X RE X X
SET RE=1, extended instruction
RE=0; basic instruction
SET CGRAM Set CGRAM address to address counter (AC)
0 0 0 1 AC5 AC4 AC3 AC2 AC1 AC0 Make sure that in extended instruction SR=0 (scroll
ADDR or RAM address selected)
SET DDRAM Set DDRAM address to address counter (AC),
0 0 AC7 AC6 AC5 AC4 AC3 AC2 AC1 AC0 where AC7 =1, AC6=0
ADDR
READ BF & Read busy flag (BF) for completion of the internal
0 1 BF AC6 AC5 AC4 AC3 AC2 AC1 AC0 operation, also read out the value of AC
ADDR
Write data to internal RAM
(DDRAM, CGRAM,GDRAM)
WRITE RAM 1 0 D7 D6 D5 D4 D3 D2 D1 D0
For 16bit data, write two byte consecutively,
high byte first, then low byte
Read data from internal RAM
READ 1 1 D7 D6 D5 D4 D3 D2 D1 D0 (DDRAM, CGRAM,GDRAM)
Note:
*1. For the details of the Display Control Instructions, please refer to Sitronix ST7920 series datasheet.
*2. RE is the selection byte of basic and extended instruction set. Each time altering the value of RE, it will remain. Thus, it is not
necessary to set RE every time when using the same group of instruction set
d
a
a
t
l
l
D
Instructions Function
R/
D
SCROLL or
SR=1, enable vertical scroll position
RAM ADDR 0 0 0 0 0 0 0 0 1 SR SR=0, enable CGRAM address (basic instruction)
SELECT
Toggle 1 out of 4 line (in DDRAM) of the display to
REVERSE 0 0 0 0 0 0 0 1 R1 R0 be reversed (initial value is R1 ,R0 = 0, 0
DL=1, 8bit interface
EXTENDED DL=0, 4bit interface
RE=1, extended instruction
FUNCTION 0 0 0 0 1 DL X RE G 0
RE=0; basic instruction
SET G=1, graphics display ON
G=0, graphics display OFF
SET Set the address of vertical scroll
SCROLL 0 0 0 1 AC5 AC4 AC3 AC2 AC1 AC0 Make sure extended instruction SR=1, enable
ADDR vertical scroll position.
SET 0 0 1 AC6 AC5 AC4 AC3 AC2 AC1 AC0 Set the GDRAM address to address counter (AC)
Dual byte command should write consecutively
GRAPHICS
RAM ADDR 0 0 1 0 0 0 AC3 AC2 AC1 AC0 First byte set the Vertical address AC6~AC0
Second byte set the Horizontal address AC3~AC0
Note:
*1. For the details of the Display Control Instructions, please refer to Sitronix ST7920 series datasheet.
*2. RE is the selection byte of basic and extended instruction set. Each time altering the value of RE, it will remain. Thus, it is not
necessary to set RE every time when using the same group of instruction set
d
a
a
t
l
l
1. The LCD panel is made by glass. Any mechanical shock (eg. dropping form high place)
will damage the LCD module.
2. Do not add excessive force on the surface of the display, which may cause the Display
color change abnormally.
3. The polarizer on the LCD is easily get scratched. If possible, do not remove the LCD
protective film until the last step of installation.
4. Never attempt to disassemble or rework the LCD module.
5. Only Clean the LCD with Isopropyl Alcohol or Ethyl Alcohol. Other solvents (eg. water)
may damage the LCD.
6. When mounting the LCD module, make sure that it is free form twisting, warping and
distortion.
7. Ensure to provide enough space (with cushion) between case and LCD panel to
prevent external force adding on it, or it may cause damage to the LCD or degrade the
display result.
8. Only hold the LCD module by its side. Never hold LCD module by add force on the heat
seal or TAB.
9. Never add force to component of the LCD module. It may cause invisible damage or
degrade of the reliability.
10. LCD module could be easily damaged by static electricity. Be careful to maintain an
optimum anti-static work environment to protect the LCD module.
11. When peeling off the protective film from LCD, static charge may cause abnormal
display pattern. It is normal and will resume to normal in a short while.
12. Take care and prevent get hurt by the LCD panel sharp edge.
13. Never operate the LCD module exceed the absolute maximum ratings.
14. Keep the signal line as short as possible to prevent noisy signal applying to LCD
module.
15. Never apply signal to the LCD module without power supply.
16. IC chip (eg. TAB or COG) is sensitive to the light. Strong lighting environment could
possibly cause malfunction. Light sealing structure casing is recommend.
17. LCD module reliability may be reduced by temperature shock.
18. When storing the LCD module, avoid exposure to the direct sunlight, high humidity, high
temperature or low temperature. They may damage or degrade the LCD module