NHD-0216K1Z-NS(RGB)-FBW-REV1 Datasheet by Newhaven Display Intl

Newhaven Display International! Inc. www.newhavendisglay.cam nhtech@newhavendisnlav.cnm nhsales@newhavendisnlavxnm
NHD-0216K1Z-NS(RGB)-FBW-REV1
Character Liquid Crystal Display Module
NHD- Newhaven Display
0216- 2 Lines x 16 Characters
K1Z- Model
NS- Transmissive (-)
RGB- RED, GREEN, BLUE Edge LED Backlight
F- FSTN Negative
B- 6:00 Optimal View
W- Wide Temperature
REV1- Revision 1
RoHS Compliant
Newhaven Display International, Inc.
2661 Galvin Ct.
Elgin IL, 60124
Ph: 847-844-8795 Fax: 847-844-8796
www.newhavendisplay.com
nhtech@newhavendisplay.com nhsales@newhavendisplay.com
[2]
Document Revision History
Revision
Date
Description
Changed by
0
1/23/06
Initial Release
-
1
6/4/09
User Guide Reformat
-
2
9/29/09
Backlight Revision
BE
3
10/23/09
Block Diagram/electrical/initialization Revision
BE
4
1/7/10
Optical revised
BE
5
1/6/11
Alternate controller information updated
AK
6
5/3/11
Electrical characteristics updated
AK
7
11/29/11
Mechanical drawing updated
TJ
8
9/28/16
Mechanical Drawing, Electrical & Optical Char. Updated
SB
9
6/13/18
Mechanical & Backlight Characteristics Updated
SB
Functions and Features
2 lines x 16 characters
Built-in controller (ST7066U)
Red, Green and Blue Backlight
+5.0V power supply
1/16 duty, 1/5 bias
RoHS Compliant
H» 'WWWWWWWWWL uuuu ”'UUUUU 71: uuuuuumflg/M 1 DDDDDDD DDDDDDD DDDDDDD D D D D D D D D D D D D D D D D D D D D D D D Ell] DD Ell] Ell] DD fl— , PIN ASSIGNMENT VSS VDD V0 RS E DBO DB1 1 2 3 4 5 RW 6 7 8 9 DB2 10 DB3 11 DB4 12 DB5 13 DB6 14 DB7 16 A-RED 17 A-GREEN 18 A-BLUE mm m 2 mm xx M :n 2 mm mwwomsm w wur/Utks mmmammmm ©E NEWHAVEN ISPLAY NTERNATWNM 1 0 Mum“ namv A3 5 Ban r rm ”SSE/18 $571313 NS unmiumumwme | 5mm] THIS DRAWWG IS 5mm mg PROPERTV or NEWHAVEN DISPLAY INTERNAUONAL, mc
C
B
A
D
E
F
C
B
A
D
E
F
4321 8765
4321 8765
CHECKED BY:
DRAW N DATE:
NS
SHEET 1 OF 1
- THIRD ANGLE PROJECTION
DRAWING/PART NUMBER:
STANDARD TOLERANCES
(UNLESS OTHERWISE SPECIFIED)
LINEAR:
XX.
XX.X
XX.XX
UNLESS OTHERWISE SPECIFIED
NHD-0216K1Z-NS(RGB)-FBW-REV1
REVISION:
1.0
SIZE:
A3
SCALE:
DRAW N BY:
S. Baxi
CHECKED DATE:
THIS DRAWING IS SOLELY THE PROPERTY OF NEWHAVEN DISPLAY INTERNATIONAL, INC.
THE INFORMATION IT CONTAINS IS NOT TO BE DISCLOSED, REPRODUCED OR COPIED IN
WHOLE OR PART WITHOUT WRITTEN APPROVAL FROM NEWHAVEN DISPLAY.
±0.3 mm
±0.3 mm
±0.3 mm
- DIMENSIONS ARE IN MILLIMETERS
SYMBOL REVISION DATE
DO NOT SCALE DRAWING
S. Baxi
06/13/18
APPROVED BY:
APPROVED DATE:
06/13/18
T. Tung
PIN ASSIGNMENT
3
4
1
2
VSS
VDD
V0
RS
RW5
E
6
DB0
7
DB1
8
DB2
9
DB3
10
DB4
11
DB512
DB6
13
DB7
14
A-RED
15
A-GREEN
16
A-BLUE
17
K
18
Notes:
1. Driver: 1/16 Duty, 1/5 Bias
2. Voltage: 5.0V VDD, 4.5V VLCD
3. Display Mode: FSTN Negative / Transmissive
4. Optimal View: 6:00
5. Backlight: Red, Green, and BLUE Side LEDs
6. Driver IC: ST7066U 8/4-Bit MPU Interface
8-bit Character Display block diagram 4-bit Character Display block diagram K- 1137 has 1153 nm E R8 Wu) K- 1137 1135 mm 1131 E RS vnn n» ma n54 n52 mm R/N vu mm a. 1135 1134 I132 mm Rrbl um mu J7 1 T J7 ‘ _r _r ‘4‘) lBkEBk U Awmva—a :0, == bwmv :U, can mammmmmmmx :z Emmi: m\ a: annnnnn: at an nan: «K >u MPU 12km
[4]
Pin Description and Wiring Diagram
Pin No.
Symbol
External Connection
Function Description
1
VSS
Power Supply
Ground
2
VDD
Power Supply
Supply Voltage for Logic (+5.0V)
3
V0
Adj. Power Supply
Supply Voltage for Contrast (approx. 0.5V)
4
RS
MPU
Register Select signal, RS=1: DATA RS=0: COMMAND
5
R/W
MPU
Read/Write select signal RW=1: READ, RW=0: WRITE
6
E
MPU
Operation Enable signal Falling Edge Triggered
7-10
DB0 DB3
MPU
Four low order bi-directional three-state data bus lines.
These four are not used during 4-bit operation
11-14
DB4 DB7
MPU
Four high order bi-directional three-state data bus lines.
15
LED-
Power Supply
Backlight Cathode (Ground)
16
LED-RED
Power Supply
Backlight Anode Red (20 mA @ 2.1V)
17
LED-GREEN
Power Supply
Backlight Anode Green (20 mA @ 3.1V)
18
LED-BLUE
Power Supply
Backlight Anode Blue (20 mA @ 3.1V)
Recommended LCD connector: 2.54mm pitch 1x18 pin header
Backlight connector: Pins 15-18 of LCD connector Mates with: -
http: www.mewhavendisplavLom app notes ST7066U.pdf
[5]
Electrical Characteristics
Item
Symbol
Condition
Min.
Typ.
Max.
Unit
Operating Temperature Range
TOP
Absolute Max
-20
-
+70
C
Storage Temperature Range
TST
Absolute Max
-30
-
+80
C
Supply Voltage
VDD
-
4.7
5.0
5.3
V
Supply Current
IDD
VDD = 5.0V
TOP = 25°C
1.0
1.5
2.5
mA
Supply for LCD (contrast)
VDD V0
4.3
4.5
4.7
V
“H” Level input
VIH
-
0.7 * VDD
-
VDD
V
“L” Level input
VIL
-
VSS
-
0.6
V
“H” Level output
VOH
-
3.9
-
VDD
V
“L” Level output
VOL
-
VSS
-
0.4
V
Backlight Supply Current Red
IR
-
-
20
30
mA
Backlight Supply Voltage Red
VR
IR = 20 mA
1.8
2.1
2.4
V
Backlight Supply Current Green
IG
-
-
20
50
mA
Backlight Supply Voltage Green
VG
IG = 20 mA
2.8
3.1
3.4
V
Backlight Supply Current Blue
IB
-
-
20
50
mA
Backlight Supply Voltage Blue
VB
IB = 20 mA
2.8
3.1
3.4
V
Optical Characteristics
Item
Symbol
Condition
Min.
Typ.
Max.
Unit
Optimal
Viewing
Angles
Top
ϕY+
CR 2
-
40
-
Bottom
ϕY-
-
60
-
Left
θX-
-
60
-
Right
θX+
-
60
-
Contrast Ratio
CR
-
2
5
-
-
Response Time
Rise
TR
TOP = 25°C
-
150
250
ms
Fall
TF
-
200
300
ms
Controller Information
Built-in ST7066 Controller.
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
(fOSC
[6]
Table of Commands
Instruction
Instruction code
Description
Execution
time (fOSC=
270 KHZ
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Clear
Display
0
0
0
0
0
0
0
0
0
1
Write “20H” to DDRAM and
set DDRAM address to
“00H” from AC
1.52ms
Return
Home
0
0
0
0
0
0
0
0
1
-
Set DDRAM Address to
“00H” from AC and return
cursor to its original position
if shifted. The contents of
DDRAM are not changed.
1.52ms
Entry mode
Set
0
0
0
0
0
0
0
1
I/D
SH
Sets cursor move direction
and specifies display shift.
These parameters are
performed during data write
and read.
3s
Display ON/
OFF control
0
0
0
0
0
0
1
D
C
B
D=1: Entire display on
C=1: Cursor on
B=1: Blinking cursor on
37µs
Cursor or
Display
shift
0
0
0
0
0
1
S/C
R/L
-
-
Sets cursor moving and
display shift control bit, and
the direction without
changing DDRAM data.
37µs
Function
set
0
0
0
0
1
DL
N
F
-
-
DL: Interface data is 8/4 bits
N: Number of lines is 2/1
F: Font size is 5x11/5x8
37µs
Set
CGRAM
Address
0
0
0
1
AC5
AC4
AC3
AC2
AC1
AC0
Set CGRAM address in
address counter
37µs
Set
DDRAM
Address
0
0
1
AC6
AC5
AC4
AC3
AC2
AC1
AC0
Set DDRAM address in
address counter.
37µs
Read busy
Flag and
Address
0
1
BF
AC6
AC5
AC4
AC3
AC2
AC1
AC0
Whether during internal
operation or not can be
known by reading BF. The
contents of address counter
can also be read.
0s
Write data
To Address
1
0
D7
D6
D5
D4
D3
D2
D1
D0
Write data into internal RAM
(DDRAM/CGRAM).
37µs
Read data
From RAM
1
1
D7
D6
D5
D4
D3
D2
D1
D0
Read data from internal
RAM (DDRAM/CGRAM).
37µs
>
[7]
Timing Characteristics
Writing data from MPU to ST7066U
Read Mode (Reading Data from ST7066U to MPU) Tc Enable Cycle Time Pin E 1200 - — ns pr Enable Pulse Width Pin E 140 - - ns TR,TF Enable RiselFall Time Pin E - - 25 ns Tm Address Setup Time Pins: RS,RW.E 0 - - ns TA" Address Hold Time Pins: RS,RW.E 10 - - ns Tm Data Setup Time Pins: DBO - DB7 - - 100 ns T" Data Hold Time Pins: DBO — D37 10 - - ns
[8]
Reading data from ST7066U to MPU
h7-b‘ I3-h0 0000 0001 0010 0100 1000 1001 1010 1011 1110 0000 CG (1) 0031 (2) 0010 (3) 0011 (4) 0100 (5) 0101 (3) 0110 (7) 0111 (3) 1030 (1) 1:01 (2) 1010 (3) 1011 (4) 1100 (5) 1101 (3) 1110 (7) 1111 (3)
[9]
Built-in Font Table
[10]
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
}
/**********************************************************/
[11]
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
}
/**********************************************************/
www.newhavendisglay.com[5Qecs[grecautions.gdf htlp: www.newhavendisp\av.com Index.php?main page2terms
[12]
Quality Information
Test Item
Content of Test
Test Condition
Note
High Temperature storage
Endurance test applying the high storage
temperature for a long time.
+80C , 48hrs
2
Low Temperature storage
Endurance test applying the low storage
temperature for a long time.
-30C , 48hrs
1,2
High Temperature
Operation
Endurance test applying the electric stress
(voltage & current) and the high thermal
stress for a long time.
+70C 48hrs
2
Low Temperature
Operation
Endurance test applying the electric stress
(voltage & current) and the low thermal
stress for a long time.
-20C , 48hrs
1,2
High Temperature /
Humidity Operation
Endurance test applying the electric stress
(voltage & current) and the high thermal
with high humidity stress for a long time.
+40C , 90% RH , 48hrs
1,2
Thermal Shock resistance
Endurance test applying the electric stress
(voltage & current) during a cycle of low
and high thermal stress.
0C,30min -> +25⁰C,5min ->
+50⁰C,30min = 1 cycle
10 cycles
Vibration test
Endurance test applying vibration to
simulate transportation and use.
10-55Hz , 15mm amplitude.
60 sec in each of 3 directions
X,Y,Z
For 15 minutes
3
Static electricity test
Endurance test applying electric static
discharge.
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 25C, 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