Newhaven NHD-0420H1Z-FL-GBW-33V3 Character liquid crystal display module Datasheet

NHD-0420H1Z-FL-GBW-33V3
Character Liquid Crystal Display Module
NHD0420H1ZFLGBW33V3-
Newhaven Display
4 Lines x 20 Characters
Model
Transflective
Yellow/Green LED Backlight
STN- Gray
6:00 Optimal View
Wide Temp.
3.3VDD, 3.0V Backlight
RoHS Compliant
Newhaven Display International, Inc.
2661 Galvin Ct.
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
Date
10/31/2011
9/10/2015
7/20/16
Description
33V – improved liquid; VDD = 3.3V
Electrical, optical characteristics updated
Electrical & Optical Characteristics Updated
Functions and Features
•
•
•
•
•
4 lines x 20 characters
Built-in controller ST7066U
+3.3V Power Supply
1/16 duty, 1/4 bias
RoHS compliant
[2]
Changed by
SB
SB
SB
L
A
I
Mechanical Drawing
3
4
A
Rev
1
E
D
I
16
8
F
N
C
O
C
Notes:
1: Driving:
2. Display Mode:
D 3. VDD:
4. VLCD:
5. Optimal View:
6. Backlight:
7. Driver IC:
1
1/16 Duty, 1/4 Bias
STN(+) / Gray / Transflective
3.3V
3.3V
6:00
Yellow/Green LED
ST7066U 8/4-Bit MPU Interface
2
Description
6
Date
T
N
9
B
5
Back
2
Front
1
A
B
PIN ASSIGNMENT
DOTS DETAIL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
VSS
VDD
V0
RS
RW
E
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
A
K
C
D
Date
10/31/15
Unit
Gen. Tolerance
±0.3mm
3
4
mm
5
Model:
NHD-0420H1Z-FL-GBW-33V3
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 Description and Wiring Diagram
Pin No.
Symbol
1
2
3
4
5
6
7-10
VSS
VDD
V0
RS
R/W
E
DB0-DB3
External
Connection
Power Supply
Power Supply
Power Supply
MPU
MPU
MPU
MPU
11-14
15
16
DB4-DB7
A
K
MPU
Power Supply
Power Supply
Function Description
Ground
Supply Voltage for logic (+3.3V)
Supply Voltage for contrast (approx. 0.1V)
Register Select signal. RS=0: Command, RS=1: Data
Read/Write select signal, R/W=1: Read R/W:=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.
Backlight Anode (+3.0V)
Backlight Cathode (Ground)
LCD connector: 2.54mm pitch pins
Backlight 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
Backlight Supply Current
Optical Characteristics
Item
Top
Bottom
Left
Right
Optimal
Viewing
Angles
Contrast Ratio
Rise
Fall
Response Time
Symbol
TOP
TST
VDD
IDD
VDD – V0
VIH
VIL
VOH
VOL
Condition
Absolute Max
Absolute Max
VDD = 3.3V
TOP = 25°C
-
Min.
-20
-30
3.1
3.1
0.7*VDD
VSS
0.75*VDD
VSS
Typ.
3.3
1.5
3.3
-
Max.
+70
+80
3.6
2.5
3.5
VDD
0.6
VDD
0.2*VDD
Unit
⁰C
⁰C
V
mA
V
V
V
V
V
VLED
ILED
VLED=3.0V
2.8
130
3.0
150
3.2
180
V
mA
Symbol
ϕY+
ϕYθXθX+
CR
TR
TF
Condition
Min.
2
-
CR ≥ 2
TOP = 25°C
Typ.
40
60
60
60
5
150
200
Max.
250
300
Unit
⁰
⁰
⁰
⁰
ms
ms
Controller Information
Built-in ST7066U controller.
Please download specification at http://www.newhavendisplay.com/app_notes/ST7066U.pdf
DDRAM Address
1
00
40
14
54
2
01
41
15
55
3
02
42
16
56
4
03
43
17
57
5
04
44
18
58
6
05
45
19
59
7
06
46
1A
5A
8
07
47
1B
5B
9
08
48
1C
5C
10
09
49
1D
5D
11
0A
4A
1E
5E
12
0B
4B
1F
5F
[5]
13
0C
4C
20
60
14
0D
4D
21
61
15
0E
4E
22
62
16
0F
4F
24
63
17
10
50
25
64
18
11
51
26
65
19
12
52
26
66
20
13
53
27
67
Table of Commands
Instruction code
Instruction
RS
R/W
DB7
DB6 DB5 DB4 DB3 DB2 DB1 DB0
Clear
Display
0
0
0
0
0
0
0
0
0
1
Return
Home
0
0
0
0
0
0
0
0
1
-
Entry mode
Set
0
0
0
0
0
0
0
1
I/D
SH
Display ON/
OFF control
0
0
0
0
0
0
1
D
C
B
Cursor or
Display
shift
0
0
0
0
0
1
S/C
R/L
-
-
Function
set
0
0
0
0
1
DL
N
F
-
-
0
0
0
1
0
0
1
Set
CGRAM
Address
Set
DDRAM
Address
Read busy
Flag and
Address
0
1
BF
Write data
To Address
1
0
D7
Read data
From RAM
1
1
D7
Write “20H” to DDRA and
set
DDRAM address to “00H”
from AC
Set DDRAM address to
“00H”
From AC and return cursor
to
Its original position if shifted.
The contents of DDRAM are
not changed.
Assign
cursor
moving
direction
And blinking of entire display
Set display (D), cursor (C),
and
Blinking of cursor (B) on/off
Control bit.
Set cursor moving and
display
Shift control bit, and the
Direction, without changing
of
DDRAM data.
Set interface data length
(DL: 8Bit/4-bit), numbers of display
Line (N: =2-line/1-line) and,
Display
font
type
(F:
5x11/5x8)
AC3
AC2 AC1
AC0
Set CGRAM address
address counter.
in
AC4 AC3
AC2 AC1
AC0
Set DDRAM address
address counter.
in
AC5 AC4
AC6 AC5
Execution
time (fosc=
270 KHZ
Description
Whether during internal
Operation or not can be
known
AC6 AC5 AC4 AC3 AC2 AC1 AC0 By reading BF. The contents
of
Address counter can also be
read.
Write data into internal RAM
D6
D5
D4
D3
D2
D1
D0
(DDRAM/CGRAM).
Read data from internal
D6
D5
D4
D3
D2
D1
D0 RAM
(DDRAM/CGRAM).
[6]
1.53ms
1.53ms
39us
39us
39us
39us
39us
0us
43us
43us
Timing Characteristics
Writing data from MPU to ST7066U
TA = 25°C, VDD = 2.7V
[7]
Reading data from ST7066U to MPU
TA = 25°C, VDD = 2.7V
[8]
Built-in Font 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.
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
[12]
Note
+80⁰C , 48hrs
3
Similar pages