NHD‐C12864GG‐RN‐GBW COG (Chip‐On‐Glass) Liquid Crystal Display Module NHD‐ C12864‐ GG‐ R‐ N‐ G‐ B‐ W‐ Newhaven Display 128 x 64 pixels Model Reflective No backlight STN‐ Gray 6:00 view Wide Temp (‐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 3/25/2008 9/10/2009 10/8/2009 10/13/2009 Description Initial Release User guide reformat Update pin description Updated Electrical Characteristic Functions and Features • • • • • 128 x 64 pixels Built‐in ST7565R (or equivalent) controller 1/65 duty, 1/9 bias 8080 MPU interfaces RoHS Compliant [2] Changed by ‐ BE BE MC Mechanical Drawing Newhaven Display RoHS Compliant Pin Description and Wiring Diagram Pin No. Symbol 1 2 3 4 5 6 7‐14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ESD‐GND /CS1 /RES A0 /WR /RD D0‐D7 VDD VSS VOUT C3+ C1‐ C1+ C2+ C2‐ C4+ V4 V3 V2 V1 V0 ESD‐GND NC External Connection ‐ 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 ‐ ‐ Function Description Active low chip select Active low Reset signal Register Select. 0: instruction; 1: data register Active low Write signal Active low Read signal This is an 8‐bit‐directional data bus Power supply for 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 VSS 0.1uF‐1.0uF cap to VSS 0.1uF‐1.0uF cap to VSS 0.1uF‐1.0uF cap to VSS 0.1uF‐1.0uF cap to VSS No Connect Recommended LCD connector: 0.5mm pitch, 30 conductor FFC. Molex p/n: 52892‐3095 Backlight connector: ‐‐‐ Mates with: ‐‐‐ [4] Electrical Characteristics Item Operating Temperature Range Storage Temperature Range Supply Voltage Supply Current Symbol Top Tst VDD IDD Supply for LCD (contrast) “H” Level input “L” Level input “H” Level output “L” Level output VDD‐V0 Vih Vil Voh Vol Condition Absolute Max Absolute Max Ta=25Ԩ, VDD=3.0V Ta =25℃ Min. ‐20 ‐30 ‐ ‐ Typ. ‐ ‐ 3.0 0.5 Max. +70 +80 3.3 ‐ Unit ⁰C ⁰C V mA ‐ 0.8VDD Vss Vss 8.9 ‐ ‐ ‐ ‐ ‐ VDD 0.2VDD 0.2VDD V V V V V Min. ‐45 ‐ 3 ‐ ‐ Typ. ‐ ±30 4 250 250 Max. +25 ‐ ‐ 300 350 Unit ⁰ ⁰ ‐ ms ms Optical Characteristics Item Viewing Angle ‐ Vertical Viewing Angle ‐ Horizontal Contrast Ratio Response Time (rise) Response Time (fall) Symbol θ2‐ θ 1 Φ CR Tr Tf Condition CR=0 CR=2.0 Φ=0, θ=25 Φ=0, θ=25 Φ=0, θ=25 Controller Information Built‐in ST7565R. Download specification at http://www.newhavendisplay.com/app_notes/ST7565R.pdf [5] [6] Table of Commands [7] Example Initialization Program /************************************************************************/ void comm_out(unsigned int c) { CS1 = 0; AO = 0; //Command LOW = instruction delay(1); WRT = 0; P1 = c; delay(1); WRT = 0; CS1 = 0; delay(5); } /************************************************************************/ void data_out(unsigned int d) { CS1 = 0; //Data High AO = 0; delay(1); WRT = 0; P1 = d; delay(1); WRT = 0; CS1 = 0; } /************************************************************************/ /*************** NHD‐C12864‐GG DISPLAY INITIATION *******************/ /************************************************************************/ void init() { RDD = 0; WRT = 0; CS1 = 0; RST = 0; RST = 0; delay(2); RST = 0; delay(2); comm_out(0xA2); //added 1/9 bias comm_out(0xA0); //ADC segment driver direction (A0=Normal) comm_out(0xC8); //added delay(0); comm_out(0xC0); //COM output scan direction (C0= Normal) comm_out(0x40); //Operating Mode comm_out(0x25); //resistor ratio comm_out(0x81); comm_out(0x15); comm_out(0x2F); comm_out(0xAF); } /************************************************************************/ [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