Skip to content

Hardware and Setup

Mikkel102454 edited this page Oct 6, 2026 · 1 revision

Hardware and setup

Hardware

Component Model
Controller Espressif ESP32-C5-DevKitC-1 v1.2 with 8 MB PSRAM
Display Waveshare 5.79inch e-Paper Module (G), SKU 27846
Resolution 792 × 272 pixels
Colors Black, white, red, yellow

Wiring

Display connection ESP32-C5 connection
PWR GPIO5
BUSY GPIO9
RST GPIO8
DC GPIO4
CS GPIO10
CLK GPIO6
DIN GPIO7
GND GND
VCC 5V

Connect the setup button between GPIO0 and GND. Firmware configures the input with a pull-up and uses a low level on GPIO0 to wake from deep sleep into configuration mode.

Build and flash

From the repository root, use the checked-in PlatformIO environment:

pio run -d Arduino -e esp32_c5_devkitc_1
pio run -d Arduino -e esp32_c5_devkitc_1 -t upload
pio device monitor -b 115200

The project pins its pioarduino platform URL in Arduino/platformio.ini, uses ArduinoJson, custom partitions, and a font-generation prebuild script. It configures 8 MB flash and enables PSRAM support. Keep these settings with the project.

Configure CONFIG_AP_SSID and CONFIG_AP_PASSWORD in Arduino/arduino_secrets.h for the provisioning access point. That header also controls optional hardcoded WiFi fallback through USE_HARDCODED_WIFI, WIFI_SSID, and WIFI_PASSWORD. Use your own configuration; credentials are not reproduced here.

At startup, serial output reports detected PSRAM and available memory. The framebuffer uses PSRAM when available and otherwise falls back to internal RAM.

Continue with Arduino Overview to provision the endpoint and schedule. See Fonts before adding custom font assets.

Implementation references

Clone this wiki locally