参数资料
型号: NHD-0116GZ-FSB-GBW
厂商: Newhaven Display Intl
文件页数: 8/9页
文件大小: 502K
描述: LCD MOD CHAR 1X16 BLUE TRANSFL
产品培训模块: NHDev LCD Development Board
Character and Graphic LCD Display
标准包装: 50
系列: NHD-0116GZ-F
显示器类型: STN - 超扭转向列
显示模式: 穿透/反射式
数字/字母数: 16
外形L x W x H: 151.00mm x 40.00mm x 13.50mm
可视范围: 120.00mm L x 23.00mm W
背光: LED - 蓝
显示格式: 16 x 1
字符尺寸: 14.54mm H x 6.00mm W
字符格式: 5 x 8 点
电源电压: 5.0V
点尺寸: 1.15mm W x 1.76mm H
工作温度: -20°C ~ 70°C
[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-0116GZ-FSO-FBW LCD MOD CHAR 1X16 ORN TRANSFL
NHD-0116GZ-FSPG-FBW LCD MOD CHAR 1X16 GRN TRANSFL
NHD-0116GZ-FSR-FBW LCD MOD CHAR 1X16 RED TRANSFL
NHD-0116GZ-FSW-FBW LCD MOD CHAR 1X16 WHITE TRANSFL
NHD-0116GZ-FSW-GBW LCD MOD CHAR 1X16 WHITE TRANSFL
相关代理商/技术参数
参数描述
NHD-0116GZ-FSO-FBW 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 151.0 x 40.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0116GZ-FSPG-FBW 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 151.0 x 40.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0116GZ-FSR-FBW 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 151.0 x 40.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0116GZ-FSW-BBW 功能描述:LCD字符显示模块与配件 1X16 STN BLUE 5V 151.0 x 40.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0116GZ-FSW-FBW 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 151.0 x 40.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk