Skip to content

CYBER CLOCK v1.1.0 — M5StickS3 + M5Cardputer

Choose a tag to compare

@andjiang0083 andjiang0083 released this 24 Sep 09:03
· 7 commits to main since this release

CYBER CLOCK v1.1.0 — first public release

English · 中文

A cyberpunk desk clock for two M5 handhelds, built from one code base. Merged
flash images for both targets are attached below.

What works in this release

M5StickS3 M5Cardputer
NTP timekeeping + timezone picker (NVS) ✅ ✅
Column-trail digital rain, 6 character sets ✅ ✅
6 neon palettes, 3 display modes ✅ ✅
40-band microphone spectrum ✅ ✅
IMU shake-to-theme ✅ ✅
Brightness, 7 levels ✅ hold BtnB ✅ + / -
WiFi provisioning ✅ on-screen keyboard ✅ physical keyboard
Idle power save (80 MHz + 1 fps) ✅ ✅
Light Sleep, backlight off, button wake ✅ ❌ not possible (keyboard on I²C)

Full feature table, controls and the honest list of limitations:
README.md ·
README_CN.md

Images

Both images are merged (bootloader @ 0x0 + partition table + application),
built with DIO flash mode, and written from offset 0x0.

File Target Size sha256
cyber-clock-v1.1.0-merged.bin M5StickS3 1,242,592 B cb90601ef28eb38f302a674a707efbb433d896056f5ccf2699c4a2e3475a9b3f
cyber-clock-cardputer-v1.1.0-merged.bin M5Cardputer 1,242,384 B c04e505f03e061993f5bb20d39c86cff390d6da8ddfc1ba1b8153b456af3a2e4

Flash with M5Burner

Custom → Import Custom FW → pick the .bin (or the bundle in
m5burner/) →
select Cyber Clock (StickS3) or Cyber Clock (Cardputer) → Burn.

Flash with esptool

esptool.py --chip esp32s3 --baud 921600 write_flash 0x0 cyber-clock-v1.1.0-merged.bin

Verify the download

shasum -a 256 cyber-clock-v1.1.0-merged.bin          # must match the table above

Built from

These images were produced by
tools/make-release.sh
from commit b9430f8 of this repository, with:

Component Version
PlatformIO Core 6.1.19
espressif32 platform 7.0.1
Arduino core for ESP32 3.3.9
M5Unified / M5GFX 0.2.23 / 0.2.30
esptool 5.3.0

The build has no pinned library versions (see
BUILDING.md §6),
so a rebuild today may link a newer M5Unified and differ by a few kilobytes from
the table above. The source is the same.

The boot log line to quote in bug reports is the version on the splash screen:
v1.1.0.

Known limitations

  1. The Cardputer cannot Light Sleep. Its keys sit behind a TCA8418 I²C
    expander with no GPIO wake line, so 80 MHz + 1 fps is its floor.
  2. Timezones are fixed UTC offsets (−12 … +12), with no daylight-saving rules.
  3. Non-ASCII SSIDs (Chinese, emoji) render as □ — the font and the on-screen
    keyboard are ASCII-only.
  4. First boot needs a 2.4 GHz access point. After NTP sync the radio is
    switched off on purpose; without a successful sync the display counts up from
    boot instead of showing the time.

Changes in 1.1.0

  • Cardputer build brought to feature parity with the StickS3 build.
  • Fixed the long-press double-trigger: one hold fired both the tap and the hold
    action.
  • Unified the WiFi shutdown path; config.h now holds every tunable constant;
    corrected shake-detection sensitivity; per-boot rain seed (esp_random());
    Cardputer AP gateway address corrected; dead code removed. No visual change.

Full history: CHANGELOG.md

Credits

Built on M5Stack's M5Unified/M5GFX, Espressif's Arduino core and ESP-IDF, and a
WiFi provisioning layer derived from
bmorcelli/Launcher (MIT, © 2023
shikarunochi). Full attribution:
CREDITS.md.
MIT licensed.


