NHD-0208BZ-RN-YBW Newhaven Display, NHD-0208BZ-RN-YBW Datasheet - Page 8
![LCD MOD CHAR 2X8 Y/G REFLECT](/photos/7/88/78890/mfg_nhd-0208bz-rn-ybw_sml.jpg)
NHD-0208BZ-RN-YBW
Manufacturer Part Number
NHD-0208BZ-RN-YBW
Description
LCD MOD CHAR 2X8 Y/G REFLECT
Manufacturer
Newhaven Display
Series
NHD-0208BZ-Rr
Datasheet
1.NHD-0208BZ-RN-YBW.pdf
(9 pages)
Specifications of NHD-0208BZ-RN-YBW
Display Type
STN - Super-Twisted Nematic
Display Mode
Reflective
Number Of Digits/alpha
16
Outline L X W X H
58.00mm x 32.00mm x 13.50mm
Viewing Area
38.00mm L x 16.00mm W
Backlight
Without Backlight
Display Format
8 x 2
Character Size
5.56mm H x 2.96mm W
Character Format
5 x 8 Dots
Voltage - Supply
5.0V
Dot Size
0.56mm W x 0.66mm H
Operating Temperature
-20°C ~ 70°C
Character Count X Line
8 x 2
Module Size (w X H X T)
58 mm x 32 mm x 9.5 mm
Fluid Type
STN Positive
Background Color
Yellow/Green
Voltage Rating
5 V
Operating Temperature Range
- 20 C to + 70 C
Backlight Type
None
For Use With
NHDEV - BOARD DEV LCD COG TFT 100X95MM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Interface
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
NHD-0208BZ-RN-YBW
Manufacturer:
Newhaven Display
Quantity:
135
4-bit Initialization:
/**********************************************************/
void command(char i)
{
}
/**********************************************************/
void write(char i)
{
}
/**********************************************************/
void Nybble()
{
}
/**********************************************************/
void init()
{
}
/**********************************************************/
P1 = i;
D_I =0;
R_W =0;
Nybble();
i = i<<4;
P1 = i;
Nybble();
P1 = i;
D_I =1;
R_W =0;
Nybble();
i = i<<4;
P1 = i;
Nybble();
E = 1;
Delay(1);
E = 0;
P1 = 0;
P3 = 0;
Delay(100);
P1 = 0x30;
Delay(30);
Nybble();
Delay(10);
Nybble();
Delay(10);
Nybble();
Delay(10);
P1= 0x20;
Nybble();
command(0x28);
command(0x10);
command(0x0F);
command(0x06);
//put data on output Port
//D/I=LOW : send instruction
//R/W=LOW : Write
//Send lower 4 bits
//Shift over by 4 bits
//put data on output Port
//Send upper 4 bits
//put data on output Port
//D/I=HIGH : send data
//R/W=LOW : Write
//Clock lower 4 bits
//Shift over by 4 bits
//put data on output Port
//Clock upper 4 bits
//enable pulse width
//Clock enable: falling edge
//Wait >15 msec after power is applied
//put 0x30 on the output port
//must wait 5ms, busy flag not available
//command 0x30 = Wake up
//must wait 160us, busy flag not available
//command 0x30 = Wake up #2
//must wait 160us, busy flag not available
//command 0x30 = Wake up #3
//can check busy flag now instead of delay
//put 0x20 on the output port
//Function set: 4-bit interface
//Function set: 4-bit/2-line
//Set cursor
//Display ON; Blinking cursor
//Entry Mode set
[8]
>= 300ns