From Waveshare Wiki
Jump to: navigation, search
 
(49 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Infobox item
+
{{#tweekihide:firstHeading|sidebar-left|sidebar-right}}__NOTOC__
|name=5.65inch e-Paper Module (F)
 
|img=[[File:5.65inch-e-Paper-Module-F-2.jpg|300px|link=https://www.waveshare.com/5.65inch-e-paper-module-f.htm]]
 
|caption=880x528, 7.5inch E-Ink raw panel without driver board
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]]
 
|brand=Waveshare
 
|{{#urlget:amazon|default}}=display
 
|website_cn=[https://www.waveshare.net/shop/5.65inch-e-Paper-Module-F.htm 官方中文站点]
 
|website_en=[https://www.waveshare.com/5.65inch-e-paper-module-f.htm Waveshare website]
 
|interface1=SPI
 
|related=
 
{{Product List|OLEDs / LCDs/e-Paper}}
 
}}
 
<div class="tabber">
 
<div class="tabbertab" title="Introduction">
 
 
 
== Introduction ==
 
This is an 5.65inch colorful e-Paper display module, 600x448 resolution, supports ACeP (Advanced Color ePaper) sveen-color.
 
 
 
{{Amazon|{{#urlget:amazon|default}}=display
 
|More = [https://www.waveshare.com/5.65inch-e-paper-module-f.htm More]}}
 
  
= Interfaces =
+
<div style="background-color: #343434;text-align: center;color: white;padding: 20px;margin: 8px;">
{|class="wikitable"
+
=5.65inch e-Paper Module (F) Manual=
|-
 
| VCC || 3.3V
 
|-
 
| GND || GND
 
|-
 
| DIN || SPI MOSI
 
|-
 
| CLK || SPI SCK
 
|-
 
| CS || SPI chip select (Low active)
 
|-
 
| DC || Data/Command control pin (High for data, and low for command)
 
|-
 
| RST || External reset pin (Low for reset)
 
|-
 
| BUSY || Busy state output pin (Low for busy)
 
|}
 
==SPI timing==
 
----
 
This product is an E-paper device adopting the image display technology of Microencapsulated Electrophoretic Display, MED. The initial approach is to create tiny spheres, in which the charged color pigments are suspending in the transparent oil and would move depending on the electronic charge. The E-paper screen display patterns by reflecting the ambient light, so it has no background light requirement.  Under ambient light, the E-paper screen still has high visibility with a wide viewing angle of 180 degrees. It is the ideal choice for E-reading. ('''Note that the e-Paper cannot support updating directly under sunlight''')
 
; Communication protocol
 
----
 
[[File:1.54inch-e-paper-manual-1.png|400px]]
 
 
 
Note: Different from the traditional SPI protocol, the data line from the slave to the master is hidden since the device only has display requirement.
 
* CS is the 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.
 
SPI communication has data transfer timing, which is combined with CPHA and CPOL.
 
# CPOL determines the level of the serial synchronous clock at idle state. When CPOL = 0, the level is Low. However, CPOL has little effect to the transmission.
 
# CPHA determines data is collected at the first clock edge or at the second clock edge of the serial synchronous clock; when CPHL = 0, data is collected at the first clock edge.
 
* There are 4 SPI communication modes. SPI0 is commonly used, in which CPHL = 0, CPOL = 0.
 
As you can see from the figure above, data transmission starts at the first falling edge of SCLK, and 8 bits of data are transferred in one clock cycle. In here, SPI0 is in used, and data is transferred by bits, MSB first.
 
==Color of e-Paper==
 
An image is made of pixels. The sizes of every pixel defined who may color are supported by the e-Paper. Monochrome image use one bit for one pixel (0 and 1, black and white), in this case, if we want to display more colors, we should use more bits for every pixel.<br />
 
You can refer to the '''Make BMP file for e-Paper" guide and make the image yourself for this module.<br />
 
We need at least 3bits to display severe color. For easy programming, we and an 0 bit in front of it. In this case, we use 4 bits for every pixel.
 
{|border="1" style="text-align:center; width:400px"
 
|-
 
|'''Color'''
 
|'''BIN'''
 
|'''HEX'''
 
|'''The color (reference)'''
 
|-
 
|Black||0b0000||0x0
 
|style="background:#000000"|
 
|-
 
|White||0b0001||0x1||
 
|-
 
|Green||0b0010||0x2
 
|style="background:green"|
 
|-
 
|Blue||0b0011||0x3
 
|style="background:#0000FF"|
 
|-
 
|Red||0b0100||0x4
 
|style="background:#FF0000"|
 
|-
 
|Yellow||0b0101||0x5
 
|style="background:#FFFF00"|
 
|-
 
|Orange||0b0110||0x6
 
|style="background:#FFAA00"|
 
|}
 
For example, if you want to display four colors, green, yellow, red and orange, it should be like as below:
 
{|border="1" style="text-align:center"
 
|-
 
|'''Pixel'''
 
|colspan="4" width="100px"|1
 
|colspan="4" width="100px"|2
 
|colspan="4" width="100px"|3
 
|colspan="4" width="100px"|4
 
|-
 
|'''Bit'''
 
|0||1||2||3||4||5||6||7||8||9||10||11||12||13||14||15
 
|-
 
|'''Data'''||0||0||1||0||0||1||0||1||0||1||0||0||0||1||1||0
 
|-
 
|'''Color'''
 
|colspan="4" style="background:green"|
 
|colspan="4" style="background:yellow"|
 
|colspan="4" style="background:red"|
 
|colspan="4" style="background:#FFAA00"|
 
|}
 
Data is saved in MSB formate and 1byte is equal to 8 bits.
 
{|border="1" style="text-align:center"
 
|-
 
|'''Pixel'''
 
|colspan="4" width="100px"|1
 
|colspan="4" width="100px"|2
 
|colspan="4" width="100px"|3
 
|colspan="4" width="100px"|4
 
|-
 
|'''Bit'''
 
|7||6||5||4||3||3||1||0||7||6||5||4||3||2||1||0
 
|-
 
|'''Data'''||0||0||1||0||0||1||0||1||0||1||0||0||0||1||1||0
 
|-
 
|'''Color'''
 
|colspan="4" style="background:green"|
 
|colspan="4" style="background:yellow"|
 
|colspan="4" style="background:red"|
 
|colspan="4" style="background:#FFAA00"|
 
|-
 
|'''Byte'''
 
|colspan="8"|0x25
 
|colspan="8"|0x46
 
|}
 
<!--:[[File:5in65-ePaper-module-manual-1.png|400px]]-->
 
 
</div>
 
</div>
<div class="tabbertab" title="User Guides of Pi">
+
<p></p>
 +
{{ContentGrid|grid-gap=25px
 +
|content =
 +
{{StudyCard
 +
|img=[[File:E-Paper_Introduction_4.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Overview]]
 +
|heading = Introduction
 +
|content = Parameters, principles, and precautions
 +
}}
 +
{{StudyCard
 +
|img=[[File:Rapberry Pi.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Working_With_Raspberry_Pi]]
 +
|heading = Working with Raspberry Pi
 +
|content = User guides for the development demo of C language, Python
 +
}}
 +
{{StudyCard
 +
|img=[[File:Arduino00.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Working_With_Arduino]]
 +
|heading = Working with the Arduino
 +
|content = User guides for the development demo based on Arduino UNO R3
 +
}}
 +
{{StudyCard
 +
|img=[[File:Jetson Arduino00.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Working_With_Jetson_Nano]]
 +
|heading = Working with the Jetson Nano
 +
|content = User guides for the development demo of C language, Python
 +
}}
 +
{{StudyCard
 +
|img=[[File:Sunrise X3 Pi.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Working_With_Sunrise_X3_Pi]]
 +
|heading = Working with Sunrise X3 Pi
 +
|content = User guides for the development demo based on Python
 +
}}
 +
{{StudyCard
 +
|img=[[File:STM321.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Working_With_STM32]]
 +
|heading = Working with the STM32
 +
|content = User guides for the development demo based on STM32CubeMX
 +
}}
 +
{{StudyCard|img=[[File:E-Paper_ESP32.jpg|110px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#ESP32.2F8266]]
 +
|heading = Working with ESP32/8266
 +
|content = User guides for ESP32/8266}}
  
We provide several examples for testing, you first test the e-Paper by following the guides. If your developing board is different, you need to write your codes yourself by following the resources.
+
{{StudyCard
{{Raspberry Pi Guides for SPI e-Paper}}
+
|img=[[File:Resource0.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Resources]]
</div>
+
|heading = Resources
<div class="tabbertab" title="User Guides of Jetson Nano">
+
|content = Documentation, procedures and data sheets, etc
{{Jetson Nano Guides for SPI e-Paper}}
+
}}
</div>
+
{{StudyCard
<div class="tabbertab" title="User Guides of STM32">
+
|img=[[File:FAQ01.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#FAQ]]
{{STM32 Guides for SPI e-Paper}}
+
|heading = FAQ
</div>
+
|content = e-Paper frequently asked questions
<div class="tabbertab" title="User Guides of Arduino">
+
}}
{{Arduino Guides for SPI e-Paper}}
+
{{StudyCard
</div>
+
|img=[[File:support00.jpg|121px|link=https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F)_Manual#Support]]
<div class="tabbertab" title="User Guides of ESP32">
+
|heading = Support
{{ESP32 Guides for SPI e-Paper}}
+
|content = Technical support
</div>
+
}}
<div class="tabbertab" title="User Guides of ESP8266">
+
}}
{{ESP8266 Guides for SPI e-Paper}}
 
</div>
 
<div class="tabbertab" title="Resources">
 
== Resources ==
 
=== Documentation ===
 
{{Commom Instruction of SPI e-paper}}
 
*[https://www.waveshare.com/w/upload/b/b6/5.65inch_e-Paper_Module_%28F%29.pdf 5.65inch e-Paper Module (F) Schematic]
 
*[https://www.waveshare.com/w/upload/7/7a/5.65inch_e-Paper_%28F%29_Sepecification.pdf 5.65inch e-Paper Module (F) Specification]
 
*[https://www.waveshare.com/w/upload/b/b5/5.65inch_e-Paper_%EF%BC%88F%EF%BC%89_Application_Note_Reference_Design.pdf 5.65inch e-Paper (F) Application Note Reference Manual]
 
 
 
===Demo code===
 
*[https://www.waveshare.com/w/upload/3/39/E-Paper_code.7z Demo codes for e-Paper]
 
*[https://github.com/waveshare/e-Paper Github]
 
</div>
 
<div class="tabbertab" title="FAQ">
 
==FAQ ==
 
<!--{{e-Paper FAQ}}
 
{{e-Paper FAQ}}
 
-->
 
</div>
 
<div class="tabbertab" title="Supports">
 
{{Service00}}
 
</div>
 
</div>
 

Latest revision as of 07:11, 24 March 2023


5.65inch e-Paper Module (F) Manual

E-Paper Introduction 4.jpg

Introduction

Parameters, principles, and precautions
Rapberry Pi.jpg

Working with Raspberry Pi

User guides for the development demo of C language, Python
Arduino00.jpg

Working with the Arduino

User guides for the development demo based on Arduino UNO R3
Jetson Arduino00.jpg

Working with the Jetson Nano

User guides for the development demo of C language, Python
Sunrise X3 Pi.jpg

Working with Sunrise X3 Pi

User guides for the development demo based on Python
STM321.jpg

Working with the STM32

User guides for the development demo based on STM32CubeMX
E-Paper ESP32.jpg

Working with ESP32/8266

User guides for ESP32/8266
Resource0.jpg

Resources

Documentation, procedures and data sheets, etc
FAQ01.jpg

FAQ

e-Paper frequently asked questions
Support00.jpg

Support

Technical support