中文

一台设备一块钟,两个版本共用同一套代码。下面挂着两个目标的合并刷机镜像。

本版本可用的功能

M5StickS3 M5Cardputer
NTP 对时 + 时区选择(存 NVS) ✅ ✅
列轨迹数字雨,6 种字符集 ✅ ✅
6 套霓虹配色,3 种界面模式 ✅ ✅
40 段麦克风频谱 ✅ ✅
摇一摇换主题(IMU) ✅ ✅
亮度 7 档 ✅ 长按 BtnB ✅ + / -
WiFi 配网 ✅ 屏幕键盘 ✅ 物理键盘
闲置省电(80MHz + 1fps) ✅ ✅
Light Sleep + 关背光 + 按键唤醒 ✅ ❌ 做不到(键盘挂 I²C)

完整功能表、操作说明和"诚实的限制清单"见
README_CN.md。

镜像

两个镜像都是合并镜像(bootloader @ 0x0 + 分区表 + 应用),DIO flash mode,从偏移 0x0 写入。

文件 目标 大小 sha256
cyber-clock-v1.1.0-merged.bin M5StickS3 1,242,592 B cb90601ef28eb38f302a674a707efbb433d896056f5ccf2699c4a2e3475a9b3f
cyber-clock-cardputer-v1.1.0-merged.bin M5Cardputer 1,242,384 B c04e505f03e061993f5bb20d39c86cff390d6da8ddfc1ba1b8153b456af3a2e4

M5Burner 刷机: Custom → Import Custom FW → 选 .bin(或
m5burner/ 里的打包)→ 选中 Cyber Clock (StickS3) 或 Cyber Clock (Cardputer) → Burn。

esptool 刷机:

esptool.py --chip esp32s3 --baud 921600 write_flash 0x0 cyber-clock-v1.1.0-merged.bin

校验: shasum -a 256 cyber-clock-v1.1.0-merged.bin,结果需与上表一致。

构建来源

镜像由本仓库 commit b9430f8 经
tools/make-release.sh
产出,工具链版本:PlatformIO Core 6.1.19、espressif32 平台 7.0.1、Arduino 核心 3.3.9、M5Unified / M5GFX 0.2.23 / 0.2.30、esptool 5.3.0。

由于工程没有锁定库版本(见
BUILDING_CN.md §6),
今天重新构建可能链到更新的 M5Unified,尺寸会与上表差几 KB。源码是同一份。

报 bug 时请引用开机动画上的版本号:v1.1.0。

已知限制

  1. Cardputer 无法 Light Sleep。 它的按键挂在 TCA8418 I²C 扩展芯片后面,没有 GPIO 唤醒线,80MHz + 1fps 就是下限。
  2. 时区是固定偏移(−12 … +12),不含夏令时规则。
  3. 非 ASCII SSID(中文、emoji)显示为 □——字体和屏幕键盘都只支持 ASCII。
  4. 首次开机需要一个 2.4GHz 热点。 对时成功后关闭射频是刻意的;从未对时成功时,屏幕显示开机计时而不是时间。

1.1.0 变更

  • Cardputer 版本与 StickS3 版本功能对齐。
  • 修复长按双触发:一次长按会同时触发短按和长按两个动作。
  • 统一 WiFi 关停路径;config.h 集中所有可调常量;修正抖动检测灵敏度;数字雨按 esp_random() 每次开机取新种子;修正 Cardputer AP 网关地址;清理死代码。视觉零变化。

完整历史见 CHANGELOG.md。

致谢

建立在 M5Stack 的 M5Unified/M5GFX、乐鑫的 Arduino 核心与 ESP-IDF,以及派生自
bmorcelli/Launcher(MIT,© 2023 shikarunochi)
的 WiFi 配网层之上。完整署名见
CREDITS.md。MIT 许可。