深入解析NHD - 0208BZ - FSW - GBW - 3V3字符液晶显示模块

电子说

1.4w人已加入

描述

深入解析NHD - 0208BZ - FSW - GBW - 3V3字符液晶显示模块

在电子设计领域,液晶显示模块是人机交互中不可或缺的组件。今天,我们来详细了解Newhaven Display International推出的NHD - 0208BZ - FSW - GBW - 3V3字符液晶显示模块。

文件下载:NHD-0208BZ-FSW-GBW-3V3.pdf

一、产品概述

1. 型号含义

该模块的型号包含了丰富的信息:

  • “NHD - ”代表Newhaven Display。
  • “0208 - ”表示2行8字符的显示规格。
  • “BZ - ”为特定型号。
  • “F - ”是半透反射型。
  • “SW - ”表示侧面白色LED背光。
  • “G - ”代表STN - 灰色。
  • “B - ”是6:00视角。
  • “W - ”意味着宽温度范围( - 20°C ~ +70°C)。
  • “3V3 - ”表示3V的电源电压和3V的背光电压,且该产品符合RoHS标准。

2. 功能与特性

  • 显示规格为2行8字符,内置ST7066U控制器。
  • 采用 +3.0V电源供电,具有1/16占空比和1/5偏置。

二、机械与电气特性

1. 引脚说明

Pin No. Symbol External Connection Function Description
1 VSS Power Supply Ground
2 VDD Power Supply Supply Voltage for logic (+3.0V)
3 V0 Adj Power Supply Power supply for contrast (approx. 0V)
4 RS MPU Register select signal. RS = 0: Command, RS = 1: Data
5 R/W MPU Read/Write select signal, R/W = 1: Read R/W: = 0: Write
6 E MPU Operation enable signal. Falling edge triggered.
7 - 10 DB0 – DB3 MPU Four low order bi - directional three - state data bus lines. Not used during 4 - bit operation.
11 - 14 DB4 – DB7 MPU Four high order bi - directional three - state data bus lines.
A LED+ Power Supply Power supply for LED Backlight (+3.0V)
K LED - Power Supply Ground for Backlight

2. 电气特性

Item Symbol Condition Min. Typ. Max. Unit
Operating Temperature Range Top Absolute Max - 20 - +70 ⁰C
Storage Temperature Range Tst Absolute Max - 30 - +80 ⁰C
Supply Voltage VDD 2.7 3.0 3.3 V
Supply Current IDD Ta = 25°C, VDD = 3.0V - 1.0 1.5 mA
Supply for LCD (contrast) VDD - V0 Ta = 25°C - 3.0 - V
“H” Level input Vih 0.7 VDD - VDD V
“L” Level input Vil 0 - 0.6 V
“H” Level output Voh 0.75 VDD - - V
“L” Level output Vol - - 0.2 VDD V
Backlight Supply Voltage Vled - - 3.0 - V
Backlight Supply Current Iled Vled = 3.0V - 15 25 mA

3. 光学特性

Item Symbol Condition Min. Typ. Max. Unit
Viewing Angle - Vertical (top) AV Cr ≥2 - 25 -
Viewing Angle - Vertical (bottom) AV Cr ≥2 - 70 -
Viewing Angle - Horizontal (left) AH Cr ≥2 - 30 -
Viewing Angle - Horizontal (right) AH Cr ≥2 - 30 -
Contrast Ratio Cr - 2 - -
Response Time (rise) Tr - - 120 150 ms
Response Time (fall) Tf - - 120 150 ms

三、控制器与指令

1. 控制器信息

模块内置ST7066U控制器,其规格可从http://www.newhavendisplay.com/app_notes/ST7066U.pdf下载。DDRAM地址与显示位置对应关系如下: 1 2 4 5 6 7 8
00 01 02 03 04 05 06 07
40 41 42 43 44 45 46 47

2. 指令表

该模块提供了多种指令,用于控制显示、光标等操作,以下是部分指令示例: Instruction Instruction Code Description Description Time (270KHz)
Clear Display 0 0 0 0 0 0 0 0 0 Write "20H" to DDRAM and set DDRAM address to "00H" from AC 1.52 ms
Return Home 0 0 0 0 0 0 0 0 1 X Set DDRAM address to "00H" from AC and return cursor to its original position if shifted. The contents of DDRAM are not changed. 1.52 ms

四、初始化程序

1. 8位初始化

void command(char i) 
{
    P1 = i;
    D_I = 0;
    R_W = 0;
    E = 1;
    Delay(1);
    E = 0;
}

void write(char i) 
{
    P1 = i;
    D_I = 1;
    R_W = 0;
    E = 1;
    Delay(1);
    E = 0;
}

void init() 
{
    E = 0;
    Delay(100);
    command(0x30);
    Delay(30);
    command(0x30);
    Delay(10);
    command(0x30);
    Delay(10);
    command(0x38);
    command(0x0c);
    command(0x06);
}

2. 4位初始化

void command(char i) 
{
    P1 = i;
    D_I = 0;
    R_W = 0;
    Nybble();
    i = i < < 4;
    P1 = i;
    Nybble();
}

void write(char i) 
{
    P1 = i;
    D_I = 1;
    R_W = 0;
    Nybble();
    i = i < < 4;
    P1 = i;
    Nybble();
}

void Nybble() 
{
    E = 1;
    Delay(1);
    E = 0;
}

void init() 
{
    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);
}

五、质量与使用注意事项

1. 质量测试

该模块经过了多项质量测试,包括高温存储、低温存储、高温操作、低温操作、高温高湿操作、热冲击抵抗、振动测试和静电测试等,具体测试条件和时间可参考文档。

2. 使用注意事项

使用该液晶显示模块时,可参考www.newhavendisplay.com/specs/precautions.pdf中的注意事项。同时,关于保修信息和条款可访问http://www.newhavendisplay.com/index.php?main_page=terms。

通过以上对NHD - 0208BZ - FSW - GBW - 3V3字符液晶显示模块的详细解析,你是否对其有了更深入的了解呢?在实际设计中,你会考虑使用这款模块吗?欢迎在评论区分享你的想法。

打开APP阅读更多精彩内容
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

全部0条评论

快来发表一下你的评论吧 !

×
20
完善资料,
赚取积分