Difference between revisions of "Template:ESP32 Guides for SPI e-Paper"
From Waveshare Wiki
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Hardware connection== | ==Hardware connection== | ||
*Raw panel + ESP32 Driver Board | *Raw panel + ESP32 Driver Board |
Revision as of 06:04, 17 May 2022
Hardware connection
- Raw panel + ESP32 Driver Board
- If you have the ESP32 e-Paper Driver board as well as an e-Paper raw panel.You can just connect the e-paper panel to the ESP32 board as below:
- Configure the switch according to the type of display
Trigger state | e-Paper |
---|---|
A | 1.54inch e-Paper, 2.13inch e-Paper, 2.13inch e-Paper (D), 2.9inch e-Paper |
B | 1.54inch e-Paper (B), 1.54inch e-Paper (C)
2.13inch e-Paper (B), 2.13inch e-Paper (C) |
Note: The ACeP e-Paper doesn't support this connecting method.
- e-Paper Module/HAT + ESP32 Board
- If you have the ESP32 Board as well as the e-Paper module/HAT which has PCB already, you can wire the displays by 8-pin cable pin
e-Paper | ESP32 |
Vcc | 3.3V |
GND | GND |
DIN | GPIO14 |
CLK | GPIO13 |
CS | GPIO15 |
DC | GPIO27 |
RST | GPIO26 |
BUSY | GPIO25 |
Run the Demo Codes
- Open the Arduino IDE
- Choose File->Examples-> waveshae-e-Paper -> And the project according to the type of display
- Build and program the ESP32 board
- Open the serial monitor, you can check the degbug information when runing the demo codes