# E-Paper Art Frame

可用网页画廊更新画面的 ESP32-C5 七色电子墨水艺术相框。

Interactive ESP32-C5 seven-color E-Paper art frame with a local web gallery and reliable web-triggered refresh.

可用网页画廊更新画面的 ESP32-C5 七色电子墨水艺术相框。

- id: max-yxy-esp32-c5-7color-epaper-art-frame
- author: Max-YxY
- repository: https://github.com/Max-YxY/esp32-c5-7color-epaper-art-frame
- license: MIT
- shape: epaper
- scenes: art
- boards: ESP32-C5
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/max-yxy-esp32-c5-7color-epaper-art-frame/
- html_zh: https://esp32gallery.com/zh/projects/max-yxy-esp32-c5-7color-epaper-art-frame/
- json: https://esp32gallery.com/data/catalog/projects/max-yxy-esp32-c5-7color-epaper-art-frame.json

## Hardware

ESP32-C5. Verify the exact board revision, wiring and power requirements in the upstream build guide.

ESP32-C5；请在上游构建文档中核对具体板型、供电与接线。

## English

```
Artwork goes up from a Python web console on the local network and lands on a four-inch seven-colour e-paper panel driven by an ESP32-C5. The gallery converts each upload into a fixed 120000-byte payload and stores a revision token; the device polls that token, restarts on a change and redraws from its boot path, a deliberate choice because repeated in-place full refreshes proved unreliable on this panel. Progress states come back to the page as the device downloads and refreshes. The firmware is built with the Arduino core for esp32c5 rather than ESP-IDF, and the panel uses hardware SPI with a power-control line. A server has to stay running on the same LAN.
```

## 中文

```
画从电脑上的网页画廊传上来，落到一块 4 英寸七色墨水屏上，主控是 ESP32-C5。服务端把每张上传图量化成固定 120000 字节的面板数据，并存一个会递增的版本号；板子在局域网里轮询这个号，发现变了就自动重启，在启动阶段把选中的图整屏刷新一次。之所以绕这么一圈，是因为这块面板在原地连续整屏刷新不可靠。刷新过程会回报在线、重启、下载中、完成和出错几种状态。固件用 Arduino 的 esp32c5 核心编，不是 ESP-IDF，七根 GPIO 走硬件 SPI，另有一根控制 HAT 供电。电脑上的 Python 服务得一直开着，端口 9999。
```
