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

From Waveshare Wiki
Jump to: navigation, search
Line 22: Line 22:
 
{{Amazon|{{#urlget:amazon|default}}=display
 
{{Amazon|{{#urlget:amazon|default}}=display
 
|More = [http://www.waveshare.com/product/4.2inch-e-paper-module.htm More]}}
 
|More = [http://www.waveshare.com/product/4.2inch-e-paper-module.htm More]}}
 
+
<!--
 
== Interfaces ==
 
== Interfaces ==
 
{|class="wikitable"
 
{|class="wikitable"
Line 119: Line 119:
  
 
==== 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 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 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 169: Line 169:
  
 
=== 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 --> booster soft start --> power on --> panel setting --> PLL control.
+
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 -> booster soft start -> power on -> panel setting -> PLL control.
  
 
For detailed explanation of commands, please refer to [[File:4.2inch-e-paper-specification.pdf]]
 
For detailed explanation of commands, please refer to [[File:4.2inch-e-paper-specification.pdf]]
Line 177: Line 177:
 
DisplayFrame is used to send a frame to module, and the screen will refresh and display it.
 
DisplayFrame is used to send a frame to module, and the screen will refresh and display it.
  
Process: resolution setting --> VCM DC setting --> VCOM and data interval setting --> Send command data start transmission 1 --> Send data of an white image (send 0xFF 15000 times) --> Send command data start transmission 2 --> Send data of an image to display --> set LUT --> Refresh the screen.
+
Process: resolution setting -> VCM DC setting -> VCOM and data interval setting -> Send command data start transmission 1 -> Send data of an white image (send 0xFF 15000 times) -> Send command data start transmission 2 -> Send data of an image to display -> set LUT -> Refresh the screen.
  
 
Note:
 
Note:
Line 195: Line 195:
 
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: VCOM and data interval setting --> VCM DC setting --> panel setting --> power setting --> power off --> deep sleep
+
Process: VCOM and data interval setting -> VCM DC setting -> panel setting -> power setting -> 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 206: Line 206:
  
 
# Open a picture with drawing tool comes with Windows system, create a new image, and set the pixel to 400x300.
 
# Open a picture with drawing tool comes with Windows system, create a new image, and set the pixel to 400x300.
# 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 216:
 
#* Inverse color: Check (Check: the white on image will be inversed to 1, and black is inversed to 0)
 
#* Inverse color: Check (Check: the white on image will be inversed to 1, and black is inversed to 0)
 
# 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.
 
+
-->
 
== Resources ==
 
== Resources ==
 
=== Documentation ===
 
=== Documentation ===
 +
*[https://www.waveshare.com/w/upload/2/20/4.2inch-e-paper-module-user-manual-en.pdf User Manual]
 
{{Commom Instruction of SPI e-paper}}
 
{{Commom Instruction of SPI e-paper}}
 
* [[:File:4.2inch_e-Paper_Schematic.pdf|Schematic]]
 
* [[:File:4.2inch_e-Paper_Schematic.pdf|Schematic]]

Revision as of 06:03, 25 December 2018

4.2inch e-Paper
4.2inch-e-Paper-1.jpg

400x300, 4.2inch E-Ink display raw panel
4.2inch e-Paper Module
4.2inch-e-paper-module-5.jpg

400x300, 4.2inch E-Ink display module, SPI interface
{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

Note: As the raw panel requires a driver board, we recommend you to buy the HAT or buy a driver board for use, or you need to make the driver board by yourself. And this instruction is based on the version with PCB or driver board.

400x300, 4.2inch E-Ink display module, SPI interface

More

Resources

Documentation

Demo code

Datasheets

Certification

FAQ

 Answer:
  • Two-color B/W 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
  • Three-Color e-Paper
    • 【Working】Temperature: 0~40°C; Humidity: 35%~65%RH
    • 【Storage】Temperature: ≤30°C; Humidity: ≤55%RH; Max storage time: 3 months
    • 【Transport】Temperature: -25~60°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

When store three-color e-Paper, please refresh it to white, and keep the screen upward. Note that you need to update it at least every three months.


Support

Support

If you require technical support, please go to the Support page and open a ticket.