深入解析NHD - 0208BZ - FSW - GBW - 3V3字符液晶顯示模塊
在電子設(shè)計(jì)領(lǐng)域,液晶顯示模塊是人機(jī)交互中不可或缺的組件。今天,我們來(lái)詳細(xì)了解Newhaven Display International推出的NHD - 0208BZ - FSW - GBW - 3V3字符液晶顯示模塊。
文件下載:NHD-0208BZ-FSW-GBW-3V3.pdf
一、產(chǎn)品概述
1. 型號(hào)含義
該模塊的型號(hào)包含了豐富的信息:
- “NHD - ”代表Newhaven Display。
- “0208 - ”表示2行8字符的顯示規(guī)格。
- “BZ - ”為特定型號(hào)。
- “F - ”是半透反射型。
- “SW - ”表示側(cè)面白色LED背光。
- “G - ”代表STN - 灰色。
- “B - ”是6:00視角。
- “W - ”意味著寬溫度范圍( - 20°C ~ +70°C)。
- “3V3 - ”表示3V的電源電壓和3V的背光電壓,且該產(chǎn)品符合RoHS標(biāo)準(zhǔn)。
2. 功能與特性
- 顯示規(guī)格為2行8字符,內(nèi)置ST7066U控制器。
- 采用 +3.0V電源供電,具有1/16占空比和1/5偏置。
二、機(jī)械與電氣特性
1. 引腳說(shuō)明
| 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. 光學(xué)特性
| 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. 控制器信息
| 模塊內(nèi)置ST7066U控制器,其規(guī)格可從http://www.newhavendisplay.com/app_notes/ST7066U.pdf下載。DDRAM地址與顯示位置對(duì)應(yīng)關(guān)系如下: | 1 | 2 | … | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | |
| 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
2. 指令表
| 該模塊提供了多種指令,用于控制顯示、光標(biāo)等操作,以下是部分指令示例: | 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);
}
五、質(zhì)量與使用注意事項(xiàng)
1. 質(zhì)量測(cè)試
該模塊經(jīng)過(guò)了多項(xiàng)質(zhì)量測(cè)試,包括高溫存儲(chǔ)、低溫存儲(chǔ)、高溫操作、低溫操作、高溫高濕操作、熱沖擊抵抗、振動(dòng)測(cè)試和靜電測(cè)試等,具體測(cè)試條件和時(shí)間可參考文檔。
2. 使用注意事項(xiàng)
使用該液晶顯示模塊時(shí),可參考www.newhavendisplay.com/specs/precautions.pdf中的注意事項(xiàng)。同時(shí),關(guān)于保修信息和條款可訪問(wèn)http://www.newhavendisplay.com/index.php?main_page=terms。
通過(guò)以上對(duì)NHD - 0208BZ - FSW - GBW - 3V3字符液晶顯示模塊的詳細(xì)解析,你是否對(duì)其有了更深入的了解呢?在實(shí)際設(shè)計(jì)中,你會(huì)考慮使用這款模塊嗎?歡迎在評(píng)論區(qū)分享你的想法。
-
液晶顯示模塊
+關(guān)注
關(guān)注
0文章
130瀏覽量
12145
發(fā)布評(píng)論請(qǐng)先 登錄
深入解析NHD - 0208BZ - FSW - GBW - 3V3字符液晶顯示模塊
評(píng)論