Difference between revisions of "7.5inch e-Paper HAT"

From Waveshare Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 25: Line 25:
 
{{Amazon|{{#urlget:amazon|default}}=display
 
{{Amazon|{{#urlget:amazon|default}}=display
 
|More = [http://www.waveshare.com/7.5inch-e-paper-hat.htm More]}}
 
|More = [http://www.waveshare.com/7.5inch-e-paper-hat.htm More]}}
 +
<!--
 +
 
== Interfaces ==
 
== Interfaces ==
 
{|class="wikitable"
 
{|class="wikitable"
Line 82: Line 84:
 
| CS || CE0
 
| CS || CE0
 
|-
 
|-
| DC || 25 (BCM)
+
| DC || Pin22/GPIO25
 
|-
 
|-
| RST || 17 (BCM)
+
| RST || Pin11/GPIO17
 
|-
 
|-
| BUSY || 24 (BCM)
+
| BUSY || Pin18/GPIO24
 
|}
 
|}
 +
 
==== Expected result ====
 
==== Expected result ====
 
1) After the libraries required installed, you can copy the relative programs into your Raspberry Pi, and then enter the corresponding file.
 
1) After the libraries required installed, you can copy the relative programs into your Raspberry Pi, and then enter the corresponding file.
Line 120: Line 123:
  
 
==== Expected result ====
 
==== Expected result ====
# Copy the libraries file of Arduino demo code to the libraries folder which is under the installation directory of Arduino IDE, it's path usually is C:\users\username\documents\arduino\libraries. You can also designate the location on Arduino IDE--> File -->Preferences -->Sketchbook location
+
# Copy the libraries file of Arduino demo code to the libraries folder which is under the installation directory of Arduino IDE, it's path usually is C:\users\username\documents\arduino\libraries. You can also designate the location on Arduino IDE-> File ->Preferences ->Sketchbook location
 
# Upload the project.
 
# Upload the project.
 
# E-paper will display the image.
 
# E-paper will display the image.
Line 172: Line 175:
  
 
=== Initialization (Init) ===
 
=== Initialization (Init) ===
After powering on the module, initialization function (Init) will configure the parameters of module. It can also wake up module from sleep mode. Process of initialization: reset --> power setting --> panel setting --> booster soft start --> power on --> PLL control --> temperature calibration --> VCOM and data interval setting --> TCON setting --> TCON resolution --> VCM DC setting.
+
After powering on the module, initialization function (Init) will configure the parameters of module. It can also wake up module from sleep mode. Process of initialization: reset -> power setting -> panel setting -> booster soft start -> power on -> PLL control -> temperature calibration -> VCOM and data interval setting -> TCON setting -> TCON resolution -> VCM DC setting.
 
=== Display a Frame (DisplayFrame) ===
 
=== Display a Frame (DisplayFrame) ===
 
DisplayFrame is used to send a frame to the module, and the screen will refresh and display it.
 
DisplayFrame is used to send a frame to the module, and the screen will refresh and display it.
  
Process: Send command data start transmission 1 --> Send data of an image to display --> Refresh the screen.
+
Process: Send command data start transmission 1 -> Send data of an image to display -> Refresh the screen.
  
 
Note:
 
Note:
Line 194: Line 197:
 
Sleep can make the module go into sleep mode to reduce the consumption.
 
Sleep can make the module go into sleep mode to reduce the consumption.
  
Process: power off --> deep sleep
+
Process: power off -> deep sleep
  
 
If you want to wake up the module from sleep mode, you need to give a LOW pulse to RST pin. Then maybe you need to reconfigure the parameter of power (According to the batches, some of them need to reconfigure, some needn’t). So if you want to wake up module, you had better use the Init function instead of Reset. Reset function and relative commands will be executed while executing the Init function.
 
If you want to wake up the module from sleep mode, you need to give a LOW pulse to RST pin. Then maybe you need to reconfigure the parameter of power (According to the batches, some of them need to reconfigure, some needn’t). So if you want to wake up module, you had better use the Init function instead of Reset. Reset function and relative commands will be executed while executing the Init function.
Line 205: Line 208:
  
 
# Open a picture with drawing tool comes with Windows system, create a new image, and set the pixel to 640x384.
 
# Open a picture with drawing tool comes with Windows system, create a new image, and set the pixel to 640x384.
# Because this module can only display two gray level (Only black and white), we need to convert picture to monochrome bitmap before converting it to array. That is, File --> BMP picture --> Monochrome Bitmap.
+
# Because this module can only display two gray level (Only black and white), we need to convert picture to monochrome bitmap before converting it to array. That is, File -> BMP picture -> Monochrome Bitmap.
 
#: There is a monochrome bitmap on examples pack for demonstration (raspberrypi/python/monocolor.bmp).
 
#: There is a monochrome bitmap on examples pack for demonstration (raspberrypi/python/monocolor.bmp).
 
# Use [[:File:Image2Lcd.7z|Image2Lcd.exe]] software to generate corresponding array for picture (.c file). Open picture with this software, set the parameters:
 
# Use [[:File:Image2Lcd.7z|Image2Lcd.exe]] software to generate corresponding array for picture (.c file). Open picture with this software, set the parameters:
Line 216: Line 219:
 
# Click “Save”, to generate .c file. Copy the corresponding array into your project, and you can display picture by calling this array.
 
# Click “Save”, to generate .c file. Copy the corresponding array into your project, and you can display picture by calling this array.
 
* Note: the module decodes the image data as: 4 bits = 1 pixel, but due to Gray scale unsupported, a monochrome bitmap array (1 bit = 1 pixel) is enough. Once the program finds a bit set in a bitmap table, it will send 0x3; but if a bit reset, it will send 0x0. For example, if the program decodes a byte 0xAA in a bitmap table, it will send 0x30303030 in fact.
 
* Note: the module decodes the image data as: 4 bits = 1 pixel, but due to Gray scale unsupported, a monochrome bitmap array (1 bit = 1 pixel) is enough. Once the program finds a bit set in a bitmap table, it will send 0x3; but if a bit reset, it will send 0x0. For example, if the program decodes a byte 0xAA in a bitmap table, it will send 0x30303030 in fact.
 +
-->
  
 
== Resources ==
 
== Resources ==
 
=== Documentation ===
 
=== Documentation ===
 +
*[https://www.waveshare.com/w/upload/7/74/7.5inch-e-paper-hat-user-manual-en.pdf User Manual]
 +
{{Commom Instruction of SPI e-paper}}
 
* [[:File:E-Paper-Driver-HAT-Schematic.pdf|Schematic]]
 
* [[:File:E-Paper-Driver-HAT-Schematic.pdf|Schematic]]
  
Line 225: Line 231:
 
=== Datasheets ===
 
=== Datasheets ===
 
* [[:File:7.5inch-e-paper-specification.pdf|Datasheet]]
 
* [[:File:7.5inch-e-paper-specification.pdf|Datasheet]]
 +
 +
== Related applications (shared by user)==
 +
*[https://www.youtube.com/watch?v=OW4GYmzWOb8 Task List using Raspberry Pi 3 and 7.5" E-paper Display]
 +
*[https://github.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather E-Paper Calendar with iCal sync and live weather ]
 +
 
== FAQ ==
 
== FAQ ==
 
<!--{{e-Paper FAQ}}-->
 
<!--{{e-Paper FAQ}}-->

Latest revision as of 09:22, 25 December 2018

7.5inch e-Paper raw Panel
7.5inch-e-Paper-1.jpg

640x384, 7.5inch E-Ink raw panel without driver board
7.5inch e-paper HAT
7.5inch-e-paper-hat-4.jpg

640x384, 7.5inch E-Ink display HAT for Raspberry Pi, SPI interface
{{{name3}}}

{{{name4}}}

{{{name5}}}

Primary Attribute
Category: OLEDs / LCDs, LCD
{{{userDefinedInfo}}}: {{{userdefinedvalue}}}
Brand: Waveshare
Website
English: Waveshare website
Chinese: 官方中文站点
Onboard Interfaces
SPI
Related Products

Introduction

Note: The raw panel require a driver board, If you are the first time use this e-Paper, we recommend you to buy the HAT version or buy more one driver hat for easy use, otherwise you need to make the driver board yourself.And this instruction is based on the HAT version.

640x384, 7.5inch E-Ink display HAT for Raspberry Pi, SPI interface


More

Resources

Documentation

Demo code

Datasheets

Related applications (shared by user)

FAQ

Question:
1. Why the e-Paper cant work with Arduino?
Answer:

The I/O level of Arduino is 5V, and the e-Paper should be driven with 3V3. If your Arduino cant drive the e-Paper successfully, please try to convert the level to 3.3V

You can also try to connect the Vcc pin to the 5V of Arduino to see whether the e-Paper works, but we recommend you not to use 5V for a long time.


Question:
2. Why does the color of e-Paper look a little black or grey?
Answer:

You can try to change the value of Vcom on demo codes.


Question:
3. Three-color e-paper looks more red/yellow than the picture on website?
Answer:

Because of different batch, some of them have aberration. Store the e-Paper right side up will reduce it. And if the e-Paper didn't be refreshed for long time, it will become more and more red/yellow. Please use the demo code to refresh the e-paper for several times in this case.


Question:
3. Why my e-paper has ghosting problem after working for some days
Answer:

Please set the e-paper to sleep mode or disconnect it if you needn't refresh the e-paper but need to power on your development board or Raspberry Pi for long time.Otherwise, the voltage of panel keeps high and it will damage the panel



Question:
4. Why the FPC of the e-Paper is broken after using for some times?
Answer:
Please make sure you have used it in correct way.

E-Paper FAQ FPC.jpg



Support

Mail.png Contact your seller (fast response and most recommended)

or send emails to [email protected] (not fast enough but please be patient) for help.

Our working time: 09:00-18:00 (UTC+8 Monday to Saturday)