电子说
作为电子工程师,在选择显示模块时,我们总是在寻找性能卓越、功能丰富且易于集成的产品。新汉(Newhaven Display)的NHD - 0216MW - EB3字符OLED显示模块就是这样一款值得关注的产品。接下来,我们将深入解析这款显示模块的各项特性和技术细节。
文件下载:NHD-0216MW-EB3.pdf
NHD - 0216MW - EB3是一款具有2行16字符显示能力的OLED显示模块。从型号命名上,我们可以获取很多关键信息:
具备2行x 16字符的显示能力,能够清晰地显示文本信息,满足大多数应用场景的需求。
内置LCD可比控制器US2066,为模块的稳定运行提供了有力保障。你可以从这里下载其详细规格说明。
采用SPI MPU接口,方便与微处理器进行通信,实现数据的快速传输。
支持2.8V或5.0V的工作电压,并且符合RoHS标准,具有环保特性。同时,它还具备超薄设计、低功耗和超高对比度的优点,能够在不同的应用环境中发挥出色的性能。
| Pin No. | Symbol | External Connection | Function Description |
|---|---|---|---|
| 1 | GND | Power Supply | Ground |
| 2 | VDD_SEL | Power Supply | Supply Voltage for Logic Operation VDD_SEL must be No Connect for 5V operation, VDD_SEL = 2.8V for low voltage operation. |
| 3 | VDDIO | Power Supply | Supply Voltage for Logic I/O VDDIO = 5V for 5V operation, VDDIO = 2.8V for low voltage operation. |
| 4 | SCLK | MPU | Serial Clock signal |
| 5 | SDI | MPU | Serial Data Input signal |
| 6 | SDO | MPU | Serial Data Output signal |
| 7 | /CS | MPU | Active LOW Chip Select signal |
| 8 | /RES | MPU | Active LOW Reset signal |
| Solder Jumper Name | 2.8V Operation | 5V Operation |
|---|---|---|
| SJ1 | Open (default) | Short |
在实际设计中,我们需要根据具体的电源需求来正确连接这些引脚和设置跳线,以确保模块的正常工作。你是否在实际项目中遇到过因为引脚连接错误而导致模块无法正常工作的情况呢?
| Item | Symbol | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| Operating Temperature Range | Top | Absolute Max | -40 | - | +85 | ⁰C |
| Storage Temperature Range | Tst | Absolute Max | -40 | - | +90 | ⁰C |
| Supply Voltage for Logic | VDD | 2.4 | 2.8 | VDDIO | V | |
| Supply Voltage for I/O Pins | VDDIO | (2.8V I/O Application) | 2.4 | 2.8 | 3.6 | V |
| Supply Voltage for Logic | VDD | - | - | - | V | |
| Supply Voltage for I/O Pins | VDDIO | (5V I/O Application) | 4.4 | 5.0 | 5.5 | V |
| Supply Current | IDD | - | - | 10 | 40 | mA |
| Sleep Mode Current | IDD SLEEP | - | - | .05 | 1 | mA |
| “H” Level input | Vih | 0.8*VDD | - | - | V | |
| “L” Level input | Vil | - | - | 0.2*VDD | V | |
| “H” Level output | Voh | 0.9*VDD | - | - | V | |
| “L” Level output | Vol | - | - | 0.1*VDD | V |
| Item | Symbol | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| Viewing Angle – Top | Cr ≥ 10,000:1 | 80 | - | - | ⁰ | |
| Viewing Angle – Bottom | 80 | - | - | ⁰ | ||
| Viewing Angle – Left | 80 | - | - | ⁰ | ||
| Viewing Angle – Right | 80 | - | - | ⁰ | ||
| Contrast Ratio | Cr | 10,000:1 | - | - | - | |
| Response Time (rise) | Tr | - | - | 10 | - | us |
| Response Time (fall) | Tf | - | - | 10 | - | us |
| Brightness | 50% checkerboard | 60 | 80 | - | cd/m 2 | |
| Lifetime | Ta = 25°C, 50% checkerboard | 25,000 | - | - | Hrs |
这些特性决定了模块在不同环境下的性能表现。例如,宽温度范围使得模块能够在较为恶劣的环境中使用,而高对比度和快速响应时间则保证了显示的清晰度和流畅性。在设计应用时,你会如何根据这些特性来优化系统的性能呢?
基本命令集涵盖了清屏、光标控制、显示开关等常用功能。例如,Clear Display命令可以将DDRAM中的内容清空并将地址设置为“00H”;Display ON / OFF Control命令可以控制显示、光标和闪烁的开关状态。
扩展命令集提供了更多的功能,如功能选择、OLED特性设置等。例如,Function Selection A命令可以选择是否启用内部VDD调节器。
OLED命令集主要用于控制OLED的显示特性,如对比度、时钟频率、相位长度等。例如,Set Contrast Control命令可以选择256级对比度中的一级,对比度值越大,显示越清晰。
void init()
{
RES = 1; //reset HIGH – inactive
delayms(1);
command(0x2A); //function set (extended command set)
command(0x71); //function selection A
data(0x00); // disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
command(0x28); //function set (fundamental command set)
command(0x08); //display off, cursor off, blink off
command(0x2A); //function set (extended command set)
command(0x79); //OLED command set enabled
command(0xD5); //set display clock divide ratio/oscillator frequency
command(0x70);
command(0x78); //set display clock divide ratio/oscillator frequency //OLED command set disabled
command(0x08);
command(0x06);
command(0x72);
data(0x00);
command(0x2A); //extended function set (2-lines)
command(0x79); //OLED command set enabled
command(0xDA);
command(0x00); //set SEG pins hardware configuration
command(0xDC);
command(0x00); //function selection C
command(0x81); //set contrast control
command(0x7F);
command(0xD9); //set phase length
command(0xF1);
command(0xDB); //set VCOMH deselect level
command(0x40); //set VCOMH deselect level
command(0x78); //OLED command set disabled
command(0x28); //function set (fundamental command set)
command(0x01); //clear display
command(0x80); //set DDRAM address to 0x00
command(0x0C);
delayms(100); //display ON
}
你可以从这里获取示例Arduino代码,方便快速上手开发。
该模块经过了多项质量测试,包括高温存储、低温存储、高温运行、低温运行、高温高湿运行、热冲击抵抗、振动测试和静电测试等。测试结果表明,模块在各种恶劣环境下都能保持良好的性能。
在使用OLEDs/LCDs/LCMs时,需要注意一些事项。你可以从这里查看详细的注意事项。同时,关于保修信息和条款条件,可以访问这里。
新汉NHD - 0216MW - EB3字符OLED显示模块以其丰富的功能、出色的性能和良好的稳定性,为电子工程师提供了一个优秀的显示解决方案。在实际应用中,我们可以根据具体需求灵活配置模块的各项参数,以实现最佳的显示效果。你是否已经在项目中使用过类似的显示模块呢?欢迎分享你的经验和心得。
全部0条评论
快来发表一下你的评论吧 !