N NHD- -021 6HZ -FL-Y YBW W-C

 N
NHD‐‐0216HZ‐FL‐Y
YBW
W‐C
Characterr Liquid Crystal Displaay Modu
ule NHD‐‐ 0216
6‐ HZ‐ F‐ L‐ Y‐ B‐ W‐ C‐ Newhaven Display 2 Lines x 16 Ch
haracters Model M
Trransflective Ye
ellow/Green LED Backlightt STTN‐ Yellow/Green 6:00 Optimal V
View Wide Tempera
W
ature Te
emperature C
Compensation Circuit 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 4 5 6 7 8 9 10 Date 10/23/2008 11/13/2009 12/8/2009 1/6/2010 6/25/2010 7/15/2010 10/29/2010 1/6/2011 3/8/2011 4/19/2011 11/1/2011 11 11/26/2013 Description Initial Release User Guide Reformat Backlight info updated Optical updated Mechanical drawing, Pin description, Block Diagram update Side view of pins added to Mechanical Drawing Mechanical drawing updated Alternate controller information updated Pins removed from drawing Electrical characteristics updated Mechanical drawing updated Mechanical Drawing updated, Timing Characteristics added, User Guide Reformat Functions and Features 




2 lines x 16 characters Built‐in controller (ST7066U) +5.0V Power Supply 1/16 duty, 1/5 bias RoHS compliant [2] Changed by ‐ BE BE BE MP MC BE AK BE AK BE ML L
A
I
Mechanical Drawing
1
2
3
4
A
Rev
FRONT
2.5
F
N
C
O
C
Y/G
D
Date
NC
C
LED-A
LED-K
Date
3
4
Gen. Tolerance
Unit
±0.3mm
mm
5
Model:
NHD-0216HZ-FL-YBW-C
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]
B
GND
11/26/13
2
A
BACK
4.2
1
6
Description
T
N
E
D
I
B
5
D
Pin Descripttion and W
Wiring Diiagram Pin N
No. Symbol 1 2 3 4 5 6 7‐10
0 GND
D VDD NC RS R/W
W E DB0 – D
DB3 External Connection Pow
wer Supply Pow
wer Supply NC MPU MPU MPU MPU 11‐1
14 15 16 DB4 – D
DB7 LED‐A
A LED‐K
K MPU Pow
wer Supply Pow
wer Supply Function Desccription
Ground
Supply voltage
e for Logic (+5..0V)
No Connect
Register Selecct signal. RS=0: Command, RS=1: Data Read/Write se
elect signal, R//W=1: Read R//W: =0: Write Operation Enaable signal. Fa lling edge trigggered. Four low orde
er bi‐directionaal three‐state d
data bus lines. These four are not used d
during 4‐bit opperation. Four high orde
er bi‐directionaal three‐state data bus lines.. Backlight Anode (+4.2V)
Backlight Cath
hode (Ground)
Reco
ommended LC
CD connectorr: 2.54mm pittch pins Backklight connecttor: ‐‐‐ M
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 Backlight Supply Current Symbol Top Tst VDD IDD VDD‐V0 Vih Vil Voh Vol Vled Iled Condition
Absolute Max
Absolute Max
‐
Ta=25°C, VDD=5.0V
Ta=25°C ‐
‐
‐
‐
Min.
‐20
‐30
4.7
‐
‐
0.7*VDD
GND
3.9
‐
Typ.
‐
‐
5.0
1.5
4.4
‐
‐
‐
‐
‐
Vled=4.2V
‐
‐
4.2
90
Max. +70 +80 5.5 2.5 ‐ VDD 0.6 ‐ 0.4 4.6 130 Unit
⁰C
⁰C
V
mA
V
V
V
V
V
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 ‐ ‐ ‐ ‐ Cr Tr Tf Condition
Cr ≥ 2 ‐
‐
‐
Min.
‐
‐
‐
‐
‐
‐
‐
Typ.
25
70
30
30
2
120
120
Max. ‐ ‐ ‐ ‐ ‐ 150 150 Controller Information Built‐in ST7066U. Please download specification at http://www.newhavendisplay.com/app_notes/ST7066U.pdf DDRAM Address 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F [5] Unit
⁰ ⁰ ⁰ ⁰ ‐ ms
ms
Tab
ble of Com
mmands [6] Tim
ming Charracteristiccs Writting data frrom MPU to
o ST7066U [7] Read
ding data from ST7066U to MPU
U [8] Built‐in Fontt Table [9] Example Initialization Program 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=HIGH : 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 >40 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
}
/**********************************************************/
[10] 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 upper 4 bits
i = i<<4;
//Shift over by 4 bits
P1 = i;
//put data on output Port
Nybble();
//Send lower 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 upper 4 bits
i = i<<4;
//Shift over by 4 bits
P1 = i;
//put data on output Port
Nybble();
//Clock lower 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 >40 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
}
/**********************************************************/
[11] 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 See Terms & Conditions at http://www.newhavendisplay.com/index.php?main_page=terms [12] Note
+80⁰C , 48hrs
3