E-INK

Testing with Python on a Raspberry Pi 3B+ and a 2.13 Inch / 250×122 Resolution / Partial Refresh (GDEH0213B72)

Prepare the Raspberry Pi

  • sudo raspi-config >> 3 Interface options >> P4 enable SPI
  • sudo reboot

Prepare the software

  • sudo apt-get update
  • sudo apt-get install python-pip
  • sudo apt-get install python-pil
  • sudo apt-get install python-numpy
  • sudo pip install RPi.GPIO
  • sudo pip install spidev sudo git clone https://github.com/waveshare/e-Paper cd ~/ws/e-Paper-master/RaspberryPi_JetsonNano/python/examples

Testing 2.13 Inch / 250×122 Resolution / Partial Refresh (GDEH0213B72)
> sudo python epd_2in13_V2_test.py

Testing 7,5 inch
>sudo python epd_7in5_V2_test.py

Testing with Python on an ESP32(Wemos Lolin D32) and a 2.13 Inch / 250×122 Resolution / Partial Refresh (GDEH0213B72)

Arduino IDE GxEPD2_Example with 2.13″

  • Arduino IDE
  • Find GxEPD2_Example
  • Check connections
  • At GxEPD2_display_slection.h remove under ESP32 the slashes before > GxEPD2_BW display(GxEPD2_213_B72(/CS=5/ SS, /DC=/ 17, /RST=/ 16, /BUSY=/ 4)); // GDEH0213B72
  • Under // select only one to fit in code space remove backslashes > include “bitmaps/Bitmaps128x250.h” // 2.13″ b/w
  • Check IDE for BOARD and PORT

Arduino IDE GxEPD2_Example with 7.5″

  • Arduino IDE
  • Find GxEPD2_Example
  • Check connections
  • Under ESP32 remove the slashes before > GxEPD2_3C display(GxEPD2_750c_Z90(/CS=5/ SS, /DC=/ 17, /RST=/ 16, /BUSY=/ 4)); // GDEH075Z90 880×528
  • Under // select only one to fit in code space remove backslashes > include “bitmaps/Bitmaps128x250.h” // 2.13″ b/w

ESP32 <> e-Paper Driver HAT

COLOR ESP32 e-Paper Hat
BrownGNDGND
Blue23Din
Yellow18CLK
Orange5CS
Gray3VVcc
Green17DC
White16RST
Purple4Busy