1.54 Inch Epaper Module E-Ink EInk E-paper Display Screen SPI For Arduino ESP32

Introduction

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 sunshine, the E-paper screen still has high visibility with a wide viewing angle of 180 degree. It is the ideal choice for E-reading.

Communication protocol

 
SPI timing

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.

  1. 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.
  2. 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.

How to use:

 

Working with Raspberry Pi

Installing libraries required

If you want to connect your E-paper screen to Raspberry Pi, you should install some necessary libraries, or else the Demo (click to download) below may work improperly. For more information about how to install the Raspberry Pi libraries, please visit the website: Libraries Installation for RPi.

You can find the detailed presentation about the installations of libraries wiringPi, bcm2835 and python.

Hardware connection

Here is the connection between Raspberry Pi 3B and E-paper.

Expected result

  1. After the corresponding libraries installed, you can copy the relative programs into your Raspberry Pi, and then enter the corresponding file.
    • BCM2835: Execute the command: make, to compile the code and generate a file epd. Execute the command: sudo ./epd, the program will run.
    • WringPi: Execute the command: make, to compile the code and generate a file epd. Execute the command: sudo ./epd, the program will run.
    • Python: Execute the command: sudo python main.py
  2. The screen displays strings and shapes after whole screen refresh.
  3. The screen displays images and the time after partial screen refresh. This demonstrates the partial refreshing capability.

 

Working with Arduino

Hardware connectionExpected result

  1. Copy the files from the directory arduino/libraries of the demo package to documents/arduino/libraries, where can be specified by Arduino IDE --> File --> Preferences --> Sketchbook location.
  2. Click the button Upload to compile and upload the program to your Arduino board.
  3. The screen displays strings and shapes after whole screen refresh.
  4. The screen displays images and the time after partial screen refresh. This demonstrates the partial refreshing capability.

 

Working with the STM32 development board

Here we use the development board STMF103C8T6. The Demo is base on the library HAL.

Hardware connection

Here is the hardware connection between the development board STMF103C8T6 and E-paper:

We only accept payment through Paypal.
Items will go to post within 1-2 business days after payment confirmed.

If you can't receive the product within 2 months (60 days), please contact with us,we promise to payback 100% of your money.
We ensure our products work normally before post.If the products is broken before arrival to you,all you should do is taking a photo to show us our broken product.We promise to payback 100% of your money.

1. We ship to Worldwide.
2. We only ship to confirmed PAYPAL address; your PAYPAL address must match your Shipping address.
3. Any non-received items caused by invalid address registered on PayPal are not in our full refund or replacement policy. Shipping fee has including the local handing and packaging fee.
4. All the items will be shipping within 1-2 working days after receiving the payment, except some holidays.
5. We will not be responsible for any custom delay or tax, because transit time is highly depended and provided by postal Service.
6. If you have any problem, please contact us via message, we will reply message within 1-2 working days, please wait for patient.

DataCaciques