电子说
在电子设备的设计中,液晶显示模块是不可或缺的一部分,它为用户提供了直观的信息交互界面。今天我们就来深入了解一下Newhaven Display International推出的NHD-C0220AZ-FSW-FTW COG(Chip-on-Glass)液晶显示模块。
NHD-C0220AZ-FSW-FTW是一款具有特定功能和特性的液晶显示模块。从其型号可以看出一些关键信息:
该模块可显示2行x 20字符,内置NT7605控制器,采用5V电源供电,具备1/16 duty和1/5 bias的特性。
| 其引脚分配明确,各引脚功能如下: | Pin No. | Symbol | External Connection | Function Description |
|---|---|---|---|---|
| 1 | GND | Power Supply | Ground | |
| 2 | V 5 | Adj. Power Supply | Supply Voltage for Contrast (approx. 0.6V) | |
| 3 | V DD | Power Supply | Supply Voltage for LCD and Logic | |
| 4 | RS | MPU | Register Select: 0=Instruction, 1=Data | |
| 5 | R/W | MPU | Read / Write select: 0=Write, 1=Read | |
| 6 | E | MPU | Operation Enable Signal. | |
| 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. | |
| A | LED + | Power Supply | Backlight Anode (30 mA @ 3V) | |
| K | LED - | Power Supply | Backlight Cathode (Ground) |
该模块内置NT7605H - BDT01控制器,相关规格可从http://www.newhavendisplay.com/app_notes/NT7605.pdf下载。需要注意的是,NT7605控制器的忙标志可能并非总是响应及时,在设计时应添加足够的延迟和/或超时检查程序,以确保在忙标志未清除时仍能继续操作。
| 该模块提供了一系列指令,用于控制显示和操作,例如: | Instruction | INSTRUCTION CODE | Description | (fosc = 540KHZ) Execution Time (Max) |
|---|---|---|---|---|
| Clear Display | 0 0 0 0 0 0 0 0 0 0 1 | Clear entire display area. Restore display from shift, and load address counter with DDRAM address 00H | 1.64ms | |
| Display/ Cursor Home | 0 0 0 0 0 0 0 0 0 1 - | Restore display from shift and load address counter with DDRAM address 00H | 1.64ms | |
| Entry mode Set | 0 0 0 0 0 0 0 1 I/D S | Specify direction of cursor movement and display shift mode. This operation takes place after each data transfer (read/write) | 40µs |
包括从MPU到NT7605的写入和读取周期的时序要求,在设计电路时需要严格按照这些时序进行操作,以确保数据的正确传输。
模块内置了特定的字体表,方便用户进行字符显示。
文档中提供了一个初始化程序示例,通过一系列指令对模块进行初始化设置,例如:
'INIT--
A = &H30
Call Writecom 'wake up
Waitms 100
Call Writecom 'wake up
Waitms 10
Call Writecom 'wake up
Waitms 10
A=&H38
Call Writecom 'function set
A=&H10
Call Writecom 'shift display=no
A=&HOC
Call Writecom 'display on
A=&H06
Call Writecom 'entry mode set
该模块经过了多项质量测试,包括高温存储、低温存储、高温操作、低温操作、高温高湿操作、热冲击抗性、振动测试和静电测试等。
在使用LCD/LCM时,需要注意一些事项,具体可参考www.newhavendisplay.com/specs/precautions.pdf。同时,关于保修信息和条款可查看http://www.newhavendisplay.com/index.php?main_page=terms。
总的来说,NHD-C0220AZ-FSW-FTW液晶显示模块具有丰富的功能和特性,在电子设备设计中有着广泛的应用前景。电子工程师在使用该模块时,需要充分了解其各项参数和要求,以确保设计的稳定性和可靠性。大家在实际应用中是否遇到过类似模块的使用问题呢?欢迎交流分享。
全部0条评论
快来发表一下你的评论吧 !