深入解析NHD - 0420DZ - FSB - GBW字符液晶顯示模塊
在電子設(shè)備的設(shè)計(jì)中,液晶顯示模塊是不可或缺的一部分,它為用戶提供了直觀的信息展示界面。今天,我們就來(lái)詳細(xì)解析Newhaven Display International推出的NHD - 0420DZ - FSB - GBW字符液晶顯示模塊。
一、模塊概述
NHD - 0420DZ - FSB - GBW是一款具有特定特性的字符液晶顯示模塊,其型號(hào)中的各個(gè)部分都有特定含義:
- “NHD - ”代表Newhaven Display。
- “0420 - ”表示該模塊具有4行20字符的顯示能力。
- “DZ - ”為具體的型號(hào)標(biāo)識(shí)。
- “F - ”代表半反半透特性。
- “SB - ”表示側(cè)面藍(lán)色LED背光。
- “G - ”表示STN - 灰色。
- “B - ”代表6:00視角。
- “W - ”意味著寬溫度范圍( - 20°C ~ +70°C),并且該模塊符合RoHS標(biāo)準(zhǔn)。
二、功能與特性
2.1 顯示能力
該模塊具備4行20字符的顯示能力,能夠清晰地展示較多的文本信息,滿足一般的顯示需求。
2.2 內(nèi)置控制器
內(nèi)置ST7066U控制器,為模塊的穩(wěn)定運(yùn)行提供了保障。其具體的規(guī)格說(shuō)明可從http://www.newhavendisplay.com/app_notes/ST7066U.pdf下載獲取。
2.3 電源與參數(shù)
采用 +5.0V 電源供電,具有1/16 duty和1/5 bias的特性,并且符合RoHS標(biāo)準(zhǔn),環(huán)保可靠。
三、機(jī)械與電氣特性
3.1 引腳說(shuō)明
| Pin No. | Symbol | External Connection | Function Description |
|---|---|---|---|
| 1 | VSS | Power Supply | Ground |
| 2 | VDD | Power Supply | Supply voltage for logic (+5.0V) |
| 3 | V0 | Power Supply | Power supply for contrast (approx. 0.5V) |
| 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 (+5.0V via on - board resistor) |
| 16 | LED - | Power Supply | Ground for backlight |
推薦使用2.54mm間距的引腳作為L(zhǎng)CD連接器。
3.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 | 4.5 | 5.0 | 5.5 | V | |
| Supply Current | IDD | Ta = 25°C, VDD = 5.0V | - | 3.5 | 5.0 | mA |
| Supply for LCD (contrast) | VDD - V0 | Ta = 25°C | - | 4.5 | - | V |
| “H” Level input | Vih | 0.7 * VDD | - | VDD | V | |
| “L” Level input | Vil | VSS | - | 0.6 | V | |
| “H” Level output | Voh | 3.9 | - | VDD | V | |
| “L” Level output | Vol | - | - | 0.4 | V | |
| Backlight Supply Voltage | Vled | - | - | 5.0 | - | V |
| Backlight Supply Current | Iled | Vled = 5.0V | 30 | - | 40 | mA |
3.3 光學(xué)特性
| Item | Symbol | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| Viewing Angle – Top | - | Cr ≥ 2 | - | 35 | - | ? |
| Viewing Angle – Bottom | - | - | 60 | - | ? | |
| Viewing Angle – Left | - | - | 40 | - | ? | |
| Viewing Angle – Right | - | - | 40 | - | ? | |
| Contrast Ratio | Cr | - | 6 | - | - | |
| Response Time (rise) | Tr | - | - | 150 | 250 | ms |
| Response Time (fall) | Tf | - | - | 150 | 250 | ms |
四、控制器信息
4.1 顯示字符地址碼
| 該模塊的顯示字符地址碼如下: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | OA | 0B | 0C | 0D | 0E | OF | 10 | 11 | 12 | 13 | |
| 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 4A | 4B | 4C | 4D | 4E | 4F | 50 | 51 | 52 | 53 | |
| 14 | 15 | 16 | 17 | 18 | 19 | IA | IB | IC | ID | IE | IF | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | |
| 54 | 55 | 56 | 57 | 58 | 59 | 5A | 5B | 5C | 5D | 5E | 5F | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 |
4.2 指令表
| Instruction | Instruction Code | Description | Description Time (270KHz) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RS | R/W | DB7 | DB6 | DB5 | DB4 | DB3 | DB2 | DB1 | DB0 | |||
| 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 |
| Cursor or Display Shift | 0 | 0 | 0 | 0 | 0 | 1 | S/C | R/L | X | X | Set cursor moving and display shift control bit, and the direction, without changing DDRAM data. | 37 us |
| Function Set | 0 | 0 | 0 | 0 | 1 | DL | N | F | X | X | DL:interface data is 8/4 bits N:number of line is 2/1 F:font size is 5x11/5x8 | 37 us |
| Set CGRAM address | 0 | 0 | 0 | 1 | AC5 | AC4 | AC3 | AC2 | AC1 | AC0 | Set CGRAM address in address counter | 37 us |
| Set DDRAM address | 0 | 0 | 1 | AC6 | AC5 | AC4 | AC3 | AC2 | AC1 | AC0 | Set DDRAM address in address counter | 37 us |
| Read Busy flag and address | 0 | 1 | BF | AC6 | AC5 | AC4 | AC3 | AC2 | AC1 | AC0 | Whether during internal operation or not can be known by reading BF.The contents of address counter can also be read. | 0 us |
| Write data to RAM | 1 | 0 | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | Write data into internal RAM (DDRAM/CGRAM) | 37 us |
| Read data from RAM | 1 | 1 | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | Read data from internal RAM (DDRAM/CGRAM) | 37 us |
五、時(shí)序特性
5.1 從MPU向ST7066U寫(xiě)數(shù)據(jù)
在寫(xiě)模式下,涉及到使能脈沖寬度、使能上升/下降時(shí)間等參數(shù)。
5.2 從ST7066U向MPU讀數(shù)據(jù)
讀模式下,有使能脈沖寬度、使能上升/下降時(shí)間、地址建立時(shí)間、地址保持時(shí)間、數(shù)據(jù)建立時(shí)間和數(shù)據(jù)保持時(shí)間等參數(shù)。
六、內(nèi)置字體表
模塊內(nèi)置了特定的字體表,為顯示提供了多樣化的字符選擇。
七、初始化程序
7.1 8位初始化
提供了詳細(xì)的8位初始化程序代碼,通過(guò)一系列的命令和延時(shí)操作,完成模塊的初始化。
7.2 4位初始化
同樣給出了4位初始化的程序代碼,包括命令發(fā)送、數(shù)據(jù)寫(xiě)入等操作。
八、質(zhì)量信息與注意事項(xiàng)
8.1 質(zhì)量測(cè)試
對(duì)模塊進(jìn)行了多項(xiàng)質(zhì)量測(cè)試,包括高溫存儲(chǔ)、低溫存儲(chǔ)、高溫操作、低溫操作、高溫/高濕度操作、熱沖擊抗性、振動(dòng)測(cè)試和靜電測(cè)試等,確保模塊在不同環(huán)境下的可靠性。
8.2 注意事項(xiàng)
使用該模塊時(shí),需要注意避免冷凝現(xiàn)象,并且在特定測(cè)試后需在25°C、0%RH環(huán)境下存儲(chǔ)4小時(shí)。同時(shí),振動(dòng)測(cè)試是對(duì)產(chǎn)品本身進(jìn)行,而非在容器內(nèi)。更多使用LCDs/LCMs的注意事項(xiàng)可參考www.newhavendisplay.com/specs/precautions.pdf,保修信息和條款可查看http://www.newhavendisplay.com/index.php?main_page=terms。
在實(shí)際設(shè)計(jì)中,工程師們需要根據(jù)具體的應(yīng)用場(chǎng)景,合理利用該模塊的各項(xiàng)特性,確保設(shè)備的穩(wěn)定運(yùn)行。大家在使用過(guò)程中遇到過(guò)哪些問(wèn)題呢?歡迎在評(píng)論區(qū)分享交流。
發(fā)布評(píng)論請(qǐng)先 登錄
深入解析NHD - 0420DZ - FSB - GBW字符液晶顯示模塊
評(píng)論