NHD-0220FZ-FSW-GBW-P-1 Newhaven Display, NHD-0220FZ-FSW-GBW-P-1 Datasheet - Page 7

LCD Character Display Modules STN-Gray Transfl 65.0 x 20.0 5V

NHD-0220FZ-FSW-GBW-P-1

Manufacturer Part Number
NHD-0220FZ-FSW-GBW-P-1
Description
LCD Character Display Modules STN-Gray Transfl 65.0 x 20.0 5V
Manufacturer
Newhaven Display
Datasheet

Specifications of NHD-0220FZ-FSW-GBW-P-1

Display Mode
Transflective
Character Count X Line
20 x 2
Module Size (w X H X T)
65 mm x 20 mm x 8 mm
Fluid Type
STN
Interface
Parallel
Background Color
Gray
Voltage Rating
5 V
Operating Temperature Range
- 20 C to + 70 C
Backlight Type
LED White
Lead Free Status / Rohs Status
 Details
 
 
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
>= 300ns
>= 300ns

Related parts for NHD-0220FZ-FSW-GBW-P-1