参数资料
型号: NHD-0216K1Z-FL-YBW
厂商: Newhaven Display Intl
文件页数: 8/9页
文件大小: 517K
描述: LCD MOD CHAR 2X16 Y/G TRANSFL
产品培训模块: NHDev LCD Development Board
Character and Graphic LCD Display
Serial LCD Displays
标准包装: 50
系列: NHD-0216K1Z-F
显示器类型: STN - 超扭转向列
显示模式: 穿透/反射式
数字/字母数: 32
外形L x W x H: 80mm x 36.00 x 13.20mm
可视范围: 64.50mm L x 16.40mm W
背光: LED - 黄/绿
显示格式: 16 x 2
字符尺寸: 5.23mm H x 3.00mm W
字符格式: 5 x 8 点
电源电压: 5.0V
点尺寸: 0.56mm W x 0.61mm H
工作温度: -20°C ~ 70°C
产品目录页面: 2847 (CN2011-ZH PDF)
配用: NHDEV DEVELOPMENT BOARD-ND - BOARD DEV LCD COG TFT 100X95MM
[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-0216K1Z-FSA-FBW-L LCD MOD CHAR 2X16 AMB TRANSFL
NHD-0216K1Z-FSA-GBW-L LCD MOD CHAR 2X16 AMB TRANSFL
NHD-0216K1Z-FSB-FBW-L LCD MOD CHAR 2X16 BLUE TRANSFL
NHD-0216K1Z-FSB-GBW-L LCD MOD CHAR 2X16 BLUE TRANSFL
NHD-0216K1Z-FSO-FBW-L LCD MOD CHAR 2X16 ORN TRANSFL
相关代理商/技术参数
参数描述
NHD-0216K1Z-FS 制造商:NEWHAVEN 制造商全称:NEWHAVEN 功能描述:Character Liquid Crystal Display Module
NHD-0216K1Z-FS(RGB)-FBW 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 80.0 x 36.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216K1Z-FS(RGB)-FBW-REV1 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 80.0 x 36.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216K1Z-FSA-FBW-L 功能描述:LCD字符显示模块与配件 FSTN (+) Transfl 80.0 x 36.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk
NHD-0216K1Z-FSA-GBW-L 功能描述:LCD字符显示模块与配件 STN- GRAY Transfl 80.0 x 36.0 RoHS:否 制造商:Lumex 显示模式:Transflective 字符计数 x 行:16 x 2 特点: 流体类型:STN 接口: 背景色: 工作温度范围:- 20 C to + 70 C 封装:Bulk