ESP32 Projects
Start a build
Markdown

IoT Node Dither E-paper for ESP32-C6

Use it as a personal photo display, an illustration frame, or a starting point for your own connected e-paper project.

ESP32-C6See upstream buildUnrated
Parts and source

Before you start

Check the exact E-paper display configuration against the upstream wiring or parts list.

Upstream README

IOT-Node Dither E-Paper

繁體中文

Turn your pictures into six-color e-paper art, right from your browser.

An ESP32-powered e-paper application that brings image editing, dithering, wireless display updates, and device management into one local web interface. Connect from your phone or computer, prepare a picture, and send it to the panel—no companion app or cloud account required.

Getting a picture onto e-paper brings together image processing, device connectivity, and panel updates. IOT-Node Dither E-Paper connects those steps in an application you can use and build on: your browser handles composition and dithering, while the ESP32 stores the image, drives the panel, and reports device status, leaving you to focus on what you want to display.

The current hardware pairing is the DFRobot FireBeetle 2 ESP32-C6 and Waveshare 7.3inch e-Paper HAT (E), 800 × 480, six colors.

Six-color e-paper display in a photo frame

Panel model, width, height and horizontal/vertical mounting flips are configured in EpaperPanelProfile.h. The editor and Python tool use the device capability; EPDIMG uploads and storage use gzip, while downloads remain logical raw EPDIMG. Changing geometry assumes the same controller protocol and needs hardware verification.

Try it online

Open the demo

From picture to paper

  1. Connect. Join the device’s Wi-Fi and open its web interface.
  2. Create. Import a PNG, JPEG, or WebP image, crop it, and adjust brightness, contrast, and saturation.
  3. Preview. Apply dithering to turn your picture into the panel’s six-color palette.
  4. Display. Choose Draw to e-paper to upload the result and refresh the screen.
  5. Keep editing. Save a .dither.png image project to restore the original picture and editor settings later.

Use it as a personal photo display, an illustration frame, or a starting point for your own connected e-paper project.

Device connectivity meets browser creativity

This e-paper edition builds on two projects, bringing device management and image creation into one continuous experience.

IOT-Node-Bedrock provides the device foundation. This project extends it, retaining Wi-Fi setup, AP/STA modes, fallback connectivity, persistent settings, device status, and the REST API and serial console architecture. Users have a ready-made entry point for first-time connection and ongoing management; developers can add e-paper features on top of the existing connectivity capabilities.

Embedded Web Dithering provides the image creation interface. This project uses its six-color-epaper branch, bringing browser-based cropping, image adjustments, palette mapping, and dithering into the device web interface. In e-paper device mode, the editor matches the panel dimensions and six-color palette so the previewed image can be sent directly to the display.

This project connects both to the physical panel. The frontend ships with the firmware and uses the device API to send images, check drawing status, and run panel tests. The six-color calibration stored on the device feeds back into the editor for color selection and previews. From joining Wi-Fi and adjusting a picture to updating the panel, the workflow stays in one web interface.

Why this project

  • The editor lives on the device. The web interface ships inside the firmware. Release builds bundle startup assets; browser caching validates their content with ETags to avoid downloading unchanged files. Image preparation runs in your browser, and device operation works over a local connection without internet access.
  • Made for six-color e-paper. Device mode matches the panel’s dimensions and palette, with landscape and portrait cropping, dithering previews, and direct drawing.
  • A palette you can tune. Adjust and save the six display RGB values on the panel test page. The editor uses that calibration for both color selection and preview.
  • Projects you can revisit. A .dither.png project opens as an image in ordinary viewers and restores your editing session when imported back into the editor. Project downloads remain available while the device is offline or cooling down.
  • Wi-Fi setup is already included. AP, STA, AP + STA, saved settings, and optional fallback AP give the display a reusable connectivity foundation.
  • Device information within reach. Check network, storage, and hardware status, including measured battery voltage and estimated battery percentage on the target board.
  • Scheduled low-power operation. An authenticated device page can enable a fixed 12, 24, or 48-hour wake schedule, choose whether to connect to Wi-Fi and sync time on wake, show blockers and wake diagnostics, keep the device awake, or request sleep after the firmware completes safe panel, storage, network, and HTTP shutdown.
  • Ready for your workflow. Use the browser, REST API, serial console, or included Python image tool. The interface supports English and Traditional Chinese.

Try it locally without hardware

After downloading the project, open user-web-project/index.html in your browser: double-click the file, or choose Open File to try it through file://. A demo image is included, and no server is needed.

You can also start a local web server from the repository root:

python3 -m http.server 8000 --directory user-web-project

Open localhost:8000 to try image editing and the simulated device pages. Both local preview methods use mock device data and do not operate a physical panel. The preview administrator credentials are admin / password.

The separate built-in management console also has a mock demo:

