E-paper 4.2" 400x300 (SPI) with ESP32
Supply 3.3 V
Bus SPI
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| VCC | Power | 3V3 | 3.3 V. Newer boards add a 9th pin PWR: tie it to 3V3 or drive it HIGH |
| GND | Ground | GND | |
| DIN | SPI MOSI | D23 | SPI data (MOSI) |
| CLK | SPI clock | D18 | SPI clock |
| CS | SPI chip select | D5 | |
| DC | Input (the ESP32 drives it) | D25 | Data / command select |
| RST | Input (the ESP32 drives it) | D26 | Reset |
| BUSY | Output (the part drives it) | D27 | Tells when the screen is refreshing. Wait for it before sending more |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- Waveshare 4.2inch e-Paper Module user manual, Pins VCC, GND, DIN, CLK, CS, DC, RST, BUSY
Try it in 3D in BoardPilot
Related parts
APA102 / SK9822 LED strip (clock + data)E-paper 1.54" 200x200 (SPI)E-paper 2.13" 250x122 (SPI)E-paper 2.9" 296x128 (SPI)GC9A01 1.28" round IPS 240x240 (SPI)ILI9341 2.8" TFT 240x320 with touch (SPI)
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.