Newhaven Display NHD字符液晶顯示模塊產(chǎn)品解析
在電子設(shè)備的設(shè)計(jì)中,液晶顯示模塊是不可或缺的一部分,它為用戶提供了直觀的信息展示界面。今天,我們就來(lái)詳細(xì)了解一下Newhaven Display的NHD字符液晶顯示模塊,看看它有哪些特點(diǎn)和優(yōu)勢(shì)。
一、產(chǎn)品概述
Newhaven Display的NHD字符液晶顯示模塊具有1行8字符的顯示能力,內(nèi)置ST7066U控制器,采用+5.0V電源供電,具備1/16 duty、1/4 bias的驅(qū)動(dòng)特性,并且符合RoHS標(biāo)準(zhǔn),環(huán)??煽?。
很遺憾,在搜索ST7066U控制器的特點(diǎn)和優(yōu)勢(shì)時(shí)出現(xiàn)網(wǎng)絡(luò)超時(shí)問(wèn)題,未能獲取到相關(guān)內(nèi)容。不過(guò)我們可以繼續(xù)依據(jù)文檔對(duì)NHD字符液晶顯示模塊展開(kāi)介紹。
二、機(jī)械與引腳信息
1. 機(jī)械繪圖
該模塊的機(jī)械繪圖包含了詳細(xì)的尺寸信息,標(biāo)準(zhǔn)公差為線性±0.3mm。其顯示模式為STN正性、黃綠、半透反射,最佳視角為6:00方向。驅(qū)動(dòng)IC為ST7066U,具備8/4 - Bit MPU接口。
2. 引腳分配與描述
| Pin No. | Symbol | External Connection | Function Description |
|---|---|---|---|
| 1 | VSS | Power Supply | Ground |
| 2 | VDD | Power Supply | Supply Voltage for LCD and Logic (+5.0V) |
| 3 | V0 | Adj. Power Supply | Supply Voltage for Contrast (approx. +0.6V) |
| 4 | RS | MPU | Register Select signal: ‘0’ = Command, ‘1’ = Data |
| 5 | R/W | MPU | Read/Write select signal: ‘1’ = Read, ‘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. |
| 15 | NC | - | No Connect |
| 16 | NC | - | No Connect |
推薦使用2.54mm間距的引腳作為L(zhǎng)CD連接器。
三、電氣與光學(xué)特性
1. 電氣特性
| 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 | 0.5 | 1.5 | 2 | mA |
| Supply for LCD (contrast) | VDD - V0 | 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 |
2. 光學(xué)特性
| Item | Symbol | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| Optimal Viewing Angles (Top) | ?Y+ | CR ≥ 2 | - | 40 | - | ° |
| Optimal Viewing Angles (Bottom) | ?Y - | - | 60 | - | ° | |
| Optimal Viewing Angles (Left) | θX - | - | 60 | - | ° | |
| Optimal Viewing Angles (Right) | θX+ | - | 60 | - | ° | |
| Contrast Ratio | CR | - | 2 | 5 | - | - |
| Response Time (Rise) | TR | TOP = 25°C | - | 150 | 250 | ms |
| Response Time (Fall) | TF | - | 200 | 300 | ms |
四、指令與時(shí)序特性
1. 指令表
模塊提供了一系列指令,用于控制顯示、光標(biāo)、數(shù)據(jù)讀寫等操作。例如,Clear Display指令可將“20H”寫入DDRAM并將DDRAM地址設(shè)置為“00H”,執(zhí)行時(shí)間為1.52ms;Entry mode Set指令可設(shè)置光標(biāo)移動(dòng)方向和顯示移位,執(zhí)行時(shí)間為37μs。
2. 時(shí)序特性
在數(shù)據(jù)讀寫操作中,有明確的時(shí)序要求。如在MPU向ST7066U寫入數(shù)據(jù)時(shí),Enable Cycle Time(Tc)要求為1200ns,Enable Pulse Width(TPW)為140ns等;在從ST7066U向MPU讀取數(shù)據(jù)時(shí),也有相應(yīng)的時(shí)序參數(shù)。
五、初始化程序示例
1. 8 - bit初始化
void command(char i)
{
P1 = i; D1 = 0; //put data on output Port //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; DI = 1; R_W = 0; //put data on output Port //D/l=HIGH: send data //R/W=LOW: Write
E = 1;
Delay(1); //enable pulse width >= 300ns
E = 0; //Clock enable: falling edge
}
void init()
{
E = 0; Delay(100); command(0x30); //Wait >40 msec after power is applied //command 0x30 = Wake up
Delay(30); //must wait 5ms, busy flag not available
command(0x30); //command 0x30 = Wake up #2
Delay(10); command(0x30); //must wait 160us, busy flag not available //command 0x30 = Wake up #3
Delay(10); command(0x38); command(0x10); command(0x0c); command(0x06); //Set cursor //must wait 160us, busy flag not available //Function set: 8 - bit/2 - line //Display ON; Cursor ON //Entry mode set
}
2. 4 - bit初始化
void command(char i)
{
P1 = i; D1 = 0; //put data on output Port /D/I=LOW: send instruction
i = i < 4; R_W = 0; Nybble(); //Send Upper 4 bits //R/W=LOW: Write //Shift over by 4 bits
P1 = i; Nybble(); //put data on output Port //Send Lower 4 bits
}
void write(char i)
{
P1 = i; DI = 1; R_W = 0; //put data on output Port //D/l=HIGH: send data //R/W=LOW: Write
Nybble(); //Clock Upper 4 bits
i = i < 4; //Shift over by 4bits
P1 = i; //put data on output Port
Nybble(); //Clock Lower 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); P1 = 0x30; //Wait >40 msec after power is applied //put 0x30 on the output port
Delay(30); Nybble(); //must wait 5ms, busy flag not available //command 0x30 = Wake up
Nybble(); P1 = 0x20; command(0x06); command(0x0F); Delay(10); command(0x10); Nybble(); command(0x28); Delay(10); Nybble(); Delay(10); //put 0x20 on the output port //can check busy flag now instead of delay //Function set: 4 - bit interface //command 0x30 = Wake up #3 //Function set: 4 - bit/2 - line //must wait 160us, busy flag not available //Set cursor //Display ON; Blinking cursor //command 0x30 = Wake up #2 //must wait 160us, busy flag not available //Entry Mode set
}
六、質(zhì)量信息
該模塊經(jīng)過(guò)了多項(xiàng)質(zhì)量測(cè)試,包括高溫存儲(chǔ)、低溫存儲(chǔ)、高溫運(yùn)行、低溫運(yùn)行、高溫高濕運(yùn)行、熱沖擊抵抗、振動(dòng)測(cè)試和靜電測(cè)試等。例如,高溫存儲(chǔ)測(cè)試在+80?C下進(jìn)行48小時(shí),低溫存儲(chǔ)測(cè)試在 - 30?C下進(jìn)行48小時(shí)等。
對(duì)于電子工程師來(lái)說(shuō),在設(shè)計(jì)使用該模塊時(shí),需要充分考慮其各項(xiàng)特性和參數(shù),以確保系統(tǒng)的穩(wěn)定性和可靠性。大家在實(shí)際應(yīng)用中是否遇到過(guò)類似模塊的使用問(wèn)題呢?不妨在評(píng)論區(qū)分享一下。
-
產(chǎn)品特性
+關(guān)注
關(guān)注
0文章
135瀏覽量
988
發(fā)布評(píng)論請(qǐng)先 登錄
Newhaven Display NHD字符液晶顯示模塊產(chǎn)品解析
評(píng)論