NHD-0216K1Z-FS(RGB)FBW-REV1

 NHD‐0216K1Z‐FS(RGB)FBW‐REV1 Character Liquid Crystal Display Module NHD‐ 0216‐ K1Z‐ FS‐ RGB‐ F‐ B‐ W‐ REV1‐ Newhaven Display 2 lines x 16 characters Model Transflective Side backlight RED, GREEN, BLUE FSTN (+) 6:00 view Wide Temperature (‐20°C ~ +70°C) Revision 1 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 4 5 6 7 Date 1/23/2006 6/4/2009 9/16/2009 10/23/2009 1/7/2010 1/6/2011 5/3/2011 11/29/2011 Description Initial Release User Guide Reformat Backlight Revision Block Diagram/Initialization/electrical Revision Optical revised Alternate controller information updated Electrical characteristics updated Mechanical drawing updated Functions and Features •
•
•
•
•
•
2 lines x 16 characters Built‐in controller (ST7066U) Red, Green and Blue Backlights +5.0V power supply 1/16 duty, 1/5 bias RoHS Compliant
[2] Changed by ‐ ‐ BE BE BE AK AK TJ Mechanical Drawing
Notes:
1.) Driver Method: 1/16 duty, 1/5 bias, VDD5.0V VLCD 4.5V
2.) Display Type: FSTN/Positive/6:00 View
3.) Operating Temp: -20 ~70 /Storage Temp: -30 ~80
4.) Backlight Type: Side/R,G,B
5.) Driver: SPLC780D or ST7066U
6.) RoHS Compliant
LED-
NHD-0216K1Z-FS(RGB)-FBW-REV1
Newhaven Display
Pin Description and Wiring Diagram Pin No. Symbol 1 2 3 4 5 6 7‐10 RS R/W E DB0 – DB3 External Connection Power Supply Power Supply Adj. Power Supply MPU MPU MPU MPU 11‐14 15 16 17 18 DB4 – DB7 LED‐ LED‐RED LED‐GREEN LED‐BLUE MPU Power Supply Power Supply Power Supply Power Supply VSS VDD V0 Function Description
Ground
Power supply for logic (+5.0V)
Power supply for contrast (approx. 0.5V)
Register select signal RS=1: DATA RS=0: COMMAND Read/Write select signal RW=1: READ RW=0: WRITE Operation enable signal Falling Edge Triggered Four low order bi‐directional three‐state data bus lines. These four are not used during 4‐bit operation Four high order bi‐directional three‐state data bus lines. Ground for Backlight Power supply for backlight (2.2V)
Power supply for backlight (3.3V)
Power supply for backlight (3.3V)
Recommended LCD connector: 2.54mm pitch 1x18 pin header Backlight connector: Pins 15‐18 of LCD connector Mates 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 Backlight Supply Voltage – RED Backlight Supply Current – RED Backlight Supply Voltage – GREEN Backlight Supply Current – GREEN Backlight Supply Voltage – BLUE Backlight Supply Current – BLUE Symbol Top Tst VDD IDD VDD‐V0 Vih Vil Voh Vol Vled Iled Vled Iled Vled Iled Condition
Ta=25°C Min.
‐20
‐30
4.7
‐
‐
0.7 VDD
0
3.9
‐
Typ.
‐
‐
5.0
1.5
4.5
‐
‐
‐
‐
‐
‐
‐
‐
‐
‐
2.2
20
3.3
20
3.3
20
Ta=25°C
Ta=25°C, Vled=2.2V
Ta=25°C
Ta=25°C, Vled=3.3V
Ta=25°C
Ta=25°C, Vled=3.3V
Max. +70 +80 5.5 2.5 ‐ VDD 0.6 ‐ 0.4 ‐ 30 ‐ 30 ‐ 30 Unit
⁰C
⁰C
V
mA
V
V
V
V
V
V
mA
V
mA
V
mA
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) Symbol
AV AV AH AH Cr Tr Tf Condition
Cr ≥ 3
Cr ≥ 3
Cr ≥ 3
Cr ≥ 3
‐
‐
Min.
‐
‐
‐
‐
3
‐
‐
Typ.
20
50
30
30
5
150
150
Max. ‐ ‐ ‐ ‐ ‐ 250 250 Unit
⁰
⁰
⁰
⁰
‐
ms
ms
Controller Information Built‐in ST7066U. Download specification at http://www.newhavendisplay.com/app_notes/ST7066U.pdf [5] Command Table [6] Built‐in Font Table [7] Example Initialization Program 4-bit Initialization:
/**********************************************************/
void command(char i)
{
P1 = i;
//put data on output Port
D_I =0;
//D/I=LOW : send instruction
R_W =0;
//R/W=LOW : Write
Nybble();
//Send lower 4 bits
i = i<<4;
//Shift over by 4 bits
P1 = i;
//put data on output Port
Nybble();
//Send upper 4 bits
}
/**********************************************************/
void write(char i)
{
P1 = i;
//put data on output Port
D_I =1;
//D/I=HIGH : send data
R_W =0;
//R/W=LOW : Write
Nybble();
//Clock lower 4 bits
i = i<<4;
//Shift over by 4 bits
P1 = i;
//put data on output Port
Nybble();
//Clock upper 4 bits
}
/**********************************************************/
void Nybble()
{
E = 1;
Delay(1);
//enable pulse width >= 300ns
E = 0;
//Clock enable: falling edge
}
/**********************************************************/
void init()
{
P1 = 0;
P3 = 0;
Delay(100);
//Wait >15 msec after power is applied
P1 = 0x30;
//put 0x30 on the output port
Delay(30);
//must wait 5ms, busy flag not available
Nybble();
//command 0x30 = Wake up
Delay(10);
//must wait 160us, busy flag not available
Nybble();
//command 0x30 = Wake up #2
Delay(10);
//must wait 160us, busy flag not available
Nybble();
//command 0x30 = Wake up #3
Delay(10);
//can check busy flag now instead of delay
P1= 0x20;
//put 0x20 on the output port
Nybble();
//Function set: 4-bit interface
command(0x28);
//Function set: 4-bit/2-line
command(0x10);
//Set cursor
command(0x0F);
//Display ON; Blinking cursor
command(0x06);
//Entry Mode set
}
/**********************************************************/
[8] 8-bit Initialization:
/**********************************************************/
void command(char i)
{
P1 = i;
//put data on output Port
D_I =0;
//D/I=LOW : send instruction
R_W =0;
//R/W=LOW : Write
E = 1;
Delay(1);
//enable pulse width >= 300ns
E = 0;
//Clock enable: falling edge
}
/**********************************************************/
void write(char i)
{
P1 = i;
//put data on output Port
D_I =1;
//D/I=LOW : send data
R_W =0;
//R/W=LOW : Write
E = 1;
Delay(1);
//enable pulse width >= 300ns
E = 0;
//Clock enable: falling edge
}
/**********************************************************/
void init()
{
E = 0;
Delay(100);
//Wait >15 msec after power is applied
command(0x30);
//command 0x30 = Wake up
Delay(30);
//must wait 5ms, busy flag not available
command(0x30);
//command 0x30 = Wake up #2
Delay(10);
//must wait 160us, busy flag not available
command(0x30);
//command 0x30 = Wake up #3
Delay(10);
//must wait 160us, busy flag not available
command(0x38);
//Function set: 8-bit/2-line
command(0x10);
//Set cursor
command(0x0c);
//Display ON; Cursor ON
command(0x06);
//Entry mode set
}
/**********************************************************/
[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 , 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 [10] Note
+80⁰C , 48hrs
3