# Lumo Watch

Lumo 圆屏手表

A round AMOLED watch with code-drawn faces and a second life as a USB media knob.

圆屏 AMOLED 手表，表盘由代码绘制，还能变身为 USB 媒体旋钮。

- id: lumo-watch
- author: lumosmaximus
- repository: https://github.com/lumosmaximus/lumo-watch
- license: Apache-2.0
- shape: round
- scenes: wearable, art, tools
- boards: Waveshare ESP32-S3-Touch-AMOLED-1.75
- browser_playable: yes
- preview: Interactive replay
- html: https://esp32gallery.com/projects/lumo-watch/
- html_zh: https://esp32gallery.com/zh/projects/lumo-watch/
- json: https://esp32gallery.com/data/catalog/projects/lumo-watch.json

## Hardware

Waveshare ESP32-S3-Touch-AMOLED-1.75 with a 466 × 466 round display and touch bezel.

Waveshare ESP32-S3-Touch-AMOLED-1.75，配 466 × 466 圆屏与触控边框。

## English

```
A round 1.75-inch AMOLED board, the Waveshare ESP32-S3-Touch-AMOLED-1.75, gets turned into a watch whose real subject is a 16.7 ms deadline: a full 466×466 frame is 434 KB and about 11 ms of QSPI bus time at 80 MHz, so redrawing everything at 60 fps was never an option. The fix set is dirty 8-row bands, frames started on the panel's tearing pulse, and driving the SPI peripheral directly with two band buffers so DMA ships one while the CPU draws the next, taking display writes from 3.4 ms to 0.5 ms. It holds 59-60 fps using 9-13 ms per frame, and runs on Zephyr RTOS rather than the vendor SDK, which meant writing the board definition and four drivers first. Plugged into a laptop it also works as a USB media remote, with a Mac helper reporting volume, mute and now-playing over serial.
```

## 中文

```
一块圆形的 Waveshare ESP32-S3-Touch-AMOLED-1.75，被做成手表，真正要对付的却是 16.7 ms 的帧期限：466×466 的整帧是 434 KB，在 80 MHz 四线 QSPI 上光传输就要约 11 ms，所以不可能每秒重画全部。解法是只重画脏掉的 8 行条带、把每帧对齐到面板的撕裂脉冲，再绕过驱动直接操作 SPI 外设并配两块条带缓冲，让 DMA 送一块时 CPU 画下一块，显示写入从 3.4 ms 降到 0.5 ms。最终稳定在 59 到 60 fps，每帧用掉 9 到 13 ms。系统跑的是 Zephyr RTOS 而不是厂商 SDK，为此先自己写了板级定义和四个驱动。插到笔记本上它还能当 USB 音量旋钮，Mac 端一个小脚本通过串口回传音量、静音和正在播放的内容。
```
