NHD-0216K1Z-NSB-FBW-L字符液晶顯示模塊技術解析
在電子設備的設計中,液晶顯示模塊是不可或缺的重要組成部分。今天我們就來深入了解一下Newhaven Display International推出的NHD - 0216K1Z - NSB - FBW - L字符液晶顯示模塊。
文件下載:NHD-0216K1Z-NSB-FBW-L.pdf
一、產(chǎn)品概述
NHD - 0216K1Z - NSB - FBW - L是一款具有特定特性的字符液晶顯示模塊。從其型號可以看出很多關鍵信息:
- “NHD - ”代表Newhaven Display品牌。
- “0216 - ”表明該模塊為2行×16字符的顯示規(guī)格。
- “K1Z - ”是其特定的型號。
- “N - ”表示為透射式。
- “SB - ”代表側邊藍色LED背光。
- “F - ”是FSTN負性顯示。
- “B - ”意味著最佳視角為6:00方向。
- “W - ”表示寬溫度范圍。
- “L - ”表示低功耗,電流為20mA,并且該產(chǎn)品符合RoHS標準。
二、功能與特性
顯示規(guī)格
該模塊具有2行×16字符的顯示能力,能夠滿足一般的文本顯示需求,比如顯示簡單的菜單、狀態(tài)信息等。
內(nèi)置控制器
內(nèi)置ST7066U控制器,這為模塊的穩(wěn)定運行提供了保障。同時,它采用 +5.0V 電源供電,工作在1/16 duty、1/5 bias的模式下。
三、機械與引腳信息
機械繪圖
機械繪圖包含了模塊的詳細尺寸和結構信息,不過需要注意的是,這些信息屬于Newhaven Display International的專有財產(chǎn),未經(jīng)許可不得復制、再現(xiàn)或披露。
引腳描述與接線圖
| Pin No. | Symbol | External Connection | Function Description |
|---|---|---|---|
| 1 | VSS | Power Supply | Ground |
| 2 | VDD | Power Supply | Supply Voltage for Logic (+5.0V) |
| 3 | V0 | Adj. Power Supply | Supply Voltage 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 | Backlight Anode (+5.0V via on - board resistor) |
| 16 | LED - | Power Supply | Backlight Cathode (Ground) |
推薦使用2.54mm間距的引腳作為LCD連接器。
四、電氣與光學特性
電氣特性
| 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.8 | 5.0 | 5.2 | V |
| Supply Current | IDD | VDD = 5.0V | 1.0 | 1.5 | 3.0 | mA |
| Supply for LCD (contrast) | VLCD | TOP = 25°C | 4.2 | 4.4 | 4.6 | 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 | - | VSS | - | 0.4 | V |
| Backlight Supply Voltage | VLED | - | 4.8 | 5.0 | 5.2 | V |
| Backlight Supply Current | ILED | VLED = 5.0V | 10 | 15 | 20 | mA |
光學特性
| Item | Symbol | Condition | Min. | Typ. | Max. | Unit | ||
|---|---|---|---|---|---|---|---|---|
| Optimal Viewing Angles | Top | ?Y+ | CR ≥ 2 | - | 40 | - | ? | |
| Bottom | ?Y - | - | 60 | - | ? | |||
| Left | θX - | - | 60 | - | ? | |||
| Right | θX+ | - | 60 | - | ? | |||
| Contrast Ratio | CR | - | 2 | 5 | - | - | ||
| Response Time | Rise | TR | TOP = 25°C | - | 150 | 250 | ms | |
| Fall | TF | - | 200 | 300 | ms |
這些特性決定了模塊在不同環(huán)境下的工作表現(xiàn),工程師在設計時需要根據(jù)實際需求進行考慮。比如,在高溫或低溫環(huán)境下使用時,要確保模塊的工作溫度范圍能夠滿足要求。
五、控制器信息
該模塊內(nèi)置ST7066U控制器,其詳細規(guī)格可從http://www.newhavendisplay.com/app_notes/ST7066U.pdf下載。同時,文檔中還給出了DDRAM地址的相關信息,這對于數(shù)據(jù)的存儲和顯示至關重要。
六、命令表
| 模塊提供了一系列的命令,用于控制顯示的各種操作,如清屏、光標移動、顯示開關等。以下是部分命令的介紹: | Instruction | Instruction code | Description | 270 KHZ Execution time (f OSC = | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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.52ms | |
| Return Home | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | - | Set DDRAM Address to “00H” from AC and return cursor to its original position if shifted. The contents of DDRAM are not changed. | 1.52ms |
這些命令的執(zhí)行時間和功能不同,工程師需要根據(jù)實際需求合理使用。比如,在需要快速清屏時,就可以使用“Clear Display”命令。
七、時序特性
寫數(shù)據(jù)
| 從MPU向ST7066U寫數(shù)據(jù)時,有一系列的時序要求,如使能周期時間(Tc)、使能脈沖寬度(TPW)等。 | Tc | Enable Cycle Time | Pin E | 1200 | ns | ||
|---|---|---|---|---|---|---|---|
| TPW | Enable Pulse Width | Pin E | 140 | ns | |||
| TR,TF | Enable Rise/Fall Time | Pin E | 25 | ns | |||
| TAS | Address Setup Time | Pins: RS,RW,E | 0 | 0 | ns | ||
| TAH | Address Hold Time | Pins: RS,RW,E | 10 | - | ns | ||
| TDSW | Data Setup Time | Pins: DB0 - DB7 | 40 | - | ns | ||
| TH | Data Hold Time | Pins: DB0 - DB7 | 10 | ns |
讀數(shù)據(jù)
從ST7066U向MPU讀數(shù)據(jù)時,也有相應的時序要求。在設計電路時,必須嚴格按照這些時序要求進行,否則可能會導致數(shù)據(jù)傳輸錯誤。
八、內(nèi)置字體表
模塊內(nèi)置了字體表,這為顯示字符提供了基礎。不過文檔中給出的字體表部分信息不太完整,工程師可以根據(jù)實際情況進一步查閱相關資料。
九、初始化程序
8位初始化
文檔中給出了8位初始化的示例程序,通過一系列的命令和延時操作,完成模塊的初始化。例如:
void command(char i)
{
P1 = i; //put data on output Port
D_I = 0;
R_W = 0; //R/W = LOW:Write
E = 1;
Delay (1);
Delay(1); //enable pulse width >= 300ns
E = 0; //Clock enable:falling edge
}
void write(char i) {
P1 = i; //put data on output Port
R_W = 0;
D_I = 1; //D/I = HIGH : send data
E = 1;
Delay (1);
Delay(1); //enable pulse width >= 300ns
E = 0;
}
void init()
{
E = 0;
Delay(100); //Wait >40 msec after power is applied
command (0x30); //command 0x30 = Wake up
Delay(30);
command (0x30); //command 0x30 = Wake up #2
Delay (10);
command (0x30); //command 0x30 = Wake up #3
Delay (10);
command (0x38); //Function set: 8 - bit/2 - line
command (0x10);
command (0x0c);
command (0x06); //Set cursor //Display ON; Cursor ON //Entry mode set
}
4位初始化
同樣,也有4位初始化的示例程序,其原理和8位初始化類似,但在數(shù)據(jù)傳輸上有所不同。
十、質量與使用信息
質量測試
| 模塊進行了多項質量測試,如高溫存儲、低溫存儲、高溫操作、低溫操作、高溫高濕操作、熱沖擊抵抗、振動測試和靜電測試等。這些測試確保了模塊在不同環(huán)境下的可靠性。 | Test Item | Content of Test | Test Condition | Note |
|---|---|---|---|---|
| High Temperature storage | Endurance test applying the high storage temperature for a long time. | +80?C , 48hrs | 2 | |
| Low Temperature storage | Endurance test applying the low storage temperature for a long time. | -30?C , 48hrs | 1,2 |
使用注意事項
使用LCDs/LCMs時,需要注意一些事項,具體可查看www.newhavendisplay.com/specs/precautions.pdf。同時,關于保修信息和條款可訪問http://www.newhavendisplay.com/index.php?main_page=terms。
在實際設計中,電子工程師需要綜合考慮以上各個方面的信息,確保模塊能夠穩(wěn)定、可靠地工作。大家在使用這款模塊時,有沒有遇到過什么問題呢?歡迎在評論區(qū)分享你的經(jīng)驗。
-
液晶顯示模塊
+關注
關注
0文章
130瀏覽量
12145
發(fā)布評論請先 登錄
NHD-0216K1Z-NSB-FBW-L字符液晶顯示模塊技術解析
評論