From Waveshare Wiki
Jump to: navigation, search
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox item
+
{{#tweekihide:firstHeading|sidebar-left|sidebar-right}}__NOTOC__
|name=7.5inch e-Paper (B)
 
|name2=7.5inch e-Paper HAT (B)
 
|img=[[File:7.5inch-e-Paper-B-1.jpg|300px|link=https://www.waveshare.com/7.5inch-e-Paper-B.htm]]
 
|img2=[[File:7.5inch-e-paper-hat-b-4.jpg|300px|link=http://www.waveshare.com/7.5inch-e-paper-hat-b.htm]]
 
|caption=800x480, 7.5inch E-Ink display raw panel
 
|caption2=800x480, 7.5inch E-Ink display HAT for Raspberry Pi, three-color, SPI interface
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]]
 
|brand=Waveshare
 
|{{#urlget:amazon|default}}=display
 
|website_cn=[http://www.waveshare.net/shop/7.5inch-e-paper-hat-b.htm 官方中文站点]
 
|website_en=[http://www.waveshare.com/7.5inch-e-paper-hat-b.htm Waveshare website]
 
|interface1=SPI
 
|related=
 
{{Product List|OLEDs / LCDs/e-Paper}}
 
}}
 
<div class="tabber">
 
<div class="tabbertab" title="Introduction">
 
= Introduction =
 
{{E-Paper Raw Panel}}
 
 
 
800x480, 7.5inch E-Ink display HAT for Raspberry Pi, three-color, SPI interface
 
 
 
<font color="#FF0000">【Version update instructions】:
 
*This product has been updated to V2 version with higher resolution, supporting 800x480 resolution (V1 version has 640x384 resolution)
 
*The hardware structure and interface of V2 version of this product are compatible with V1 version, but the software needs to be updated</font>
 
  
{{Amazon|{{#urlget:amazon|default}}=display
+
<div style="background-color: #343434;text-align: center;color: white;padding: 20px;margin: 8px;">
|More = [http://www.waveshare.com/7.5inch-e-paper-hat-b.htm More]}}
+
=7.5inch e-Paper HAT (B) Manual=
 
 
= Interfaces =
 
{|class="wikitable"
 
|-
 
| 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)
 
|}
 
= Working principle =
 
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 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 by 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 whether data is collected at the first clock edge or at the second clock edge of 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.
 
 
</div>
 
</div>
<div class="tabbertab" title="Hardware/Software setup">
+
<p></p>
{{Hardware/Software setting for SPI e-paper}}
+
{{ContentGrid|grid-gap=25px
</div>
+
|content =
<div class="tabbertab" title="Codes description">
+
{{StudyCard
{{e-Paper Codes Description}}
+
|img=[[File:E-Paper_Introduction_4.jpg|121px|link=https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)_Manual#Introduction]]
</div>
+
|heading = Introduction
<!--
+
|content = Parameters, principles, and precautions
=== Display a Frame (DisplayFrame) ===
+
}}
DisplayFrame is used to send a frame to the module, and the screen will refresh and display it.
+
{{StudyCard
 +
|img=[[File:Rapberry Pi.jpg|121px|link=https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)_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/7.5inch_e-Paper_HAT_(B)_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/7.5inch_e-Paper_HAT_(B)_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/7.5inch_e-Paper_HAT_(B)_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/7.5inch_e-Paper_HAT_(B)_Manual#Working_With_STM32]]
 +
|heading = Working with the STM32
 +
|content = User guides for the development demo based on STM32CubeMX
 +
}}
  
Process: Send command data start transmission 1 -> Send data of an image to display -> Refresh the screen.
+
{{StudyCard|img=[[File:E-Paper_ESP32.jpg|110px|link=https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)_Manual#ESP32.2F8266]]
 +
|heading = Working with ESP32/8266
 +
|content = User guides for ESP32/8266}}
  
Note:
+
{{StudyCard
* About the image data: 4 bits = 1 pixel, doesn’t support Gray scale (can only display black and white). 0000 (binary) stands for a black pixel, 0011 (binary) stands for a white pixel, 0100 (binary) stands for a red pixel.
+
|img=[[File:Resource0.jpg|121px|link=https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)_Manual#Resources]]
 
+
|heading = Resources
For example:
+
|content = Documentation, procedures and data sheets, etc
: 0x00: 2 pixels ■■
+
}}
: 0x03: 2 pixels ■□
+
{{StudyCard
: 0x30: 2 pixels □■
+
|img=[[File:FAQ01.jpg|121px|link=https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)_Manual#FAQ]]
: 0x33: 2 pixels □□
+
|heading = FAQ
: 0x04: 2 pixels ■<font color=red>■</font>
+
|content = e-Paper frequently asked questions
: 0x43: 2 pixels <font color=red>■</font>□
+
}}
: but 0x66: the state of pixels is uncertain
+
{{StudyCard
</pre>
+
|img=[[File:support00.jpg|121px|link=https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)_Manual#Support]]
* This module doesn’t support partial refresh.
+
|heading = Support
* The refresh rate of this module is slow (about 31s), and it will flicker for several times during refreshing. Please be patient.
+
|content = Technical support
-->
+
}}
<div class="tabbertab" title="Resources">
+
}}
== Resources ==
 
 
 
= Documentation =
 
 
 
{{Commom Instruction of SPI e-paper}}
 
* [[:File:E-Paper-Driver-HAT-Schematic.pdf|Schematic]]
 
 
 
= Demo code =
 
*[https://github.com/waveshare/e-Paper Github]
 
 
 
= Datasheets =
 
* [[:File:7.5inch_e-paper-b-Specification.pdf|Datasheet]]
 
* [https://www.waveshare.com/w/upload/4/44/7.5inch_e-Paper_B_V2_Specification.pdf 7.5inch e-Paper B V2 Specification]
 
 
 
=Related Resources=
 
This is a post in Arduino Form about our SPI e-Paper thanks to ZinggJM, maybe you want to refer to.
 
*[https://forum.arduino.cc/index.php?topic=487007.0 Waveshare e-Paper display with SPI]
 
 
 
=Related Applications=
 
*[https://github.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather E-Paper Calendar with iCal sync and live weather (shared by user)]
 
</div>
 
<div class="tabbertab" title="FAQ">
 
= FAQ =
 
<!--{{e-Paper FAQ}}-->
 
{{e-Paper FAQ}}
 
</div>
 
</div>
 
==Support==
 
{{Service00}}
 

Latest revision as of 07:18, 24 March 2023


7.5inch e-Paper HAT (B) 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