
I built an analog clock on a round TFT display, running on an ESP32. The clock face looks like a proper analog clock — hour, minute and second hands on a round display, 3D-printed case included. All source files and STL files are on GitHub. There is also an ESP8266 version.
Setup
After flashing, the clock creates a wifi access point called RondKlokje. Connect to it, open http://192.168.4.1, and enter your wifi credentials. From that point on it syncs time automatically.
Building and flashing
Everything is automated via a single script. Running ./compile.sh takes care of the full chain:
- Downloads arduino-cli
- Downloads the correct (older) version of the ESP32 core — the latest doesn’t fit in flash
- Creates the LittleFS partition image
- Compiles the sketch
- Uploads both the data partition and the firmware to the board
3D printed case
The STL files for the case are in the 3D folder. The print holder is designed specifically for the D1 mini ESP32 form factor.
Leave a Reply