NHD - 0108FZ - FL - YBW - 3V - C1字符液晶顯示模塊詳解
在電子設(shè)備設(shè)計(jì)中,顯示模塊是人機(jī)交互的重要組成部分。今天我們來詳細(xì)了解一下Newhaven Display公司的NHD - 0108FZ - FL - YBW - 3V - C1字符液晶顯示模塊,工程師們可以參考這些參數(shù)和特性,在設(shè)計(jì)中進(jìn)行合理的應(yīng)用。
文件下載:NHD-0108FZ-FL-YBW-3V-C1.pdf
模塊概述
模塊命名解析
- NHD -:代表Newhaven Display。
- 0108 -:表示該模塊為1行8字符顯示。
- FZ -:特定的型號(hào)標(biāo)識(shí)。
- F -:采用半透反射技術(shù)。
- L -:配備黃/綠色LED背光源。
- Y -:STN - 黃/綠色顯示模式。
- B -:6:00視角。
- W -:寬溫度范圍( - 20°C~ + 70°C)。
- 3V -:工作電壓為3V。
- C1 -:16針插頭,采用Samtec PN: TSW - 116 - 18 - T - S或等效的焊接在PCB板元件側(cè),且符合RoHS標(biāo)準(zhǔn)。
功能與特性
- 顯示能力:1行8字符顯示。
- 內(nèi)置控制器:采用SPLC780D或等效控制器。
- 電源供應(yīng):+3.0V電源。
- 驅(qū)動(dòng)方式:1/16 duty,1/5 bias。
- 環(huán)保標(biāo)準(zhǔn):符合RoHS標(biāo)準(zhǔn)。
引腳說明與接線圖
| Pin No. | Symbol | External Connection | Function Description |
|---|---|---|---|
| 1 | VSS | Power Supply | 接地 |
| 2 | VDD | Power Supply | 邏輯電源電壓( + 3.0V) |
| 3 | V0 | Adj Power Supply | 對比度電源(約0V) |
| 4 | RS | MPU | 寄存器選擇信號(hào),RS = 0為命令,RS = 1為數(shù)據(jù) |
| 5 | R/W | MPU | 讀寫選擇信號(hào),R/W = 1為讀,R/W = 0為寫 |
| 6 | E | MPU | 操作使能信號(hào),下降沿觸發(fā) |
| 7 - 10 | DB0 – DB3 | MPU | 四位低階雙向三態(tài)數(shù)據(jù)總線,4位操作時(shí)不使用 |
| 11 - 14 | DB4 – DB7 | MPU | 四位高階雙向三態(tài)數(shù)據(jù)總線 |
| 15 | LED+ | Power Supply | LED背光源電源( + 3.0V) |
| 16 | LED - | Power Supply | 背光源接地 |
電氣特性
| Item | Symbol | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| 工作溫度范圍 | Top | 絕對最大 | - 20 | - | + 70 | ?C |
| 存儲(chǔ)溫度范圍 | Tst | 絕對最大 | - 30 | - | + 80 | ?C |
| 電源電壓 | VDD | - | 2.7 | 3.0 | 3.3 | V |
| 電源電流 | IDD | Ta = 25°C,VDD = 3.0V | - | 1.5 | 2.5 | mA |
| LCD電源(對比度) | VDD - V0 | Ta = 25°C | - | 3.0 | - | V |
| “H” 電平輸入 | Vih | - | 2.2 | - | VDD | V |
| “L” 電平輸入 | Vil | - | 0 | - | 0.6 | V |
| “H” 電平輸出 | Voh | - | 2.4 | - | - | V |
| “L” 電平輸出 | Vol | - | - | - | 0.4 | V |
| 背光源電源電壓 | Vled | - | - | 3.0 | - | V |
| 背光源電源電流 | Iled | Vled = 3.0V | - | 120 | 140 | mA |
光學(xué)特性
| Item | Symbol | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| 垂直視角(頂部) | AV | Cr ≥ 2 | - | 35 | - | ? |
| 垂直視角(底部) | AV | Cr ≥ 2 | - | 60 | - | ? |
| 水平視角(左側(cè)) | AH | Cr ≥ 2 | - | 40 | - | ? |
| 水平視角(右側(cè)) | AH | Cr ≥ 2 | - | 40 | - | ? |
| 對比度 | Cr | - | - | 6 | - | - |
| 響應(yīng)時(shí)間(上升) | Tr | - | - | 150 | 250 | ms |
| 響應(yīng)時(shí)間(下降) | Tf | - | - | 150 | 250 | ms |
控制器信息
內(nèi)置S6A0069控制器,可在http://www.newhavendisplay.com/app_notes/S6A0069.pdf下載其規(guī)格說明。
指令表
| 該模塊提供了一系列指令,用于控制顯示、光標(biāo)等操作,不同指令有不同的執(zhí)行時(shí)間。例如: | Instruction | Instruction Code | Description | Execution time (fosc = 270 kHz) |
|---|---|---|---|---|
| Clear Display | 0 0 0 0 0 0 0 0 1 | 向DDRAM寫入 "20H" 并將DDRAM地址設(shè)置為 '00H" | 1.53 ms | |
| Return Home | 0 0 0 0 0 0 0 1 - | 將DDRAM地址設(shè)置為 "00H" 并將光標(biāo)返回原始位置(若已移動(dòng)),DDRAM內(nèi)容不變 | 1.53 ms |
初始化程序
8位初始化
/**********************************************************/
void command(char i)
{
P1 = i; //put data on output Port
D_I = 0; //D/I=LOW : send instruction
R_W = 0; //R/W=LOW : Write
E = 1;
Delay(1); //enable pulse width >= 300ns
E = 0; //Clock enable: falling edge
}
/**********************************************************/
void write(char i)
{
P1 = i; //put data on output Port
D_I = 1; //D/I=HIGH : send data
R_W = 0; //R/W=LOW: Write
E = 1;
Delay(1); //enable pulse width >= 300ns
E = 0; //Clock enable: falling edge
}
void init()
{
E = 0;
Delay(100); //Wait >15 msec after power is applied
command(0x30); //command 0x30 = Wake up
Delay(30); //must wait 5ms, busy flag not available
command(0x30); //command 0x30 = Wake up #2
Delay(10); //must wait 160us, busy flag not available
command(0x30); //command 0x30 = Wake up #3
Delay(10); //must wait 160us, busy flag not available
command(0x38); //Function set: 8-bit/2-line
command(0x0c); //Display ON; Cursor ON
command(0x06); //Entry mode set
}
/**********************************************************/
4位初始化
void command(char i)
{
P1 = i; //put data on output Port
D_I = 0; //D/I=LOW : send instruction
R_W = 0;
Nybble(); //Send lower 4 bits
i = i < 4; //Shift over by 4 bits
P1 = i; //put data on output Port
Nybble(); //Send upper 4 bits
}
void write(char i)
{
P1 = i; //put data on output Port
D_I = 1; //D/I=HIGH : send data
R_W = 0; //R/W=LOW : Write
Nybble(); //Clock lower 4 bits
i = i < 4; //Shift over by 4 bits
P1 = i; //put data on output Port
Nybble(); //Clock upper 4 bits
}
void Nybble()
{
E = 1;
Delay(1); //enable pulse width >= 300ns
E = 0; //Clock enable: falling edge
}
void init()
{
P1 = 0; P3 = 0;
Delay(100); //Wait >15 msec after power is applied
P1 = 0x30; //put 0x30 on the output port
Delay(30); //must wait 5ms, busy flag not available
Nybble(); //command 0x30 = Wake up
Delay(10); //must wait 160us, busy flag not available
Nybble(); //command 0x30 = Wake up #2
Delay(10); //must wait 160us, busy flag not available
Nybble(); //command 0x30 = Wake up #3
Delay(10);
P1 = 0x20; //put 0x20 on the output port
Nybble(); //Function set: 4-bit interface
command(0x28); //Function set: 4-bit/2-line
command(0x0F); //Display ON; Blinking cursor
command(0x06); //Entry Mode set
}
質(zhì)量信息與注意事項(xiàng)
質(zhì)量測試
該模塊經(jīng)過了多種環(huán)境和應(yīng)力測試,包括低溫存儲(chǔ)、高溫存儲(chǔ)、低溫工作、高溫高濕工作、熱沖擊、振動(dòng)和靜電放電測試等。
注意事項(xiàng)
- 注意測試時(shí)無冷凝現(xiàn)象。
- 部分測試需在25?C,0%RH環(huán)境下存儲(chǔ)4小時(shí)后進(jìn)行。
- 測試是針對產(chǎn)品本身,而非在容器內(nèi)進(jìn)行。
在使用LCDs/LCMs時(shí),可參考www.newhavendisplay.com/specs/precautions.pdf中的注意事項(xiàng)。關(guān)于保修信息和條款條件,可訪問http://www.newhavendisplay.com/index.php?main_page=terms 。
大家在實(shí)際設(shè)計(jì)中,是否遇到過與該模塊類似的顯示模塊,它們之間有哪些不同呢?歡迎在評(píng)論區(qū)分享你的經(jīng)驗(yàn)。
-
液晶顯示模塊
+關(guān)注
關(guān)注
0文章
130瀏覽量
12145 -
初始化程序
+關(guān)注
關(guān)注
1文章
30瀏覽量
6887
發(fā)布評(píng)論請先 登錄
NHD - 0108FZ - FL - YBW - 3V - C1字符液晶顯示模塊詳解
評(píng)論