NHD-0240AZ-FL-YBW Newhaven Display, NHD-0240AZ-FL-YBW Datasheet - Page 7
![LCD MOD CHAR 2X40 Y/G TRANSFL](/photos/7/90/79055/mfg_nhd-0240az-fl-ybw_sml.jpg)
NHD-0240AZ-FL-YBW
Manufacturer Part Number
NHD-0240AZ-FL-YBW
Description
LCD MOD CHAR 2X40 Y/G TRANSFL
Manufacturer
Newhaven Display
Series
NHD-0240AZ-Fr
Specifications of NHD-0240AZ-FL-YBW
Display Type
STN - Super-Twisted Nematic
Display Mode
Transflective
Number Of Digits/alpha
80
Outline L X W X H
182.00mm x 33.50mm x 13.30mm
Viewing Area
152.50mm L x 16.50mm W
Backlight
LED - Yellow/Green
Display Format
40 x 2
Character Size
5.55mm H x 3.20mm W
Character Format
5 x 8 Dots
Voltage - Supply
5.0V
Dot Size
0.60mm W x 0.65mm H
Operating Temperature
-20°C ~ 70°C
Character Count X Line
40 x 2
Module Size (w X H X T)
182 mm x 33.5 mm x 13.5 mm
Fluid Type
STN
Background Color
Yellow-Green
Voltage Rating
5 V
Operating Temperature Range
- 20 C to + 70 C
Backlight Type
LED Yellow-Green
Interface
Parallel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
NHD-0240AZ-FL-YBW
Manufacturer:
Newhaven Display
Quantity:
135
Example Initialization Program
8-bit Initialization:
/**********************************************************/
void command(char i)
{
}
/**********************************************************/
void write(char i)
{
}
/**********************************************************/
void init()
{
}
/**********************************************************/
P1 = i;
D_I =0;
R_W =0;
E
Delay(1);
P1 = i;
D_I =1;
R_W =0;
E
Delay(1);
E
E = 0;
Delay(100);
command(0x30);
Delay(30);
command(0x30);
Delay(10);
command(0x30);
Delay(10);
command(0x38);
command(0x10);
command(0x0c);
command(0x06);
E
= 1;
= 1;
= 0;
= 0;
//put data on output Port
//D/I=LOW : send instruction
//R/W=LOW : Write
//enable pulse width
//Clock enable: falling edge
//put data on output Port
//D/I=LOW : send data
//R/W=LOW : Write
//enable pulse width
//Clock enable: falling edge
//Wait >15 msec after power is applied
//command 0x30 = Wake up
//must wait 5ms, busy flag not available
//command 0x30 = Wake up #2
//must wait 160us, busy flag not available
//command 0x30 = Wake up #3
//must wait 160us, busy flag not available
//Function set: 8-bit/2-line
//Set cursor
//Display ON; Cursor ON
//Entry mode set
[7]
>= 300ns
>= 300ns