Difference between revisions of "2.9inch e-Paper Module"

From ingcool
Jump to: navigation, search
(创建页面,内容为“==产品介绍== 这是一款2.9inch电子墨水屏显示模块, 分辨率为296x128, 支持黑白两色刷新, 通信接口为SPI接口。 ==特点== *尺寸:…”)
 
Line 1: Line 1:
==产品介绍==
+
==Introduction==
这是一款2.9inch电子墨水屏显示模块, 分辨率为296x128, 支持黑白两色刷新, 通信接口为SPI接口。
+
This is an 2.9inch e-Paper module, with 296x128 resolution, SPI interface. Supports Black and white color.
==特点==
+
==Features==
*尺寸: 2.9 inch
+
*Size: 2.9 inch
*外形尺寸:89.5mm × 38mm
+
*Dimnesion:89.5mm × 38mm
*显示尺寸:66.89mm × 29.05mm
+
*Display area:66.89mm × 29.05mm
*工作电压:3.3V/5V  
+
*Operating voltage:3.3V/5V  
*通信接口:SPI
+
*Interface:SPI
*点距:0.138 × 0.138
+
*Pitch:0.138 × 0.138
*分辨率:296 × 128
+
*Resolution:296 × 128
*显示颜色:黑、白
+
*Display color:Black, white
*灰度等级:2
+
*Gray scale:2
*局部刷新 :0.3s
+
*Partial update: 0.3s
*全局刷新 :2s
+
*Fully update:2s
*刷新功耗 : 26.4mW(typ.)  
+
*Consumption (update): 26.4mW(typ.)  
*待机功耗 :<=0.017mW
+
*Consumption (standby): <=0.017mW
【备注】:
+
【Notices】<br />
刷新时间:刷新时间为实验测试数据,与实际刷新时间会有误差,以实际效果为准。全局刷新过程中会有闪烁效果,这个是正常现象<br />
+
Update time: The data provided is for reference, the actual time may be different according to the MCU. The e-Paper will flicker when updating, it is normal<br />
功耗:功耗数据为实验测试数据,实际功耗由于驱动板的存在和实际使用情况的不同,会有一定误差,以实际效果为准<br />
+
Consumption: The data provided is for reference, the actual consumption may be different according to the driver board.<br />
==SPI 通信时序==
+
==SPI timing==
 
[[File:e-paper-spi-timing.jpg|700px]]
 
[[File:e-paper-spi-timing.jpg|700px]]
  
由于墨水屏只需要显示,这里将从机发,主机收的数据线(MISO)隐藏。<br />
+
The e-Paper only supports writing, therefore the MISO pin is hidden.<br />
CS:从机片选,当CS为低电平的时候,芯片使能<br />
+
CS is slave chip select, when CS is low, the chip is enabled.<br />
DC:数据/命令控制引脚,当DC=0时写入命令;DC=1时写入数据<br />
+
DC is data/command control pin, when DC = 0, write command, when DC = 1, write data.<br />
SCLK: SPI通信时钟<br />
+
SCLK is the SPI communication clock.<br />
SDIN:SPI通信主机发送,从机接收<br />
+
SDIN is the data line from the master to the slave in SPI communication.<br />
时序:CPHL=0, CPOL=0 (SPI0)<br />
+
Timing:CPHL=0, CPOL=0 (SPI0)<br />
【备注】具体关于SPI通信的相关信息,可以自行网上搜索资料了解
+
【Note】You can search more documents of SPI bus online.
  
==墨水屏刷新原理==
+
==Working protocol==
===像素与字节的关系===
+
===Pixel & Byte===
对于黑白图片,我们可以规定,如果如果是黑色我们定义成0,如果是白色就定义成1,那么有了表示颜色的方式:<br />
+
We define the pixels in a monochrome picture, 0 is black and 1 is white.<br />
白色:□,对应1<br />
+
White: □ Bit 1<br />
黑色:■:对应0<br />
+
Black:■  Bit 0<br />
*一个点在图形上一般称之为像素点(pixel),而颜色不是1就是0,也就是1个位就可以标识颜色:1Pixel = 1bit,那么一个字节里面就包含了8个像素点。<br />
+
*The dot in the figure is called a pixel. As we know, 1 and 0 are used to define the color, therefore we can use one bit to define the color of one pixel, and 1 byte = 8pixels。<br />
*以16个像素点为例,我们假设前8个像素点为黑,后8个像素点为白色,那么可以这么认为,像素点1-16,对应这0位到15位,0表示黑色,1表示白色:<br />
+
*For example, If we set first 8 pixels to black and the last 8 pixels to white, we show it by codes, they will be 16 bit as below:<br />
 
[[file:e-paper_hardware_work_1.png]]<br />
 
[[file:e-paper_hardware_work_1.png]]<br />
对于计算机而言,它的数据存储方式是高位在前,低位在后,且一个字节只有8个位,因此会有一点改变:<br />
+
For computer, the data is saved in MSB format:<br />
 
[[file:e-paper_hardware_work_2.png]]<br />
 
