NHD-C12864KGZ-FSW-GBW COG (Chip-On-Glass) Liquid Crystal Display Module NHDC12864KGZFSWGBW- Newhaven Display 128 x 64 Pixels Model Transflective Side White LED Backlight STN - Gray 6:00 Optimal View Wide Temperature RoHS Compliant Newhaven Display International, Inc. 2661 Galvin Court, Elgin IL, 60124 Ph: 847-844-8795 Fax: 847-844-8796 www.newhavendisplay.com [email protected] [email protected] Document Revision History Revision 0 1 2 3 Date 3/19/2012 5/11/2012 4/4/2013 10/3/2013 Description Initial Release Electrical and Optical characteristics updated Backlight mating connector part number updated Example Code updated Functions and Features 128 x 64 pixels Built-in ST7565R controller 1/65 duty, 1/9 bias Parallel 8080 MPU interface RoHS Compliant [2] Changed by AK AK ML L A I Mechanical Drawing 1 2 3 4 A Rev D A K O C 1 6 Date T N F N C BLACK Description E D I B RED 5 B C D Date 04/04/13 Unit Gen. Tolerance ±0.3mm 2 A 3 4 mm 5 Model: NHD-C12864KGZ-FSW-GBW 6 The drawing contained herein is the exclusive property of Newhaven Display International, Inc. and shall not be copied, reproduced, and/or disclosed in any format without permission. [3] Pin Description and Wiring Diagram Pin No. 1 2 3 4 5 6 7-14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Symbol ESD-GND /CS1 /RES A0 /WR /RD D0-D7 VDD VSS VOUT C3+ C1C1+ C2+ C2C4+ V4 V3 V2 V1 V0 ESD-GND NC External Connection Power Supply MPU MPU MPU MPU MPU MPU Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply - Function Description Ground (can be a No Connect) Active LOW Chip Select signal Active LOW Reset signal Register Select: ‘0’ = Command, ‘1’ = Data Active LOW Write signal Active LOW Read signal 8-bit bi-directional data bus Supply Voltage for LCD and Logic (3.0V) Ground 1.0uF-2.2uF cap to VSS 1.0uF-2.2uF cap to C1- (Pin-19) 1.0uF-2.2uF cap to C3+ (Pin-18) and C1+ (Pin-20) 1.0uF-2.2uF cap to C1- (Pin-19) 1.0uF-2.2uF cap to C2- (Pin-22) 1.0uF-2.2uF cap to C2+(Pin-21) and C4+ (Pin-23) 1.0uF-2.2uF cap to C2- (Pin-22) 0.1uF-1.0uF cap to VDD or VSS 0.1uF-1.0uF cap to VDD or VSS 0.1uF-1.0uF cap to VDD or VSS 0.1uF-1.0uF cap to VDD or VSS 0.1uF-1.0uF cap to VDD or VSS Ground (can be a No Connect) No Connect Recommended LCD connector: 0.5mm pitch, 30 conductor FFC. Molex p/n: 52892-3095 Backlight connector: A2001H-2P Mates with: A2001WR-2P, A2001WR-S-2P, A2001WV-2P, A2001WV-S-2P [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 Top Tst VDD IDD VDD-V0 Vih Vil Voh Vol Condition Absolute Max Absolute Max Ta=25℃,VDD=3.0V Ta =25℃ - Min. -20 -30 3.0 0.8*VDD VSS 0.8*VDD VSS Typ. 3.0 0.5 9.0 - Max. +70 +80 3.3 VDD 0.2*VDD VDD 0.2*VDD Unit ⁰C ⁰C V mA V V V V V VLED ILED VLED=3.0V 3.0 - 45 3.2 - V mA Optical Characteristics Item Viewing Angle – Top Viewing Angle – Bottom Viewing Angle – Left Viewing Angle – Right Contrast Ratio Response Time (rise) Response Time (fall) Symbol Condition CR ≥ 2 CR Tr Tf Min. 3 - Typ. 25 45 30 30 4 250 250 Max. 300 350 Controller Information Built-in ST7565R controller. Please download specification at http://www.newhavendisplay.com/app_notes/ST7565R.pdf [5] Unit ⁰ ⁰ ⁰ ⁰ ms ms Timing Characteristics 8080 MPU Interface (VDD=3.3V) [6] Table of Commands [7] Example Initialization Code /************************************************************************/ void comm_out(unsigned char c) { CS1 = 0; AO = 0; WRT = 0; P1 = c; WRT = 1; CS1 = 1; } //LOW = command /************************************************************************/ void data_out(unsigned char d) { CS1 = 0; AO = 1; WRT = 0; P1 = d; WRT = 1; CS1 = 1; } //HIGH = data /************************************************************************/ void disp() { unsigned int i, j; unsigned char page=0xB0; for(i=0;i<8;i++) //fill display with checkerboard pattern { comm_out(0x10); //set column address comm_out(0x00); //set column address comm_out(page); //set page address for(j=0;j<64;j++) { data_out(0xAA); data_out(0x55); } page++; } } /************************************************************************/ [8] /************************************************************************/ /**************** NHD-C12864KGZ DISPLAY INITIALIZATION *******************/ /************************************************************************/ void init() { RDD = 1; WRT = 1; CS1 = 0; RST = 0; delay(150); RST = 1; delay(150); comm_out(0xA2); comm_out(0xA0); comm_out(0xC0); comm_out(0x25); comm_out(0x81); comm_out(0x15); comm_out(0x2F); comm_out(0x40); comm_out(0xAF); //added 1/9 bias //ADC segment driver direction (A0=Normal) //COM output scan direction (C0=Normal) //resistor ratio //electronic volume mode set //electronic volume register set //operating mode //start line set //display ON delay(10); } /************************************************************************/ [9] 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 , 96hrs 1,2 +70⁰C, 96hrs 2 -20⁰C , 96hrs 1,2 +40⁰C , 90% RH , 96hrs 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 See Terms & Conditions at http://www.newhavendisplay.com/index.php?main_page=terms [10] Note +80⁰C , 96hrs 3