NHD-0440AZ-NSW-FBW

 NHD‐0440AZ‐NSW‐FBW Character Liquid Crystal Display Module NHD‐ 0440‐ AZ‐ N‐ SW‐ F‐ B‐ W‐ Newhaven Display 4 lines x 40 characters Model Transmissive Side White LED Backlight FSTN (‐) 6:00 view Wide Temp. (‐20°C~+70°C) RoHS Compliant Newhaven Display International, Inc. 2511 Technology Drive, Suite 101 Elgin IL, 60124 Ph: 847‐844‐8795 Fax: 847‐844‐8796 www.newhavendisplay.com [email protected] [email protected] Document Revision History Revision 0 1 Date 10/21/2008 10/12/2009 Description Initial Release User Guide Reformat Functions and Features •
•
•
•
•
4 lines x 40 characters 2 Built‐in controllers (SPLC780D or equivalent) +5.0V Power Supply 1/16 duty, 1/5 bias RoHS compliant Changed by ‐ MC Mechanical Drawing Pin Description and Wiring Diagram Pin No. Symbol 1‐4 5‐8 DB7‐DB4 DB3‐DB0 9 10 11 12 13 14 15 16 17 18 E1 R/W RS V0 Vss VDD E2 NC LED+ LED‐ External Connection MPU MPU MPU MPU MPU Power Supply Power Supply Power Supply MPU ‐
Power Supply Power Supply Function Description
Four high order bi‐directional three‐state data bus lines. Four low order bi‐directional three‐state data bus lines. These four are not used during 4‐bit operation. Operation enable signal. Falling edge triggered for top 2 lines. Read/Write select signal, R/W=1: Read R/W:=0: Write Register select signal. RS=0: Command, RS=1: Data Power supply for contrast (approx. 0V)
Ground
Supply voltage for logic (5.0V)
Operation enable signal. Falling edge triggered for bottom 2 lines.
No Connect
Power supply for LED backlight (+5.0V with on board resistor) Ground for backlight
Recommended LCD connector: 2.54mm pitch pins Backlight connector: ‐‐‐ Mates with: ‐‐‐ 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 Twice initial value or less Min.
‐20
‐30
2.7
‐
‐
2.2
0
Typ.
‐
‐
5.0
3.5
5.0
‐
‐
Max. +70 +80 5.5 4.0 ‐ VDD 0.6 Unit
⁰C
⁰C
V
mA
V
V
V
2.4
‐
‐
‐
V
V
‐
‐
80
‐ 0.4 5.0 ‐
Vled=5.0V
V
mA
Optical Characteristics Item Viewing Angle – Vertical (top) Viewing Angle – Vertical (bottom) Viewing Angle – Horizontal (left) Viewing Angle – Horizontal (right) Contrast Ratio Response Time (rise) Response Time (fall) Symbol AV AV AH AH Cr Tr Tf Condition
Cr ≥ 2
Cr ≥ 2
Cr ≥ 2
Cr ≥ 2
‐
‐
Min.
‐
‐
‐
‐
‐
‐
‐
Typ.
+35
‐60
‐40
+40
6
150
150
Max. ‐ ‐ ‐ ‐ ‐ 250 250 Unit
⁰ ⁰ ⁰ ⁰ ‐ ms
ms
Controller Information Built‐in SPLC780D. Download specification at http://www.newhavendisplay.com/app_notes/SPLC780D.pdf Table of Commands Timing Characteristics Writing data from MPU to SPLC780D Reading data from SPLC780D to MPU Writing Data from MPU to SPLC780D. Reading Data from SPLC780D to MPU. Built‐in Font Table 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=LOW : 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 >15 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
}
/**********************************************************/
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 >15 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
}
/**********************************************************/
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 Endurance test applying electric static discharge. Test Condition 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 and Terms & Conditions http://www.newhavendisplay.com/index.php?main_page=terms Note
+80⁰C , 48hrs
3