探索NHD - 0208AZ - FSW - GBW - 3V3字符液晶顯示模塊
在電子設(shè)備的設(shè)計(jì)中,液晶顯示模塊是不可或缺的一部分,它為用戶提供直觀的信息展示。今天我們要深入探討的是Newhaven Display International推出的NHD - 0208AZ - FSW - GBW - 3V3字符液晶顯示模塊。
文件下載:NHD-0208AZ-FSW-GBW-3V3.pdf
一、產(chǎn)品概述
NHD - 0208AZ - FSW - GBW - 3V3是一款具有特定規(guī)格和特性的液晶顯示模塊。從型號來看:
- “NHD - ”代表Newhaven Display。
- “0208 - ”表示該模塊有2行,每行可顯示8個字符。
- “AZ - ”是具體的型號標(biā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行8字符的內(nèi)容,滿足基本的信息展示需求。
內(nèi)置控制器
內(nèi)置了ST7066U控制器,其詳細(xì)規(guī)格可從http://www.newhavendisplay.com/app_notes/ST7066U.pdf下載。
電源要求
采用 +3.0V的電源供電,工作時為1/16 duty,1/5 bias,符合RoHS標(biāo)準(zhǔn),環(huán)保且穩(wěn)定。
三、機(jī)械與電氣特性
引腳說明
| 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. These four are not used during 4 - bit operation. |
| 11 - 14 | DB4 – DB7 | MPU | Four high order bi - directional three - state data bus lines. |
| 15 | LED+ | Power Supply | Power supply for LED Backlight (+3.0V) |
| 16 | LED - | Power Supply | Ground for Backlight |
電氣參數(shù)
- 溫度范圍:存儲溫度范圍為 - 30°C ~ +80°C,工作溫度范圍為 - 20°C ~ +70°C。
- 電源電壓:VDD為2.7V ~ 3.3V,典型值3.0V。
- 電源電流:Ta = 25°C,VDD = 3.0V時,IDD為1.0 ~ 1.5mA。
- 對比度電源:Ta = 25°C時,VDD - V0為3.0V。
- 輸入輸出電平:“H” 電平輸入為0.7VDD ~ VDD,“L” 電平輸入為0 ~ 0.6V;“H” 電平輸出為0.75VDD,“L” 電平輸出為0.2VDD。
- 背光電源:Vled為3.0V,Iled在Vled = 3.0V時為15 ~ 25mA。
光學(xué)特性
- 視角:垂直視角(頂部)Cr ≥ 2時為25°,垂直視角(底部)Cr ≥ 2時為70°,水平視角(左右)Cr ≥ 2時均為30°。
- 對比度:對比度比率Cr為2。
- 響應(yīng)時間:上升響應(yīng)時間Tr為120 ~ 150ms,下降響應(yīng)時間Tf為120 ~ 150ms。
四、指令表
| 該模塊有一系列的指令,用于控制顯示和操作,例如: | Instruction | Instruction Code | Description | Description Time (270KHz) |
|---|---|---|---|---|
| Clear Display | 0 0 0 0 0 0 0 0 0 1 | 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 | |
| Entry Mode Set | 0 0 0 0 0 0 0 1 VD S | Sets cursor move direction and specifies display shift. These operations are performed during data write and read. | 37 us | |
| Display ON/OFF | 0 0 0 0 0 0 1 D C B | D = 1:entire display on C = 1:cursor on B = 1:cursor position on | 37 us |
這些指令通過不同的組合和設(shè)置,可以實(shí)現(xiàn)對顯示內(nèi)容、光標(biāo)位置等的精確控制。
五、初始化程序
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(0x10);
command(0x06);
}
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)
質(zhì)量測試
該模塊經(jīng)過了一系列的質(zhì)量測試,包括高溫存儲、低溫存儲、高溫操作、低溫操作、高溫高濕操作、熱沖擊抵抗、振動測試和靜電測試等。例如,高溫存儲測試在 +80°C下進(jìn)行48小時,低溫存儲測試在 - 30°C下進(jìn)行48小時。
使用注意事項(xiàng)
使用LCD/LCM時,需要注意一些事項(xiàng),具體可參考www.newhavendisplay.com/specs/precautions.pdf。同時,關(guān)于保修信息和條款可查看http://www.newhavendisplay.com/index.php?main_page=terms。
在實(shí)際設(shè)計(jì)中,工程師們需要根據(jù)這些特性和參數(shù),合理地將該模塊應(yīng)用到自己的項(xiàng)目中。你在使用類似液晶顯示模塊時,遇到過哪些問題呢?歡迎在評論區(qū)分享你的經(jīng)驗(yàn)。
-
液晶顯示模塊
+關(guān)注
關(guān)注
0文章
130瀏覽量
12145 -
初始化程序
+關(guān)注
關(guān)注
1文章
30瀏覽量
6887
發(fā)布評論請先 登錄
探索NHD - 0208AZ - FSW - GBW - 3V3字符液晶顯示模塊
評論