NHD-0108HZ-FSW-GBW - Newhaven Display International, Inc.

advertisement
NHD-0108HZ-FSW-GBW
Character Liquid Crystal Display Module
NHD0108HZFSWGBW-
Newhaven Display
1 Line x 8 Characters
Model
Transflective
Side White LED Backlight
STN- Gray
6:00 Optimal View
Wide Temperature
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
Document Revision History
Revision
0
1
2
3
4
5
6
Date
5/10/2007
10/2/2009
10/16/2009
10/19/2009
11/25/2009
12/22/2009
6/17/2010
7
8
9
1/5/2011
4/15/2011
5/31/16
Description
Initial Release
User Guide Reformat
Block Diagram Revision
Mechanical Drawing Revision
Block Diagram Revision
Optical revised
Mechanical Drawing Correction ->11pin holes
Updated backlight supply voltage from 3.3V to 3.0V
Alternate controller information updated
Electrical characteristics updated
Mechanical Drawing, Electrical & Optical Char. Updated
Functions and Features
•
•
•
•
•
1 line x 8 characters
Built-in controller (ST7066U)
3.3V power supply
1/16 duty, 1/5 bias
RoHS compliant
[2]
Changed by
BE
BE
BE
BE
BE
MC
AK
AK
SB
L
A
I
Mechanical Drawing
1
2
3
4
Rev
A
F
N
C
D
O
C
1
!
6
Description
T
N
E
D
I
B
5
A
Date
A
PIN ASSIGNMENT
SCALE=2.0:1
VSS
VDD
RS
R/W
E
DB4
DB5
DB6
DB7
LED A
LED K
1
2
3
4
5
6
7
8
9
10
11
Date
05/31/16
Unit
±0.3mm
3
4
mm
5
Model:
NHD-0108HZ-FSW-GBW
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
DOTS DETAIL
Gen. Tolerance
2
A
C
D
Pin Description and Wiring Diagram
Pin No.
1
2
3
4
5
6-9
10
11
Symbol
VSS
VDD
RS
R/W
E
DB4-DB7
LED+
LED-
External
Connection
Power Supply
Power Supply
MPU
MPU
MPU
MPU
Power Supply
Power Supply
Function Description
Ground
Supply Voltage for logic (+3.3V)
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 high order bi-directional three-state data bus lines.
Power supply for LED Backlight (+3.0V)
Ground for Backlight
Recommended 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
Response Time
Rise
Fall
Symbol
Top
Tst
VDD
IDD
VDD-V0
Vih
Vil
Voh
Vol
Condition
Absolute Max
Absolute Max
VDD=3.3V
Ta=25°C
-
Min.
-20
-30
2.7
2.8
0.7*VDD
VSS
0.75 VDD
VSS
Typ.
3.0
1.0
3.0
-
Max.
+70
+80
3.3
1.5
3.2
VDD
0.6
VDD
0.2 VDD
Unit
⁰C
⁰C
V
mA
V
V
V
V
V
Vled
Iled
Vled=3.3V
3.0
10
3.3
15
3.5
20
V
mA
Symbol
ϕY+
ϕYθXθX+
Cr
Tr
Tf
Condition
Cr ≥ 2
-
Controller Information
Min.
2
-
Typ.
40
60
60
60
5
150
200
Max.
250
300
Built-in ST7066U Controller.
Please download specification at http://www.newhavendisplay.com/app_notes/ST7066U.pdf
DDRAM Address
Characters:
1 2 3 4 5 6 7 8
00 01 02 03 04 05 06 07
Segments:
1
40H-A1
2
40H-A2
3
40H-A3
4
40H-A4
[5]
Unit
⁰
⁰
⁰
⁰
ms
ms
Table of Commands
Instruction code
Instruction
RS
R/W
DB7
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
Write data
To Address
Read data
From RAM
0
1
BF
1
0
D7
1
1
D7
DB6 DB5 DB4 DB3 DB2 DB1 DB0
Write “20H” to DDRAM 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.
Sets cursor move direction
and specifies display shift.
These parameters are
performed during data write
and read.
D=1: Entire display on
C=1: Cursor on
B=1: Blinking cursor on
Sets cursor moving and
display shift control bit, and
the direction without
changing DDRAM data.
DL: Interface data is 8/4 bits
N: Number of lines is 2/1
F: Font size is 5x11/5x8
Execution
time (fosc=
270 KHZ
1.52ms
1.52ms
37µs
37µs
37µs
37µs
AC3
AC2 AC1
AC0
Set CGRAM address in
address counter
37µs
AC4 AC3
AC2 AC1
AC0
Set DDRAM address in
address counter.
37µs
AC5 AC4
AC6 AC5
Description
Whether during internal
operation or not can be
AC6 AC5 AC4 AC3 AC2 AC1 AC0 known 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]
0s
37µs
37µs
Timing Characteristics
Writing data from MPU to ST7066U
[7]
Reading data from ST7066U to MPU
[8]
Built-in Font Table
[9]
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 >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
}
/**********************************************************/
[10]
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
[11]
Note
+80⁰C , 48hrs
3
Download