NHD‐12864AZ‐FL‐GBW Graphic Liquid Crystal Display Module NHD‐ 12864‐ AZ‐ F‐ L‐ G‐ B‐ W‐ Newhaven Display 128 x 64 pixels Model Transflective Yellow/Green LED backlight STN‐ Gray 6:00 View Wide Temperature (‐20°C ~ +70°C) RoHS Compliant Newhaven Display International, Inc. 2511 Technology Drive, Suite 101 Elgin IL, 60124 Ph: 847‐844‐8795 Fax: 847‐844‐8796 www.newhavendisplay.com [email protected] [email protected] [1] Document Revision History Revision 0 1 2 3 Date 6/24/2009 4/2/2010 5/6/2010 5/21/2010 Description Initial Release User guide reformat Block diagram/initialization updated Updated Pin Out and Electrical Characteristics Functions and Features • • • • • 128x64 pixels Built‐in KS0108B Controller +5.0V power supply 1/64 duty, 1/9 bias RoHS Compliant [2] Changed by ‐ BE BE MC Mechanical Drawing Newhaven Display Gray Backlight Driver: KS0108 120mA NHD-12864AZ-FL-GBW Pin Description and Wiring Diagram Pin No. Symbol 1 2 3 4 5 6 7‐14 15 16 17 18 19 20 VSS VDD V0 D/I R/W E DB0‐DB7 CS1 CS2 /RES VEE LED+ LED‐ External Connection Power Supply Power Supply Adj Power Supply MPU MPU MPU MPU MPU MPU MPU Power Supply Power Supply Power Supply Function Description Ground Power supply for Logic (+5.0V) Power Supply for contrast (approx. ‐3.7V) Register select: 1=Data, 0=Instruction Read/Write select signal, R/W=1: Read R/W: =0: Write Operation enable signal. Falling edge triggered. This is an 8‐bit‐directional data bus Chip Selection: CS1=H, CS2=L Æ select IC1 (left side) CS1=L, CS2=H Æ select IC2 (right side) Active LOW Reset signal Negative voltage output (‐5.0V) Power for LED backlight (+5.0V via on‐board resistor) Ground for Backlight Recommended LCD connector: 2.54mm pitch pins Backlight connector: on LCD connector [4] Electrical Characteristics Item Operating Temperature Range Storage Temperature Range Supply Voltage Supply Current Supply for LCD (contrast) “H” Level input “L” Level input “H” Level output “L” Level output Backlight Supply Voltage Backlight Supply Current Symbol Condition Top Absolute Max Tst Absolute Max VDD IDD Ta=25°, VDD=5.0V VDD‐V0 Ta=25° Vih Vil Voh Vol Vled Iled Vled=5.0V, R=68Ω Min. ‐20 ‐30 4.7 ‐ ‐ ‐ Symbol AH AH AV AV Cr Tr Tf Min. ‐ ‐ ‐ ‐ Typ. ‐ ‐ 5.0 2.5 8.7 5.0 120 Max. +70 +80 5.5 ‐ VDD 0.6 0.4 ‐ ‐ Unit ⁰C ⁰C V mA V V V V V V mA Typ. 35 60 40 40 6 150 150 Max. ‐ ‐ ‐ ‐ 250 250 Unit ⁰ ⁰ ⁰ ⁰ ms ms 2.2 0 2.4 Optical Characteristics Item Viewing Angle ‐ Vertical (top) Viewing Angle‐ Vertical (bottom) Viewing Angle‐ Horizontal (left) Viewing Angle ‐ Horizontal (right) Contrast Ratio Response Time (rise) Response Time (fall) Condition Cr ≥ 2 Cr ≥ 2 Cr ≥ 2 Cr ≥ 2 Controller Information Built‐in KS0108B. Download specification at http://www.newhavendisplay.com/app_notes/KS0108.pdf [5] Table of Commands Instruction RS RW Read Display Date 1 1 Write Display Date 1 DB7 DB6 DB5 0 DB4 DB3 DB2 DB1 DB0 Function Read data Reads data (DB[7:0]) from display data RAM to the data bus. Write data Writes data (DB[7:0]) into the DDRAM. After writing instruction, Y address is incriminated by 1 automatically Reads the internal status BUSY 0: Ready 1: In operation Status Read 0 1 Bus y 0 ON/ OFF ON/OFF Reset 0 0 0 0 0: Display ON 1: Display OFF RESET 0: Normal 1: Reset Set Address (Y address) 0 0 0 1 Y address (0~63) Set Display Start Line 0 0 1 1 Display start line (0~63) Indicates the Display Data RAM displayed at the top of the screen. Set Address (X address) 0 0 1 0 1 Sets the X address at the X address register. Display On/off 0 0 0 0 1 1 1 1 1 Sets the Y address at the column address counter Page (0~7) 1 1 0/1 Controls the display ON or OFF. The internal status and the DDRAM data is not affected. 0: OFF, 1: ON [6] Timing Characteristics tC t WL E t WH tR tF t AH t ASU R/W t ASU t AH CS1,CS2 CS,RS t DSU t DHW DB0~DB7 MPU Write timing tC tWL E tWH tR tF R/W tASU tAH tASU tAH CS1B,CS2B CS3,RS tWH tD DB0~DB7 MPU Read timing 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 tC tWH tWL tR tF tASU tAH tSU tD tDHW tDHR Min 1000 450 450 140 10 200 10 20 [7] Typ - Max 25 25 320 - Unit ns Example Initialization Program '------------------------------------------------------------------------------'DB0-DB7 7-14 P1 'CS2 16 P3.6 'CS1 15 P3.1 'RST 17 P3.2 'R/W 5 P3.7 'D/I 4 P3.0 'E 6 P3.4 '------------------------------------------------------------------------------Sub Init Reset P3.2 Set P3.2 Reset P3.4 Reset P3.0 Reset P3.7 Reset P3.6 Reset P3.1 A = &H3F Call Comleft 'display on Call Comright 'display on End Sub '------------------------------------------------------------------------------Sub Comleft P1 = A Set P3.6 Reset P3.0 Set P3.4 Reset P3.4 Reset P3.6 End Sub Sub Comright P1 = A Set P3.1 Reset P3.0 Set P3.4 Reset P3.4 Reset P3.1 End Sub Sub Writeleft P1 = A Set P3.6 Set P3.0 Set P3.4 Reset P3.4 Reset P3.6 End Sub Sub Writeright P1 = A Set P3.1 Set P3.0 Set P3.4 Reset P3.4 Reset P3.1 End Sub '------------------------------------------------------------------------------- [8] Quality Information Test Item Content of Test High Temperature storage Endurance test applying the high storage temperature for a long time. Endurance test applying the low storage temperature for a long time. Endurance test applying the electric stress (voltage & current) and the high thermal stress for a long time. Endurance test applying the electric stress (voltage & current) and the low thermal stress for a long time. Endurance test applying the electric stress (voltage & current) and the high thermal with high humidity stress for a long time. Endurance test applying the electric stress (voltage & current) during a cycle of low and high thermal stress. Endurance test applying vibration to simulate transportation and use. Low Temperature storage High Temperature Operation Low Temperature Operation High Temperature / Humidity Operation Thermal Shock resistance Vibration test Static electricity test Test Condition Endurance test applying electric static discharge. 2 ‐30⁰C , 48hrs 1,2 +70⁰C , 48hrs 2 ‐20⁰C , 48hrs 1,2 +40⁰C , 90% RH , 48hrs 1,2 0⁰C,30min ‐> 25⁰C,5min ‐> 50⁰C,30min = 1 cycle 10 cycles 10‐55Hz , 15mm amplitude. 60 sec in each of 3 directions X,Y,Z For 15 minutes VS=800V, RS=1.5kΩ, CS=100pF One time Note 1: No condensation to be observed. Note 2: Conducted after 4 hours of storage at 25⁰C, 0%RH. Note 3: Test performed on product itself, not inside a container. Precautions for using LCDs/LCMs See Precautions at www.newhavendisplay.com/specs/precautions.pdf Warranty Information and Terms & Conditions http://www.newhavendisplay.com/index.php?main_page=terms [9] Note +80⁰C , 48hrs 3