[[file:e-paper_hardware_work_2.png]]<br />
这样只需要2个字节即可表示16个像素点了。<br />
+
So we can use two bytes for 16 pixels.<br />
==使用说明==
+
==User Guides==
*[[E-paper for RPi Use|树莓派使用说明]]
+
*[[E-paper for RPi Use|Raspberry Pi guides]]
*[[E-paper for Jetsonnano Use|Jetson Nano使用说明]]
+
*[[E-paper for Jetsonnano Use|Jetson Nano guides]]
*[[E-paper for STM32 Use|STM32使用说明]]
+
*[[E-paper for STM32 Use|STM32 guides]]
*[[E-paper for Arduino Use|Arduino使用说明]]
+
*[[E-paper for Arduino Use|Arduino gudies]]
  
==资料==
+
==Resources==
===文档===
+
===Documents===
*[http://47.107.148.244/w/images/5/57/2.13inch_e-Paper_HAT_Schematic.pdf 原理图]<br>
+
*[http://47.107.148.244/w/images/5/57/2.13inch_e-Paper_HAT_Schematic.pdf Schematic]<br>
===程序===
+
*[http://47.107.148.244/w/images/e/e6/2.9inch_e-Paper_Datasheet.pdf 2.9inch e-Paper Datasheet]
*[http://47.107.148.244/w/images/5/50/E-Paper.7z 示例程序]
+
===Demo codes===
===数据手册===
+
*[http://47.107.148.244/w/images/5/50/E-Paper.7z Demo codes]
*[http://47.107.148.244/w/images/e/e6/2.9inch_e-Paper_Datasheet.pdf 2.9inch e-Paper数据手册]
 
===开发资料===
 
 
==FAQ==
 
==FAQ==
 
{{E-Paper FAQ}}
 
{{E-Paper FAQ}}

Revision as of 16:04, 8 June 2020

Introduction

This is an 2.9inch e-Paper module, with 296x128 resolution, SPI interface. Supports Black and white color.

Features

  • Size: 2.9 inch
  • Dimnesion:89.5mm × 38mm
  • Display area:66.89mm × 29.05mm
  • Operating voltage:3.3V/5V
  • Interface:SPI
  • Pitch:0.138 × 0.138
  • Resolution:296 × 128
  • Display color:Black, white
  • Gray scale:2
  • Partial update: 0.3s
  • Fully update:2s
  • Consumption (update): 26.4mW(typ.)
  • Consumption (standby): <=0.017mW

【Notices】
Update time: The data provided is for reference, the actual time may be different according to the MCU. The e-Paper will flicker when updating, it is normal
Consumption: The data provided is for reference, the actual consumption may be different according to the driver board.

SPI timing

E-paper-spi-timing.jpg

The e-Paper only supports writing, therefore the MISO pin is hidden.
CS is slave chip select, when CS is low, the chip is enabled.
DC is data/command control pin, when DC = 0, write command, when DC = 1, write data.
SCLK is the SPI communication clock.
SDIN is the data line from the master to the slave in SPI communication.
Timing:CPHL=0, CPOL=0 (SPI0)
【Note】You can search more documents of SPI bus online.

Working protocol

Pixel & Byte

We define the pixels in a monochrome picture, 0 is black and 1 is white.
White: □ Bit 1
Black:■ Bit 0

  • The dot in the figure is called a pixel. As we know, 1 and 0 are used to define the color, therefore we can use one bit to define the color of one pixel, and 1 byte = 8pixels。
  • For example, If we set first 8 pixels to black and the last 8 pixels to white, we show it by codes, they will be 16 bit as below:

E-paper hardware work 1.png
For computer, the data is saved in MSB format:
E-paper hardware work 2.png
So we can use two bytes for 16 pixels.

User Guides

Resources

Documents

Demo codes

FAQ

1、Working requirements of e-Paper?|

  • 【Working】Temperature: 0~50°C; Humidity: 35%~65%RH
  • 【Storage】Temperature: ≤30°C; Humidity: ≤55%RH; Max storage time: 6 months
  • 【Transport】Temperature: -25~70°C; Max transport time: 10 days
  • 【Unpack】Temperature: 20°C±5°C; Humidity: 50%RH±5%RH; Max storage time: Should be assembled in 72h

2、 What do you need to note about e-Paper refreshing

  • Refresh mode
    • Full refresh: e-Paper flicker when full refreshing to remove ghost image for best display.
    • Partial refresh: It doesn't flicker if you use partial refresh (only some of the two-color e-paper support partial refresh). Note that you cannot use Partial refresh all the time, you should full refresh e-paper regularly, otherwise, ghost problem will get worse even damage
  • Refresh rate
    • When using, you should set the update interval at least 180s. (except Partial supportable types)
    • Please set the e-Paper to sleep mode or power off it directly, otherwise, the e-Paper is damaged because of working in high voltage for a long time.
    • You need to update the content of three-color e-Paper at least one time every 24h to avoid the burn-in problem.
  • Working place
    • We recommend you to use the e-Paper indoor. If you need to set the e-paper outdoor, Please place the e-paper in shadow and protect it from UV. When you designed you e-paper product, you should take care about the working situation like temperature, humidity, etc.

3、Why the e-Paper display a black frame?

  • You can configure Border Waveform Control register or VCOM AND DATA INTERVAL SETTING register to change the frame.

4、Could the e-Paper work again after sleeping?

  • You can use the initial function to wake it up and then update.