Difference between revisions of "1.54inch e-Paper Module (C)"

From Waveshare Wiki
Jump to: navigation, search
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox item|colorscheme=blue
+
{{Infobox item
|brief=200x200, 1.54inch E-Ink display module, three-color, SPI interface
+
|name=1.54inch e-Paper (C)
|img=[[File:1.54inch-e-paper-module-b-4.jpg|300px|link=http://www.waveshare.com/1.54inch-e-paper-module-b.htm]]
+
|name2=1.54inch e-Paper Module (C)
|caption=200x200, 1.54inch E-Ink display module, three-color, SPI interface
+
|img=[[File:1.54inch-e-Paper-C-1.jpg|300px|link=https://www.waveshare.com/1.54inch-e-Paper-C.htm]]
 +
|img2=[[File:1.54inch-e-Paper-Module-C-4.jpg|300px|link=https://www.waveshare.com/1.54inch-e-paper-module-c.htm]]
 +
|caption=152x152, 1.54inch E-Ink display raw panle
 +
|caption2=152x152, 1.54inch E-Ink display module, Y/B/W Three-color, SPI interface
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]]
 
|category=[[:Category:OLEDs / LCDs|OLEDs / LCDs]], [[:Category:LCD|LCD]]
 
|brand=Waveshare
 
|brand=Waveshare
 
|{{#urlget:amazon|default}}=display
 
|{{#urlget:amazon|default}}=display
|website_cn=[http://www.waveshare.net/shop/1.54inch-e-Paper-Module-B.htm 官方中文站点]
+
|website_cn=[http://www.waveshare.net/shop/1.54inch-e-Paper-Module-C.htm 官方中文站点]
|website_en=[http://www.waveshare.com/1.54inch-e-paper-module-b.htm Waveshare website]
+
|website_en=[https://www.waveshare.com/1.54inch-e-paper-module-c.htm Waveshare website]
 
|interface1=SPI
 
|interface1=SPI
 
|related=
 
|related=
Line 13: Line 16:
 
}}
 
}}
 
== Introduction ==
 
== Introduction ==
 +
 
152x152, 1.54inch E-Ink display module, three-color, SPI interface
 
152x152, 1.54inch E-Ink display module, three-color, SPI interface
  
 
{{Amazon|{{#urlget:amazon|default}}=display
 
{{Amazon|{{#urlget:amazon|default}}=display
|More = [http://www.waveshare.com/product/1.54inch-e-Paper-Module-C.htm More]}}
+
|More = [https://www.waveshare.com/1.54inch-e-paper-module-c.htm More]}}
  
 +
<!--
 
== Interfaces ==
 
== Interfaces ==
 
{|class="wikitable"
 
{|class="wikitable"
Line 75: Line 80:
 
| CS || CE0
 
| CS || CE0
 
|-
 
|-
| DC || 25 (BCM)
+
| DC || Pin22/GPIO25
 
|-
 
|-
| RST || 17 (BCM)
+
| RST || Pin11/GPIO17
 
|-
 
|-
| BUSY || 24 (BCM)
+
| BUSY || Pin18/GPIO24
 
|}
 
|}
  
Line 93: Line 98:
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
! e-Paper !! Arduino UNO
+
! e-Paper !! UNO PLUS (3.3V)
 
|-
 
|-
 
| 3.3V || 3V3
 
| 3.3V || 3V3
Line 113: Line 118:
  
 
==== 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 164: 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 --> VCOM and data interval setting --> PLL control --> resolution setting --> VCM DC setting --> look-up table 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 -> booster soft start -> power on -> panel setting -> VCOM and data interval setting -> PLL control -> resolution setting -> VCM DC setting -> look-up table setting.
  
 
For detailed explanation of commands, please refer to [[File:1.54inch-e-paper-b-specification.pdf]]
 
For detailed explanation of commands, please refer to [[File:1.54inch-e-paper-b-specification.pdf]]
Line 172: 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: Send command data start transmission 1 --> Send data of dark area --> Send command data start transmission 2 --> Send data of yellow area --> Refresh the screen.
+
Process: Send command data start transmission 1 -> Send data of dark area -> Send command data start transmission 2 -> Send data of yellow area -> Refresh the screen.
 
Note:
 
Note:
 
* One frame consist of images of black area and yellow area, so we need to send two images for displaying one frame,
 
* One frame consist of images of black area and yellow area, so we need to send two images for displaying one frame,
Line 199: Line 204:
 
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 --> power setting --> power off
+
Process:VCOM and data interval setting -> VCM DC setting -> power setting -> power off
  
 
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 210: Line 215:
  
 
# Open a picture with drawing tool comes with Windows system, create a new image, and set the pixel to 152x152.
 
# Open a picture with drawing tool comes with Windows system, create a new image, and set the pixel to 152x152.
# 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 are two monochrome bitmap on examples pack, which are used for demonstration (raspberrypi/python/black.bmp and raspberrypi/python/red.bmp).
 
#: There are two monochrome bitmap on examples pack, which are used for demonstration (raspberrypi/python/black.bmp and raspberrypi/python/red.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 220: Line 225:
 
#* 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 ===
* [[:File:1.54inch_e-Paper_module_b_Schematic.pdf|Schematic]]
+
*[https://www.waveshare.com/w/upload/7/71/1.54inch-e-paper-module-c-user-manual-en.pdf User Manual]
 +
{{Commom Instruction of SPI e-paper}}
 +
* [[:File:1.54inch_e-Paper_Schematic.pdf|Schematic]]
 +
 
 
=== Demo code ===
 
=== Demo code ===
* [[:File:1.54inch_e-paper_module_b_code.7z|Demo code]]
+
* [[:File:1.54inch_e-paper_module_c_code.7z|Demo code]]
 +
*[https://github.com/waveshare/e-Paper Github]
 +
 
 
=== Datasheets ===
 
=== Datasheets ===
* [[:File:1.54inch-e-paper-b-specification.pdf|Datasheets]]
+
* [[:File:1.54inch e-Paper Module C Specification.pdf|Datasheets]]
 +
===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]
 +
 
 
== FAQ ==
 
== FAQ ==
 
<!--{{e-Paper FAQ}}-->
 
<!--{{e-Paper FAQ}}-->

Revision as of 02:12, 26 March 2019

1.54inch e-Paper (C)
1.54inch-e-Paper-C-1.jpg

152x152, 1.54inch E-Ink display raw panle
1.54inch e-Paper Module (C)
1.54inch-e-Paper-Module-C-4.jpg

152x152, 1.54inch E-Ink display module, Y/B/W Three-color, SPI interface
{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

152x152, 1.54inch E-Ink display module, three-color, SPI interface

More


Resources

Documentation

Demo code

Datasheets

Related Resources

This is a post in Arduino Form about our SPI e-Paper thanks to ZinggJM, maybe you want to refer to.

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.