NHD-C128128BZ-FSW-GBW COG (Chip-On-Glass) Liquid Crystal Display Module NHDC128128BZFSWGBW- Newhaven Display 128 x 128 pixels Model Transflective Side White LED Backlight STN-Gray 6:00 view Wide Temp (-20°C ~ +70°C) 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 4 Date 6/17/2007 9/23/2009 10/14/2009 11/20/2009 3/4/2011 Description Initial Release User guide reformat Updated Electrical Characteristic Updated backlight supply current Updated table of commands Functions and Features • • • • • 128 x 128 pixels Built-in ST7528 controller +3.0V power supply 1/128 duty cycle; 1/12 bias RoHS Compliant [2] Changed by BE MC MC AK 30 Specification: 1). Driving: 1/128 Duty, 1/12 Bias, VLCD: 13.5V 2). Viewing Direction: 6 o’clock 3). Display mode: STN/Positive/Transflective/Gray mode 4). Operating temp. : Storage temp. : 5). Driver: ST7528 Vdd:3V 6). Edge Backlight: White color, 3~3.3V, Current: 75~90mA 7). RoHS Compliant 1 NHD-C128128BZ-FSW-GBW Newhaven Display Pin Description and Wiring Diagram Pin No. 1 2 3 4 5 6 7 8 9-16 17,18 19,20 21 22 23 24 25 26 27 28 29 30 Symbol PS0 PS1 PS2 CSB RST A0 R/W /WR E /RD DB0-DB7 VDD Vss VOUT VIN V4 V3 V2 V1 V0 VR INTRS NC External Connection Input Input Input MPU MPU MPU MPU MPU MPU Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Input - Function Description Parallel/serial data input select input (see Parallel/Serial Select table) IIC not available (tie low) Active LOW Chip select Active LOW Reset signal Register select signal. A0=1: Data, A0=0: Command 6800 Mode: Read/Write select signal. R/W=1: Read R/W: =0: Write 8080 Mode: Active LOW Write Signal 6800 Mode: Active HIGH Enable Signal 8080 Mode: Active LOW Read Signal Bi-directional, three-state data bus lines Supply Voltage for logic (3.0V) Ground Voltage booster circuit – connect to 1uF cap to Vss or VDD Tie to VOUT 1.0uF-2.2uF cap to VSS 1.0uF-2.2uF cap to VSS 1.0uF-2.2uF cap to VSS 1.0uF-2.2uF cap to VSS 1.0uF-2.2uF cap to VSS No Connect Internal resistor select pin: VDD=Enabled No Connect Recommended LCD connector: 0.5mm pitch, 30 pin FFC. Molex p/n: 52892-3095 Backlight connector: GHR-02V-S Mates with: BM02B-GHS-T [4] Parallel/Serial Select Table PS2 PS1 PS0 Interface mode L L L L L H L H H H L L Parallel 80 Parallel 68 3Line Serial 4Line Serial Data/ Command A0 A0 A0 Data DB0 to DB7 DB0 to DB7 SID (DB7) SID (DB7) *Cannot read data from RAM in 4-line, 3-line, or IIC interface. *In 4-line or 3-line interface, DB0-DB5, E, and RW must be tied High or Low *In IIC or 3-line interface, A0 must be tied High or Low 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 Backlight supply voltage Backlight supply current VDD-V0 Vih Vil Voh Vol VLED ILED Optical Characteristics Item Viewing Angle - Vertical Viewing Angle - Horizontal Contrast Ratio Response Time (rise) Response Time (fall) Symbol θ Φ CR Tr Tf Condition Absolute Max Absolute Max Ta=25°, VDD=3.0V Ta =25℃ VLED=3.0V Condition Cr≥2 - Controller Information Read/ Write RD/WR E/RW Write only Write only Min. -20 -30 - Typ. 3.0 1.5 Max. +70 +80 2.5 Unit ⁰C ⁰C V mA 2.2 0 2.4 - 13.5 3.0 60 VDD 0.6 0.4 75 V V V V V V mA Min. -60 -40 - Typ. 6 150 150 Max. +35 +40 250 250 Unit ⁰ ⁰ ms ms Built-in ST7528 controller. Please download specification at http://www.newhavendisplay.com/app_notes/ST7528.pdf [5] Serial clock SCLK (DB6) SCLK (DB6) [6] Table of Commands [7] [8] Example Initialization Program /*************************************************************/ /*************************************************************/ void write_command(unsigned char datum) { A0=0; /*Instruction register*/ E=1; /*Read inactive*/ bus=datum; /*put data on port 1*/ CSB=0; /*Chip select active*/ RW=0; /*Write active*/ RW=1; /*Write inactive; latch in data*/ CSB=1; /*Chip select inactive*/ } /*************************************************************/ void write_data(unsigned char datum) { A0=1; /*DDRAM data register*/ E=1; bus=datum; CSB=0; RW=0; RW=1; CSB=1; } /*************************************************************/ void lcd_init(void){ write_command(0xA2); //ICON OFF; write_command(0xAE); //Display OFF write_command(0x48); write_command(0x80); write_command(0xa0); write_command(0xc8); write_command(0x40); write_command(0x00); write_command(0xab); //Set Duty ratio //No operation //Set scan direction //SHL select //Set START LINE write_command(0x64); delay(2000); write_command(0x65); delay(2000); write_command(0x66); delay(2000); write_command(0x67); delay(2000); //3x //OSC on //4x //5x //6x write_command(Ra_Rb); //RESISTER SET write_command(0x81); //Set electronic volume register write_command(vopcode); //n=0~3f write_command(0x57); write_command(0x92); //1/12bias //FRC and pwm write_command(0x2C); delay(20000);//200ms write_command(0x2E); delay(20000);//200ms write_command(0x2F); [9] delay(20000);//200ms write_command(0x92); write_command(0x38); write_command(0x75); //frc and pwm //external mode /*** start settings for 16-level grayscale ***/ write_command(0x97); //3frc,45pwm write_command(0x80); write_command(0x00); write_command(0x81); write_command(0x00); write_command(0x82); write_command(0x00); write_command(0x83); write_command(0x00); write_command(0x84); write_command(0x06); write_command(0x85); write_command(0x06); write_command(0x86); write_command(0x06); write_command(0x87); write_command(0x06); write_command(0x88); write_command(0x0b); write_command(0x89); write_command(0x0b); write_command(0x8a); write_command(0x0b); write_command(0x8b); write_command(0x0b); write_command(0x8c); write_command(0x10); write_command(0x8d); write_command(0x10); write_command(0x8e); write_command(0x10); write_command(0x8f); write_command(0x10); write_command(0x90); write_command(0x15); write_command(0x91); write_command(0x15); write_command(0x92); write_command(0x15); write_command(0x93); write_command(0x15); write_command(0x94); write_command(0x1a); write_command(0x95); write_command(0x1a); write_command(0x96); write_command(0x1a); write_command(0x97); [10] write_command(0x1a); write_command(0x98); write_command(0x1e); write_command(0x99); write_command(0x1e); write_command(0x9a); write_command(0x1e); write_command(0x9b); write_command(0x1e); write_command(0x9c); write_command(0x23); write_command(0x9d); write_command(0x23); write_command(0x9e); write_command(0x23); write_command(0x9f); write_command(0x23); write_command(0xa0); write_command(0x27); write_command(0xa1); write_command(0x27); write_command(0xa2); write_command(0x27); write_command(0xa3); write_command(0x27); write_command(0xa4); write_command(0x2b); write_command(0xa5); write_command(0x2b); write_command(0xa6); write_command(0x2b); write_command(0xa7); write_command(0x2b); write_command(0xa8); write_command(0x2f); write_command(0xa9); write_command(0x2f); write_command(0xaa); write_command(0x2f); write_command(0xab); write_command(0x2f); write_command(0xac); write_command(0x32); write_command(0xad); write_command(0x32); write_command(0xae); write_command(0x32); write_command(0xaf); write_command(0x32); write_command(0xb0); write_command(0x35); write_command(0xb1); write_command(0x35); write_command(0xb2); write_command(0x35); write_command(0xb3); [11] write_command(0x35); write_command(0xb4); write_command(0x38); write_command(0xb5); write_command(0x38); write_command(0xb6); write_command(0x38); write_command(0xb7); write_command(0x38); write_command(0xb8); write_command(0x3a); write_command(0xb9); write_command(0x3a); write_command(0xba); write_command(0x3a); write_command(0xbb); write_command(0x3a); write_command(0xbc); write_command(0x3c); write_command(0xbd); write_command(0x3c); write_command(0xbe); write_command(0x3c); write_command(0xbf); write_command(0x3c); //end settings for 16-level grayscale write_command(0x38); write_command(0x74); write_command(0xaf); //Display ON } /*************************************************************/ /*************************************************************/ [12] 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. 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. 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 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 [13] Note +80⁰C , 48hrs 3