USER’S GUIDE ATM4004A Liquid Crystal Display Module CONTENTS 1.0 Mechanical Diagram… … … … … … … … … … … … … … … … .… … … 3 2.0 Absolute Maximum Ratings… … … … … … … … … … … … … … … … 4 3.0 Description of Terminals… … … … … … … … … … … … … … … … … . 4 4.0 Optical Characteristics… … … … … … … … … … … … … … … … … … 5 5.0 Electrical Characteristics… … … … … … … … … … … … … … … … … 5 6.0 Timing Characteristics… … … … … … … … … … … … … … … … … … . 6 7.0 Block Diagram… … … … … … … … … … … … … … … … … … … … … … 7 8.0 Display Commands… … … … … … … … … … … … … … … … … … … 8 9.0 Reliability and Lift Time… … … … … … … … … … … … … … … … … 9 10.0 Display Instruction Table… … … … … … … … … … … … … … … .. 9 11.0 Standard Character Pattern… … … … … … … … … … … … … … … .. 11 2 1.0 Mechanical Diagram 1 2 17 18 PERFORMANCE FEATURES 1.LC Fluid: TN, STN (YELLOW-GREEN) 2.Polarizer: Reflective, Transfletive, Transmissive 3.Backlight: LED 4.Temperature Range: Standard, Wide 5.Controller: S6A0069X01-C0CX A K E-mail:vtronic@china.com ATM4004A VT404 XIAMEN ARROW-TECH ELECTRONIC CO., LTD. TEL. :0592-5620018 FAX.: 0592-5620008 Fax:0592-5550001-12 Tel:0592-5550001 3 2.0 Absolute Maximum Ratings Item Symbol Min Typ Max Unit Operating Temperature (Standard) Top 0 - 50 ºC Storage Temperature (Standard) Tst -20 - 70 ºC Operating Temperature (Wide Temperature) Top -20 - 70 ºC Storage Temperature (Wide Temperature) Tst -30 - 80 ºC Input Voltage Vin Vss Vdd V Supply Voltage For Logic Vdd- Vss 2.7 - 5.5 V Supply Voltage For Lcd Drive Vdd- Vo 3.0 4.6 6.5 V *wide Temperature range is available (operating/storage temperature as wide as -20~+70/-30~+80℃)。 3.0 Description Of Terminals PIN NO. 1 2 3 PIN NAME VSS VDD V0 INPUT/ OUTPUT — — — EXTERNAL CONNECTION Power Supply 4 RS INPUT MPU 5 R/W Input MPU 6 7 VEE E1 — Input MPU MPU 8 E2 Input MPU DB0-DB7 Input MPU 9 / 16 17 / 18 LED “+” Input LED “-” LED BACKLIGHT POWER SUPPLY FUNCTION VSS:GND VDD: +5V VLCD adjustment (need Dismount R12) Register select signal “0”:Instruction register (when writing) Busy flag & address counter (When reading) “1”:Data register (when writing & reading) Read/write select signal “0”for writing , “1”for reading VEE:-5V Operation (data read/write) enable signal Operation (data read/write) enable signal Data bit 0~Data bit 7 LED“+”VOLTAGE TYPE:4.2V MAX : 4.5V LED“-”: GND 4 4.0 Optical Characteristics for TN Type Display Module (T a=25℃, VDD=5.0V±0.25V) ITEM SYMBOL CONDITION MIN TYP MAX UNIT Viewing Angle (Horizontal) θ Cr ≥ 4.0 -25 - - Deg Viewing Angle (Vertical) φ Cr ≥ 4.0 -30 - 30 Deg Contrast Ratio Cr φ=0°, θ=0° - 2 - Response Time (Rise) Tr φ=0°, θ=0° - 120 150 Ms Response Time (Fall) Tf φ=0°, θ=0° - 120 150 Ms for STN Type Display Module (T a=25℃, VDD=5.0V±0.25V) ITEM SYMBOL CONDITION MIN TYP MAX UNIT Viewing Angle (Horizontal) θ Cr ≥ 2.0 -60 - 35 Deg Viewing Angle (Vertical) φ Cr ≥ 2.0 -40 - 40 Deg Contrast Ratio Cr φ=0°, θ=0° - 6 - Response Time (Rise) Tr φ=0°, θ=0° - 150 250 Ms Response Time (Fall) Tf φ=0°, θ=0° - 150 250 Ms 5.0 Electrical Characteristics SYMBOL CONDITION MIN TYP MAX UNIT Input Voltage (High) Vih H Level 2.2 - Vdd V Input Voltage (Low) Vil L Level 0 - 0.6 V 0ºC - 4.8 5.4 25ºC 4.2 4.6 - 50ºC 3.9 4.3 - -20ºC - 6.4 7.2 0ºC - 4.8 - 50ºC - 4.3 - 70ºC 3.7 4.2 - Idd Vdd=5.0v, Fosc=270khz - 1.0 2.0 Ma Led Power Supply Voltage Vfled R=6.8Ω - 4.3 5.0 V Led Power Supply Current Ifled R=6.8Ω - 500 800 Ma ITEM Recommended Lc Driving Voltage (Standard Temp) Recommended Lc Driving Voltage (Wide Temp) Power Supply Current Vdd - Vo Vdd -Vo V V 5 6.0 Timing Characteristics ITEM Enable Cycle Time Enable Pulse Width Enable Rise/Fall Time Rs, R/W Set Up Time Rs, R/W Hold Time Data Delay Time Data Set Up Time Data Hold Time SYMBOL TEST CONDITION Tc Fig. A, Fig. B Tw Fig. A, Fig. B Tr , Tf Fig. A, Fig. B Tsu Fig. A, Fig. B Th Fig. A, Fig. B Td Fig. B Tdsu Fig. A Tdh Fig. A, Fig. B MIN. 500 220 40 10 60 20 TYP. - MAX. 25 120 - UNIT Ns Ns Ns Ns Ns Ns Ns Ns Write Timing Read Timing RS VIH1 VIH1 VIL1 VIL1 tH t SU R/W V IL1 VIL1 tW tF VIH1 E VIH1 VIL1 tR VIL1 t DSU VIL1 tD H VIH1 DB0~DB7 tH VIH1 Valid Data V IL1 VIL1 tC Fig. A Interface Timing (Data Write) RS VIH1 VIH1 VIL1 VIL1 tH tSU V IH1 VIH1 R/W tW E VIH1 tH VIH1 VIL1 t R VIL1 t DSU tD DB0~DB7 tF VIL1 t DH VIH1 VIH1 Valid Data VIL1 VIL1 tC Fig. B Interface Timing (Data Read) 6 7.0 Block Diagram 2. Vdd 1. Vss 3. Vo 4. RS 5. R/W 6.VEE U1 40 ~ 8 U1 & U4 U1 16. DB0 9. DB7 U2 SEG1- 40 U3 SEGMENT SEGMENT 80 80 COM 16 16 LCD 40X4 COM 16 16 U4 7. E1 40 SEG1- 40 8. E2 80 80 SEGMENT SEGMENT U5 U4 U6 A BL+ K BL- LED BACKLIGHT VDD VO VR +5V VSS STANDARD TEMP RANGE VDD VO VR -5V +5V VSS WIDE TEMP RANGE VR = 10KΩ  ̄ 20KΩ 7 VDD-Vo: LCD DRIVING VOLTAGE VR: 10K-20KΩ 8.0 Display command PARAMETER Clear Display RS 0 R/W DB7 0 0 DB6 0 DB5 0 DB4 0 DB3 0 DB2 0 DB1 DB0 0 1 Cursor home 0 Entry Mode Set Display on/off 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 D 1 1/D C * 0 0 0 0 1 S/C R/L * Set DDRAM address to "00H" from AC and return cursor to its original position if shifted. The contents of DDRAM are not changed B Set display(D), cursor(C), and blinking of cursor(B) on/off control bit. 38μs Set cursor moving and display shift control bit, and the direction, without changing of DDRAM data. 38μs * MOVING ENABLE ENTIRE 1 DL 1 Ac5 Ac4 Ac3 Ac2 Ac1 Ac0 SET INTERFACE DATA LENGTH (DL: 8-BIT/4- BIT), NUMBERS OF DISPLAY LINE (N: 2- LINE/1-LINE) AND, DISPLAY FONT TYPE (F:5X10 DOTS/5X8 DOTS) Set DDRAM address in counter Ac6 Ac5 Ac4 Ac3 Ac2 Ac1 Ac0 Set DDRAM address in counter 0 0 0 0 Set CG RAM Address 0 0 0 Set DD RAM Address 0 0 1 N F * 1.52ms S Function Set Read Busy Flug/Address Counter Write "20H" to DDRAM and set DDRAM address to "00H" from AC ASSIGN CURSOR DIRECTION AND THE SHIFT OF DISPLAY Cursor / Display Shift 0 NOTE EXECUTING TIME FOSC=270 KHZ 1.52ms * 0 1 BF Ac6 Ac5 Ac4 Ac3 Ac2 Ac1 Ac0 1 0 D7 D6 D5 D4 D3 D2 D1 D0 1 1 D7 D6 D5 D4 D3 D2 D1 D0 Write Data 38μs 38μs 38μs Whether during internal operation or not can be known by reading BF. The contents of address counter can also be read Write data into internal Read Data 38μs 38μs RAM (DDRAM/CGRAM). Read data from internal 38μs RAM (DDRAM/CGRAM). 8 9.0 Reliability and Life Time 1.Reliability Test EVALUATIONS AND ASSESSMENT* Storage Condition Content Current Consumption Oozing Contrast Other Appearances Operation At High Temperature And Humidity 40ºC,90% Rh,240hrs Twice Initial Value Or Less None More Than 80% Of Initial Value No Abnormality High Temperature Storage 60ºC, 240hrs Twice Initial Value Or Less None More Than 80% Of Initial Value No Abnormality Low Temperature Storage -20ºC, 240hrs Twice Initial Value Or Less More Than 80% Of Initial Value No Abnormality *Evaluations and assessment to be made two hours after returning to room (25ºc±5ºc). *the lcds subjected to the test must not have dew condensation. temperature 2. Liquid crystal panel service life 50,000 hours minimum at 25±10℃,45±20%RH. 10.0 Display Instruction Table EXECUTING COMMAND R R/ DB DB DB DB S W 7 6 5 DB DB DB DB 3 2 1 0 4 CLEAR DISPLAY TIME DESCRIPTION FOSC=250K HZ CLEARS DISPLAY & RETURNS TO 0 0 0 0 0 0 0 0 0 1 ADDRESS 0. 1.64MS RETURNS CURSOR TO ADDRESS 0. CURSOR AT 0 0 0 0 0 0 0 0 1 X HOME ALSO RETURNS THE DISPLAY 1.64MS BEING SHIFTED TO THE ORIGINAL POSITION. DDRAM CONTENTS REMAIN UNCHANGED. ENTRY MODE SET I/D: 0 0 0 0 0 0 0 1 I/D S SET CURSOR MOVING DIRECTION I/D=1: INCREMENT 40µS I/D=0: DECREMENT S: SPECIFY SHIFT OF DISPLAY S=1: THE DISPLAY IS SHIFTED S=0: THE DISPLAY IS NOT SHIFTED 9 DISPLAY ON/OFF DISPLAY D=1: DISPLAY ON 0 0 0 0 0 0 1 D C B CONTROL D=0: DISPLAY OFF CURSOR 40µS C=1: CURSOR ON C=0: CURSOR OFF BRINK B=1: BRINK ON B=0: BRINK OFF CURSOR / DISPLAY 40µS 0 0 0 0 0 1 S/C R/L X X SHIFT MOVES CURSOR OR SHIFTS THE DISPLAY W/O CHANGING DD RAM CONTENTS S/C=0: CURSOR SHIFT (RAM SHIFT (RAM UNCHANGED) S/C=1: DISPLAY UNCHANGED) R/L=1: SHIFT TO THE RIGHT R/L=0: SHIFT TO THE LEFT FUNCTION SET 0 0 0 0 1 DL N F X X SETS DATA BUS LENGTH (DL), # OF DISPLAY LINES (N), AND CHARACTER FONTS (F). 40µS DL=1: 8 BITS F=0: 5X7 DOTS DL=0: 4 BITS F=1: 5X10 DOTS N=0: 1 LINE DISPLAY N=1: 2 LINES DISPLAY SET CG RAM SETS CG RAM ADDRESS. CG RAM 0 0 0 ADDRESS SET DD RAM 0 0 1 1 CHARACTER GENERATOR (CG) DATA RAM ADDRESS AFTER THIS INSTRUCTION. AND RECEIVED SETS DD RAM ADDRESS. DD RAM CURSOR ADDRESS DATA IS SENT AND 40µS RECEIVED AFTER THIS INSTRUCTION. BUSY FLAG / 0 1 B READ ADDRESS COUNTER USED FOR READS BUSY FLAG (BF) AND BOTH DD & CG RAM ADDRESS ADDRESS COUNTER CONTENTS. 40µS F WRITE DATA SENT DISPLAY DATA (DD) RAM ADDRESS / ADDRESS ADDRESS IS 40µS WRITE DATA 1 0 READ DATA WRITES DATA INTO DDRAM OR CGRAM. READ DATA 1 1 46µS 46µS READS DATA FROM DDRAM OR CGRAM. 10 11.0 Standard Character Pattern Note: the character generator ram is the ram with which the user can rewrite character patterns by program. 11