make demo WEB_PROCESS=none
python3 -m http.server 8000 --directory build/latest/web

Open the same local address to explore the built-in management console.

Get started

You need the target board and panel, a suitable power supply and USB data connection, plus GNU Make, Python 3, and the PlatformIO CLI on your computer. Confirm wiring and power requirements against the official hardware documentation before powering the panel; other boards and panel variants require a reviewed port.

Connect the e-paper HAT

For the DFRobot FireBeetle 2 ESP32-C6 (DFR1075) and Waveshare 7.3inch e-Paper HAT (E), connect the HAT's 8-pin SPI header as follows. The last column gives the ESP32-C6 chip GPIO number used by the active board profile; the middle column shows the labels on the FireBeetle board.

E-paper HAT (E) FireBeetle board label ESP32-C6 GPIO
VCC 3V3 —
GND GND —
DIN MOSI GPIO22
CLK SCK GPIO23
CS D7 GPIO18
DC D6 GPIO1
RST D3 GPIO14
BUSY MISO GPIO21

Use the HAT's 3.3 V supply option so its I/O level matches the ESP32-C6. The e-paper SPI link is write-only: GPIO21, labeled MISO on the FireBeetle, is used for BUSY; do not connect the HAT to a separate SPI MISO signal. Wire the 8-pin header individually; the board's GDI FPC connector has a different DC/CS route and no BUSY connection, so it does not match this firmware pin map. For another development board, match each signal to that board's actual GPIO numbering and update the firmware board profile after checking power, exposed pins, and boot-sensitive pins. Disconnect power before wiring. Check the DFRobot board pinout and Waveshare HAT (E) manual for connector orientation and power requirements.

Build the firmware with the e-paper product frontend:

make build

Sleep scheduler code is included by default while the saved schedule remains disabled until configured. Use make build SLEEP=0 to omit its routes and implementation; release manifests record sleep_scheduler for the selected build.

Nine compile-time features are configured in config/features.ini: sleep, epaper, storage, auth, user_files, mdns, battery, console, and status_led. Use make build FEATURES=config/profiles/minimal.ini WEB=none for a minimal firmware. Epaper and user_files require storage; disabling storage reclaims userdata for the app and changes the file layout. The frontend reads GET /api/features to adapt available controls. See feature configuration for dependencies, partition switching, and validation. The onboard status LED uses 10% PWM brightness in normal mode, turns off before sleep, and stays off during timer wake cycles.

Find your board’s serial port, then build, verify, and flash:

pio device list
make deploy PORT=/dev/ttyACM0

Replace /dev/ttyACM0 with your actual port. make deploy cleans and rebuilds before flashing.

On a fresh device:

  1. Join esp32-device-XXXX from your phone or computer.
  2. Open the captive portal, or visit http://192.168.4.1/ directly.
  3. Start preparing a picture, or sign in with admin / password to configure Wi-Fi and device settings.
  4. Draw your picture when the panel reports it is ready.

The default build rebuilds user-web-project/ and bundles it into the firmware; no separate web filesystem upload is needed.

Project resources

The frame files are cutting files for the photo frame (.ai format).

Build on it

Build your own e-paper photo frame or display from here: keep IOT-Node-Bedrock's connectivity and management capabilities, customize the Embedded Web Dithering editing interface, and connect your own image sources or automation tools through the e-paper API.

For projects centered on other sensors or controllers, start with the general-purpose IOT-Node-Bedrock foundation. For image processing and limited-color displays, explore Embedded Web Dithering. This repository provides an application starting point that integrates both with six-color e-paper.

What you want to do Where to start
Customize the image editor and product interface user-web-project/
Use the built-in management console make build WEB=builtin and builtin-web/
Build firmware with REST and serial access only make build WEB=none
Convert and send images from Python E-paper tool
Integrate device control and automation REST API reference
Work over a serial connection Console reference
Understand builds, verification, and flashing Development tools and release workflow

Product frontend source lives in user-web-project/, maintained as a Git subtree for synchronization with the upstream six-color-epaper branch. Make your customizations in that directory; user-web/ and build/ contain generated output. See the Makefile for development and subtree commands, and the specification index for architecture and behavior.

Know before you connect

  • Refreshes are deliberately paced. Each completed physical draw is followed by a 180-second cooldown. The interface shows remaining time; local editing can continue during the cooldown.
  • The panel target is specific. Firmware accepts the fixed EPDIMG format, not raw PNG or JPEG uploads. The product editor and Python tool handle conversion for you.
  • Use a trusted local network. The initial AP is open and the default administrator password is password.
  • Sleep behavior still needs device validation. Host tests cover code, API, browser behavior, and release builds. Timer wake, GPIO levels, USB-host detection, reconnect behavior, current draw, and panel cooldown evidence require the target board and panel. An attached USB host blocks sleep by default, and a sleeping device cannot answer the web UI or keep-awake request until it wakes.