← sources

Claude Code wrote a from-scratch firmware for my 2020 smartwatch in three days. What worked, and what still needed a human

source: reddit (reddit:ClaudeAI)published 2026-10-24 12:45ingested 2026-10-25 02:36

retained text

Project: Kronograf, an open-source (MIT) firmware for the LilyGO T-Watch 2020 V1, an ESP32 watch with a 240×240 screen. Three faces (an aviator chronograph, Back to the Future "time circuits", night), 13 apps, iPhone notifications over Bluetooth, a network toolbox, and a macOS simulator. It is free: prebuilt binaries in the releases, and the simulator runs on a Mac without the watch.  

How Claude helped: Claude Code (Opus 5.5) wrote the code. My part was the brief, the architecture and the decisions at each stage, and testing on the wrist. 

What made it work:
- A structured brief first (a north star, hardware, stages 0 to 9), then one stage at a time: built, flashed, checked on the watch before the next one.
- A simulator that compiles the same UI. Claude could render headless screenshots (--shot) and check its own UI work without the watch.
- Two running logs in the repo: DECISIONS.md (56 decisions, each with the reason) and BLOCKERS.md (what broke, what was tried).
- Plain C for the data parts, tested on the host: the ANCS notification protocol (iPhone notification), a streamed protobuf parser for a \~1 MB transit feed, time zones (checked against the C library on twelve zones over two years), sun and moon.

What still needed a human:
- Anything physical. The micro-USB connector on my unit drops out mid-flash; we moved to OTA updates and resumable block flashing.
- Bugs that only exist on battery. USB prevents light sleep, so the first sleep on battery froze the watch: a watchdog left armed, then an interrupt storm. Both were tracked down from serial logs and fixed, with me holding the watch.
- Judgement calls on the wrist: wrist-raise thresholds still need tuning.

https://github.com/storagebits/kronograf

document fetched 2026-10-25 00:21 · canonical https://reddit.com/r/ClaudeAI/comments/1xe7pzk/claude_code_wrote_a_fromscratch_firmware_for_my