参数资料
型号: NHD-0420H1Z-FSW-GBW-3V3
厂商: Newhaven Display Intl
文件页数: 8/9页
文件大小: 529K
描述: LCD MOD CHAR 4X20 WH TRANSFL
产品培训模块: NHDev LCD Development Board
产品变化通告: LCD Modules 3.0V Obsolescence 3/Nov/2011
标准包装: 50
显示器类型: STN - 超扭转向列
显示模式: 穿透/反射式
数字/字母数: 80
外形L x W x H: 79.00mm x 36.00mm x 13.00mm
可视范围: 60.00mm L x 28.00mm W
背光: LED - 白
显示格式: 20 x 4
字符尺寸: 5.15mm H x 2.35mm W
字符格式: 5 x 8 点
电源电压: 5.0V
点尺寸: 0.43mm W x 0.60mm H
工作温度: -20°C ~ 70°C
其它名称: NHD-0420H1Z-FSW-GBW
NHD-0420H1Z-FSW-GBW-ND
[8]?
?
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
}
/**********************************************************/
相关PDF资料
PDF描述
NHD-0420Z-RN-GBW LCD MOD CHAR 4X20 NO REFL
NHD-0440AZ-FL-GBW LCD MOD CHAR 4X40 Y/G TRANSFL
NHD-0440AZ-FL-YBW LCD MOD CHAR 4X40 Y/G TRANSFL
NHD-0440AZ-FSW-FBW LCD MOD CHAR 4X40 WH TRANSFL
NHD-0440AZ-NLY-FBW LCD MOD CHAR 4X40 Y/G TRANSM
相关代理商/技术参数
参数描述
NHD-0420Z-FL-YBW-3V0 功能描述:LCD MOD CHAR 4X20 Y/G TRANSFL RoHS:是 类别:光电元件 >> 显示器模块 - LCD,OLED 字符和数字 系列:- 产品培训模块:NHDev LCD Development Board 产品变化通告:LCD Modules 3.0V Obsolescence 3/Nov/2011 标准包装:50 系列:NHD-0416B1Z-F 显示器类型:STN - 超扭转向列 显示模式:穿透/反射式 数字/字母数:64 外形L x W x H:87.00mm x 60.00mm x 14.00mm 可视范围:61.80mm L x 25.20mm W 背光:LED - 绿 显示格式:16 x 4 字符尺寸:4.75mm H x 2.95mm W 字符格式:5 x 8 点 电源电压:5.0V 点尺寸:0.55mm W x 0.55mm H 接口:- 工作温度:-20°C ~ 70°C
NHD-0420Z-RN-GBS 功能描述:LCD字符显示模块与配件 4 x 20 STN-GRAY 86.0 x 39.6 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0420Z-RN-GBW 功能描述:LCD字符显示模块与配件 STN- GRAY Refl 86.0 x 39.6 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0440AZ-FL-GBW 功能描述:LCD字符显示模块与配件 4 x 40 STN-GRAY 190.0 x 54.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0440AZ-FL-YBW 功能描述:LCD字符显示模块与配件 STN- Y/G Transfl 190.0 x 54.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk