|
|
(未显示6个用户的51个中间版本) |
第1行: |
第1行: |
− | <div class="tabber">
| + | {{#tweekihide:firstHeading|sidebar-left|sidebar-right}}__NOTOC__ |
− | <!--<div class="tabbertab" title="说明"></div>-->
| |
− | | |
− | {{外围模块|colorscheme=blue
| |
− | |name = 2.9inch e-Paper Module (B)
| |
− | |img = <div class="tabber"><div class="tabbertab" title="裸屏">[[File:2.9inch-e-Paper-B-1.jpg|360px|alt=2.9inch e-Paper B|link=http://{{SERVERNAME}}/shop/2.9inch-e-Paper-B.htm]]</div><div class="tabbertab" title="带驱动板">[[File:2.9inch-e-Paper-Module-B-intro.jpg|360px|alt=2.9inch e-Paper Module (B)|link=http://{{SERVERNAME}}/shop/2.9inch-e-Paper-Module-B.htm|2.9inch e-Paper Module (B)]]</div></div>
| |
− | |category1=e-Paper
| |
− | |category2=e-Paper模块
| |
− | |brand=Waveshare
| |
− | |feature=2.9英寸墨水屏
| |
− | |feature-name1= 分辨率
| |
− | |feature-value1= 296x128
| |
− | |feature-name2= 显示颜色
| |
− | |feature-value2= 红、黑、白
| |
− | |feature-name3= 适用范围
| |
− | |feature-value3= Raspberry、Arduino、STM32 | |
− | |interface1=SPI | |
− | |Product1 = {{e-Paper-Module-HAT-Related}}
| |
− | }}
| |
− | <!--<div class="tabbertab" title="注意事项">
| |
− | {{e-Paper-precautions}}
| |
− | </div>-->
| |
− | | |
− | <div class="tabbertab" title="说明">
| |
− | ==特点==
| |
− | *尺寸: 2.9inch
| |
− | *外形尺寸(裸屏):79.0mm × 36.7mm × 1.05mm
| |
− | *外形尺寸(驱动板):89.5mm × 38mm
| |
− | *显示尺寸:66.89nn x 29.05mm
| |
− | *工作电压:3.3V/5V
| |
− | *通信接口:SPI
| |
− | *点距:0.138 x 0.138
| |
− | *分辨率:296 x 128
| |
− | *显示颜色:黑、白、红
| |
− | *灰度等级:2
| |
− | *全局刷新 :15s
| |
− | *刷新功耗 : 26.4mW(typ.)
| |
− | *待机功耗 :<=0.017mW
| |
− | 【备注】:
| |
− | 刷新时间:刷新时间为实验测试数据,实际刷新时间会有误差,以实际效果为准。全局刷新过程中会有闪烁效果,这个是正常现象<br />
| |
− | 功耗:功耗数据为实验测试数据,实际功耗由于驱动板的存在和实际使用情况的不同,会有一定误差,以实际效果为准<br />
| |
− | ==SPI 通信时序==
| |
− | [[File:e-paper-spi-timing.jpg|700px]]
| |
− | | |
− | 由于墨水屏只需要显示,这里将从机发,主机收的数据线(MISO)隐藏。<br />
| |
− | CS:从机片选,当CS为低电平的时候,芯片使能<br />
| |
− | DC:数据/命令控制引脚,当DC=0时写入命令;DC=1时写入数据<br />
| |
− | SCLK: SPI通信时钟<br />
| |
− | SDIN:SPI通信主机发送,从机接收<br />
| |
− | 时序:CPHL=0, CPOL=0 (SPI0)<br />
| |
− | 【备注】具体关于SPI通信的相关信息,可以自行网上搜索资料了解
| |
− | | |
− | ==墨水屏刷新原理==
| |
− | ===像素与字节的关系===
| |
− | 对于黑白红三色,可以拆分为黑白图片、红白图片,然后将两张图片叠加起来就变成了黑白红图片了,所以黑白红的刷新是指是
| |
− | 对于黑白图片,我们可以规定,如果如果是黑色我们定义成0,如果是白色就定义成1,那么有了表示颜色的方式:<br />
| |
− | 白色:□,对应1<br />
| |
− | 黑色:■:对应0<br />
| |
− | *一个点在图形上一般称之为像素点(pixel),而颜色不是1就是0,也就是1个位就可以标识颜色:1Pixel = 1bit,那么一个字节里面就包含了8个像素点。<br />
| |
− | *以16个像素点为例,我们假设前8个像素点为黑,后8个像素点为白色,那么可以这么认为,像素点1-16,对应这0位到15位,0表示黑色,1表示白色:<br />
| |
− | [[file:e-paper_hardware_work_1.png]]<br />
| |
− | 对于计算机而言,它的数据存储方式是高位在前,低位在后,且一个字节只有8个位,因此会有一点改变:<br />
| |
− | [[file:e-paper_hardware_work_2.png]]<br />
| |
− | 这样只需要2个字节即可表示16个像素点了。<br />
| |
− | | |
− | *对于2.9inch e-paper B,是红黑白三色,我们需要把图片拆成2张图片,一张黑白图片,一张红白图片,在传输的时候因为一个寄存器是控制黑白显示的,一个寄存器是控制红白
| |
− | 显示。
| |
− | 2.9的黑白部分1个字节控制8个像素点,红白部分1个字节控制8个像素点<br />
| |
− | 举个栗子,假设有8个像素点,前面4个是红色,后面4个黑色:<br />
| |
− | 需要把他们拆成一个黑白图片,一个红白图片,这两个图片都是8个像素点,只不过黑白图片前四个像素为白色,后4个像素点为黑色,而红白图片前4个像素点为红色,后四个像素点为白色<br />
| |
− | [[file:e-paper_1in54b_pixel.png]]<br />
| |
− | 如果我们规定,白色存储为1,红色或者黑色存储为0,那么就有了如下的表示:<br />
| |
− | [[file:e-paper_1in54b_pixel_2.png]]<br />
| |
− | 而黑白部分1个字节控制8个像素点,红白部分1个字节控制8个像素点,那么可以如下表示:<br />
| |
− | [[file:e-paper_BWR_3.png]]<br />
| |
| | | |
| + | <div style="background-color: #343434;text-align: center;color: white;padding: 20px;margin: 8px;"> |
| + | =2.9inch e-Paper Module (B)文档教程= |
| </div> | | </div> |
| + | <p></p> |
| + | {{ContentGrid|grid-gap=25px |
| + | |content = |
| | | |
− | <div class="tabbertab" title="RPI使用教程">
| + | {{StudyCard |
− | {{e-paper_for_rpiuse}}
| + | |img=[[文件:E-Paper Introduction 4.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#.E8.AF.B4.E6.98.8E]] |
− | </div>
| + | |heading = '''产品说明''' |
| + | |content = 参数、原理和注意事项 |
| + | }} |
| | | |
− | <div class="tabbertab" title="JetsonNano使用教程">
| + | {{StudyCard |
− | {{e-paper_for_jetsonnano_use}}
| + | |img=[[文件:E-Paper RPi 2.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#Raspberry_Pi]] |
− | </div>
| + | |heading = '''从Raspberry Pi开始''' |
| + | |content = 使用C语言、Python开发的例程及其使用说明 |
| + | }} |
| | | |
− | <div class="tabbertab" title="STM32使用教程">
| + | {{StudyCard |
− | {{e-paper_for_stm32_use}}
| + | |img=[[文件:E-Paper Arduino 2.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#Arduino]] |
− | </div>
| + | |heading = '''从Arduino开始''' |
| + | |content = 基于Arduino UNO R3开发的例程及其使用说明 |
| + | }} |
| | | |
− | <div class="tabbertab" title="Arduino使用教程">
| + | {{StudyCard |
− | {{e-paper_for_arduino_use}}
| + | |img=[[文件:E-Paper NVDIA 2.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#Jetson_Nano]] |
− | </div>
| + | |heading = '''从Jetson Nano开始''' |
| + | |content = 使用C语言、Python开发的例程及其使用说明 |
| + | }} |
| | | |
− | <!--<div class="tabbertab" title="硬件连接和软件设置">
| + | {{StudyCard |
− | {{e-Paper-connecting-settings}}
| + | |img=[[文件:E-Paper X3Pi 1.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#X3]] |
− | </div>-->
| + | |heading = '''从旭日X3派开始''' |
| + | |content = 使用Python开发的例程及其使用说明 |
| + | }} |
| | | |
− | <!--<div class="tabbertab" title="程序说明">
| + | {{StudyCard |
− | {{e-Paper-codes-description}}
| + | |img=[[文件:E-Paper STM32 2.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#STM32]] |
− | </div>-->
| + | |heading = '''从STM32开始''' |
| + | |content = 使用STM32CubeMX开发的例程及其使用说明 |
| + | }} |
| | | |
| + | {{StudyCard |
| + | |img=[[文件:E-Paper ESP32.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#ESP32.2F8266]] |
| + | |heading = '''从ESP32/8266开始''' |
| + | |content = ESP32/8266的使用手册 |
| + | }} |
| | | |
| + | {{StudyCard |
| + | |img=[[文件:E-Paper Resources 4.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#.E8.B5.84.E6.96.99]] |
| + | |heading = '''资料''' |
| + | |content = 文档、程序和数据手册等 |
| + | }} |
| | | |
− | <div class="tabbertab" title="资料">
| + | {{StudyCard |
− | ===文档=== | + | |img=[[文件:E-Paper FAQ 4.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#FAQ]] |
− | *[http://{{SERVERNAME}}/w/upload/8/85/2.9inch_e-Paper_Schematic.pdf 原理图]<br>
| + | |heading = '''FAQ''' |
− | *[http://www.waveshare.net/w/upload/0/02/Chinese_Font_Create_for_e-Paper.pdf 中文显示学习手册]
| + | |content = 电子纸常见问题与解答 |
| + | }} |
| | | |
− | ===视频===
| + | {{StudyCard |
− | *[[1.54inch-2.7inch-2.9inch-e-paper-HAT-B-Video|演示视频]][[File:video-logo.png|23px|link=1.54inch-2.13inch-2.9inch-e-paper-HAT-B-Video]]
| + | |img=[[文件:E-Paper Support 4.jpg|110px|link=https://www.waveshare.net/wiki/2.9inch_e-Paper_Module_(B)_Manual#.E6.8A.80.E6.9C.AF.E6.94.AF.E6.8C.81]] |
| + | |heading = '''售后服务''' |
| + | |content = 技术支持 |
| + | }} |
| | | |
− | ===程序===
| + | }} |
− | {{E-paper code}}
| |
− | | |
− | 旧版本示例程序
| |
− | *[http://www.waveshare.net/w/upload/a/ac/2.9inch_e-paper_b_code.7z 旧版本示例程序]
| |
− | | |
− | ===数据手册===
| |
− | * [http://{{SERVERNAME}}/w/upload/b/bb/2.9inch-e-paper-b-specification.pdf 2.9inch e-Paper (B) Datasheet]
| |
− | | |
− | ===开发资料===
| |
− | *[http://{{SERVERNAME}}/w/upload/3/36/Image2Lcd.7z Image2Lcd图片取模软件]
| |
− | *[http://{{SERVERNAME}}/w/upload/c/c6/Zimo221.7z 字摸提取软件]
| |
− | | |
− | ===相关链接===
| |
− | {{Raspberry Pi Study}}
| |
− | [http://{{SERVERNAME}}/study/portal.php?mod=list&catid=40 STM32cubeMX系列教程]
| |
− | <br /><big>批量下载教程——请戳<big><big><big>☛</big></big></big></big>[[File:download-icon.png|link=批量下载教程]]
| |
− | | |
− | | |
− | </div>
| |
− | <div class="tabbertab" title="FAQ"><br />
| |
− | {{Three-color e-paper FAQ}}
| |
− | {{E-Paper FAQ}}
| |
− | </div>
| |
− | <div class="tabbertab" title="售后"><br />{{Service13}}</div>
| |