# SimpleClock

Big, burn-in-aware digits on a square AMOLED desk clock.

用大字和布局轮换照顾 AMOLED 的桌面时钟。

- id: marvin3991-esp32-simpleclock
- author: marvin3991
- repository: https://github.com/marvin3991/esp32-simpleclock
- license: MIT
- shape: square
- scenes: home
- boards: Waveshare ESP32-C6-Touch-AMOLED-2.16
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/marvin3991-esp32-simpleclock/
- html_zh: https://esp32gallery.com/zh/projects/marvin3991-esp32-simpleclock/
- json: https://esp32gallery.com/data/catalog/projects/marvin3991-esp32-simpleclock.json

## Hardware

480 × 480 square AMOLED with ESP32-C6, NTP and an on-board RTC. Preview shows two real upstream device screenshots; setup and status screens are omitted.

## English

```
The whole 480x480 square AMOLED is used as a clock face: hours and minutes in tabular columns, seconds tucked into a corner, weekday, month and two-digit day in a side column that swaps sides every hour, and the entire face drifting 1 px a minute around a 12 x 12 loop to fight burn-in. A Waveshare ESP32-C6-Touch-AMOLED-2.16 brings the CO5300 panel, CST9220 touch, AXP2101 PMU, PCF85063 RTC and QMI8658 accelerometer; no soldering or extra parts are needed. Time syncs over NTP every hour and survives offline in the RTC, whose drift is measured and corrected. Wi-Fi is set from a .env file or by the clock's own hotspot with a QR code, and settings live at clock.local in Traditional Chinese or English. PlatformIO builds it; the first toolchain download is about 7 GB.
```

## 中文

```
整块 480x480 方形 AMOLED 只当时钟用：小时和分钟按列对齐，秒缩在角落，左侧一列显示星期、月份和两位日期，整点换边、整面每分钟漂移 1 像素，全是为了防烧屏。硬件是 Waveshare ESP32-C6-Touch-AMOLED-2.16，自带 CO5300 屏、CST9220 触摸、AXP2101 电源管理、PCF85063 RTC 和 QMI8658 姿态传感器，不用焊任何东西。时间每小时经 NTP 校准，断网靠 RTC 接着走，走时偏差会在每次同步时测出来并自动修正。WiFi 可以写进 .env 再刷，也可以让时钟自己开热点、屏幕上出二维码配网；设置页在 clock.local，繁体中文或英文。PlatformIO 编译，首次要下载约 7 GB 工具链。
```
