Waveshare 4.3" E-paper display
This is a US$60 serial interface E-Ink display module, 4.3inch, 800 X 600 resolution, with embedded font libraries, ultra low power consumption.
Purchase from the
online shop.
Documentation and downloads can be found
here.
Download demo code
Download from http://www.waveshare.com/wiki/4.3inch_e-Paper_Software
- 4.3inch-e-Paper-COM.7z (serial port test program)
- UC-GUI-BitmapConvert.7z (image conversion tool)
- 4.3inch-e-paper-TF.zip (vendor fonts and images)
Download from http://www.waveshare.com/w/upload/e/eb/
- 4.3inch-e-Paper-Code.7z (Arduino demo code)
Serial port interface
Test-drive the display by hooking it to a USB serial device and connect to PC. Ignore the RST(1) and WAKE_UP(2) lines.
Check your COM port in Device Manager -> Ports -> Silicon Labs CP210x (COM4).
Run the test program:
4.3inch-e-Paper-COM\EPSCOMM\EN\EPSCOMM_EN.exe
Set port COM4
Open -> Shake hands (OK in Receive)
Set X1=100, Y1=100, Input text=DIY 4.3-inch Kindle device!
Character -> Refresh
Clear screen -> Refresh
Set X1=0, Y1=0, Input text=PIC7.BMP
Picture -> Refresh
Arduino interface
Create the folder C:\Users\...\Documents\Arduino\libraries\Epaper.
Copy epd.cpp and epd.h (in 4.3inch-e-Paper-Code\4_3inch-ePaper\4_3inch-ePaper-demo\Arduino-epd\epd)
to Epaper folder.
Format a microSD card(16G card worked ok) as FAT32, 4KB allocation unit size in Windows.
Copy 4.3inch-e-paper-TF\TF\*.* to microSD card.
Generate custom bitmap images
Use MSPAINT to resize image to 800x600.
Save as BMP, followed by 24-bit bitmap.
Run uC-GUI-BitmapConvert.exe
Open bitmap image.
Image -> Convert Into -> Gray4 (2 BPP)
Save as BMP eg. MT07.BMP (all upcase,max 9 char).
Copy to microSD card and insert into display socket.
Connect display to Arduino
Arduino | 4.3inch e-Paper |
5V | Red/6 VCC |
GND | Black/5 GND |
RX | White/4 DOUT |
TX | Green/3 DIN |
D2 | Yellow/2 WAKE_UP |
leave unconnected | Blue/1 RST |
Source code is in 4.3inch-e-Paper-Code\4_3inch-ePaper\4_3inch-ePaper-demo\Arduino-epd\Arduino-epd.ino
Since the display shares the RX/TX lines of the Arduino Pro Mini UART with the USB serial interface:
Open code in Arduino IDE.
Disconnect display RX/TX lines.
Connect USB serial RX/TX lines.
Compile and upload code to Arduino.
Disconnect USB serial RX/TX lines.
Connect display RX/TX lines.
Reset Arduino to restart demo program.
Code will cycle thru several sample screens.
Last picture retained on screen after power off.
Thanks to Paul Killeen for loaning the display for this write-up!