A customizable 7-segment style Wi-Fi connected clock powered by WLED. This repository not only hosts the source code of the firmware but also serves as the documentation of this project providing all necessary files and information to replicate it.
The clock has three essential parts: a 3D-printed enclosure, the electronics and the firmware.
The enclosure was designed in Fusion 360. 3D printing it requires two kinds of materials, an opaque and a translucent one. The clock is ~40 cm wide, so a 3D printer with a large build area is necessary to print the base platform and bottom plate.
The electronics are fairly simple: the heart of the project is an ESP32 chip which drives 58 pieces of WS2812b individually addressable LED chips. The LEDs form four 7-segment displays (each segment has two LEDs) and a separator consisting of two LEDs. An USB interface circuitry is also included for easy firmware upgrades. There's also an ambient light sensor for automatic brightness control, and a small piezo speaker for making some noise.
The firmware is powered by the awesome project WLED. It is pre-configured with all the correct parameters, hides all irrelevant settings and features but provides additional functionality specific to this project.
Here are two pictures of the completed project:
YouTube video:
- Clock function
- 12 or 24 hour format
- automatic time synchronization from the internet
- Timer function
- Stopwatch function
- Lap time recording
- Control interface available on any device with a browser on the same wireless network
- Android, iPhone, iPad applications (provided by the WLED project)
- Configurable display effects and colors
- Automatic brightness control based on ambient light intensity
- Configurable beeps
See a couple of shots from the ui (click to enlarge):
Please check the user's guide to get an overview of the features and settings. You may also check the WLED knowledgebase for further information.
This repository has all information you need to make this project:
- CAD plans for the enclosure
- 3MF files to 3D print it
- Schematic and PCB design
- Gerber files for PCB production
- Bill of materials
- Assembly video
You can buy me a coffee to support my work: https://ko-fi.com/imeszaros
Do you need help? Have you built the clock? Feel free to contact me.