JT# #E - NewHaven Display

 N
NHD‐‐0220WH
H‐MTFH‐JT##E Characterr Liquid Crystal Displaay Modu
ule NHD‐‐ 0220
0‐ WH‐ M‐ T‐ F‐ H‐ JT#‐ E‐ Newhaven Display 2 Lines x 20 Ch
haracters Display Type: C
Character Model M
White LED Bac
W
cklight FSSTN (+) White
e Trransflective, 6
6:00 Optimal View En
nglish and Jap
panese Stand
dard Font ESSD Protection
n 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 Date 3/27/2007 7/6/2010 9/24/2010 3/1/2011 5/5/2011 2/4/2014 Description Initial Release User Guide Reformat P/N Change. Part now has ESD Protection Alternate controller information updated Electrical characteristics updated Format, timing, drawing updated Functions and Features 




2 lines x 20 characters Built‐in controller (ST7066U) +5.0V Power Supply 1/16 duty, 1/5 bias RoHS compliant [2] Changed by ‐ MC MC AK AK ML L
A
I
Mechanical Drawing
1
2
3
4
5
Rev
146.0 0.5
139.0
1.8
16
E
D
I
K
8- 1.0
B
13.58
118.84(AA)
11.5
123.0(VA)
134.0
C
MPU
RS
R/W
E
DB0~DB7
F
N
Com1~16
Controller/Com Driver
ST7066U
External contrast adjustment.
1
N.V.
Generator
VR
10K~20K
Vdd
Vo
Vss
Bias and
Power Circuit
O
C
80 series
or
68 series
9.1
T
N
4- 3.5PTH
A
7.0
18.97(AA)
36.0
33.8
23.0(VA)
43.0 0.5
1
D
13.7Max
16- 1.0PTH
16- 1.8PAD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1.6
LED B/L
6.0
4.84
0.98
0.92
20X2 LCD
1.16
1.1
1.5
P2.54*15=38.1
2.5
19.0
11.0
13.0
3.5
A
5.6
18.0
9.75
9.22
3.5
6
Description
Date
Vss
Vdd
Vo
RS
R/W
E
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
LED+
LED-
A
B
C
Seg1~40
Seg41~100
D
Seg Driver
DOT SIZE
SCALE 5/1
M
CL1
CL2
Vdd,Vss,V1~V5
D
Date
02/04/14
Optional
2
3
4
Gen. Tolerance
Unit
±0.3mm
mm
5
Model:
NHD-0220WH-MTFH-JT#E
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‐10
0 VSS VDD V0 RS R/W
W E DB0 – D
DB3 External Connection Pow
wer Supply Pow
wer Supply Adj Po
ower Supply MPU MPU MPU MPU 11‐1
14 15 16 DB4 – D
DB7 LED+
+ LED‐‐ MPU Pow
wer Supply Pow
wer Supply Function Desccription
Ground
Supply Voltage for logic (+5..0V)
Power supply for contrast (aapprox. 0.5V)
Register select signal. RS=0: Command, RSS=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.. Power supply for LED Backligght (+3.5V)
Ground for Baacklight
Reco
ommended LC
CD connectorr: 2.54mm pittch pins Backklight connecttor: ‐‐‐ M
Mates with: ‐‐‐ [4] Elecctrical Ch
haracterisstics Item
m Operaating Temperaature Range Storage Temperature Range Supply Voltage Supply Current Supply for LCD (con
ntrast) “H” Level input “L” Leevel input “H” Level output “L” Leevel output Backlight Supply Vo
oltage Backlight Supply Cu
urrent Backlight Lifetime Symbol Top Tst VDD IDD VDD‐V0 Vih Vil Voh Vol Vled Iled ‐ Condiition
Absolutte Max
Absolutte Max
Ta=25°C, V
VDD=5.0V
Ta=25°C Min.
‐20
‐30
4.5
1.0
3.8
00.7 VDD
VSS
3.9
‐
TTyp.
‐
‐
5.0
1.2
4.5
‐
‐
‐
‐
‐
Vled=3.5V
Iled=4
48mA
3.4
44
‐
3.5
48
500,000
Max. +7
70 +8
80 5
5.5 1
1.5 5
5.5 VD
DD 0
0.6 ‐ 0
0.4 3
3.6 7
75 ‐ Unitt
⁰C
⁰C
V
mA
A
V
V
V
V
V
V
mA
A
Hrs.
Opttical Charracteristics Item
m Viewiing Angle – Top
p Viewiing Angle – Botttom Viewiing Angle – Lefft Viewiing Angle – Rigght Contrrast Ratio Respo
onse Time (rise
e) Respo
onse Time (falll) Symbo
ol ‐ ‐ ‐ ‐ Cr Tr Tf Condittion
Cr ≥ 3 ‐
‐
M in.
‐
‐
‐
‐
3
‐
‐
Typ.
20
50
30
30
5
1500
1500
Max. ‐ ‐ ‐ ‐ ‐ 250 250 Unit
⁰ ⁰ ⁰ ⁰ ‐ ms
ms
Con
ntroller In
nformatio
on Built‐‐in ST7066U. Pleasse download specification at http://ww
ww.newhaven
ndisplay.com//app_notes/SST7066U.pdf Display Charracter Ad
ddress Co
ode [5] Tab
ble of Com
mmands [6] Tim
ming Charracteristiccs Writting Data frrom MPU to ST7066U [7] Read
ding Data ffrom ST706
66U 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 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 >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 and Conditions at http://www.newhavendisplay.com/index.php?main_page=terms [12] Note
+80⁰C , 48hrs
3