N NHD‐‐C12864G GG‐R RN‐G GBW W CO OG (Chip p‐On‐Gllass) Liq quid Cryystal Diisplay M Module NHD‐‐ C128 864‐ GG‐ R‐ N‐ G‐ B‐ W‐ Newhaven Display 12 28 x 64 Pixelss Model M Reflective No Backlight STTN ‐ Gray 6:00 Optimal V View Wide Tempera W ature RoHS Compliant Newh haven Disp play Intern national, In nc. 2511 Techno ology Drive, SSuite 101 Elggin IL, 60124 Ph: 8 847‐844‐8795 5 Fax: 8847‐844‐87966 www.new whavendisplayy.com h@newhaven ndisplay.com [email protected] om nhtech Document Revision History Revision 0 1 2 3 Date 3/25/2008 9/10/2009 10/8/2009 10/13/2009 4 10/9/2013 Description Initial Release User guide reformat Update pin description Updated Electrical Characteristic Mechanical Drawing, Pin Description, Electrical/Optical Characteristics, 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 ‐ BE BE MC ML L A I Mechanical Drawing 1 2 3 4 A Rev D 1 Date T N F N O C 6 Description E D I B C 5 B C D Date 10/09/13 2 A 3 4 Gen. Tolerance Unit ±0.3mm mm 5 Model: NHD-C12864GG-RN-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 Descripttion and W Wiring Diiagram Pin N No. Symbol 1 2 3 4 5 6 7‐14 4 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ESD‐GN ND /CS1 1 /RESS A0 /WR R /RD D0‐D7 7 VDD VSS VOUTT C3+ C1‐ C1+ C2+ C2‐ C4+ V4 V3 V2 V1 V0 ESD‐GN ND NC External Connection Pow wer Supply MPU MPU MPU MPU MPU MPU Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply Pow wer Supply ‐ Function Desccription Ground (can b be a No Connecct) Active LOW Ch hip Select sign al Active LOW Re eset signal Register Selecct: ‘0’ = Comm and, ‘1’ = Dataa Active LOW W Write signal Active LOW Re ead signal 8‐bit bi‐directional data bus Supply Voltage for LCD and Logic (3.0V) Ground 1.0uF‐2.2uF caap to VSS 1.0uF‐2.2uF caap to C1‐ (Pin‐ 19) 1.0uF‐2.2uF caap to C3+ (Pin‐‐18) and C1+ (PPin‐20) 1.0uF‐2.2uF caap to C1‐ (Pin‐ 19) 1.0uF‐2.2uF caap to C2‐ (Pin‐222) 1.0uF‐2.2uF caap to C2+(Pin‐221) and C4+ (PPin‐23) 1.0uF‐2.2uF caap to C2‐ (Pin‐222) 0.1uF‐1.0uF ccap to VDD or V VSS 0.1uF‐1.0uF ccap to VDD or V VSS 0.1uF‐1.0uF ccap to VDD or V VSS 0.1uF‐1.0uF ccap to VDD or V VSS 0.1uF‐1.0uF ccap to VDD or V VSS Ground (can b be a No Connecct) No Connect Reco ommended LC CD connectorr: 0.5mm pitcch, 30 conducctor FFC. Mollex p/n: 52892‐3095 Backklight connecttor: ‐‐‐ Mattes with: ‐‐‐ [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 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 Optical Characteristics Item Viewing Angle – Top Viewing Angle – Bottom Viewing Angle – Left Viewing Angle – Right Contrast Ratio Response Time (rise) Response Time (fall) Symbol CR Tr Tf Condition CR ≥ 2 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 Tab ble of Com mmands [6] Tim ming Charracteristiccs 0 MPU Inte erface 8080 [7] Example Initialization Code /************************************************************************/ void comm_out(unsigned char c) { CS1 = 0; AO = 0; //LOW = instruction WRT = 0; P1 = c; WRT = 1; CS1 = 1; } /************************************************************************/ void data_out(unsigned char d) { CS1 = 0; AO = 1; //HIGH = data WRT = 0; P1 = d; WRT = 1; CS1 = 1; } /************************************************************************/ 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‐C12864GG DISPLAY INITIALIZATION ********************/ /************************************************************************/ void init() { RDD = 1; WRT = 1; CS1 = 0; RST = 0; delay(150); RST = 1; delay(150); comm_out(0xA2); //added 1/9 bias comm_out(0xA0); //ADC segment driver direction (A0=Normal) comm_out(0xC0); //COM output scan direction (C0=Normal) comm_out(0x25); //resistor ratio comm_out(0x81); //electronic volume mode set comm_out(0x15); //electronic volume register set comm_out(0x2F); //operating mode comm_out(0x40); //start line set comm_out(0xAF); //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