Quick Facts
- Category: Cybersecurity
- Published: 2026-05-19 08:17:03
- A Blueprint for Compassionate Workforce Restructuring: Lessons from Cloudflare's 2025 Reductions
- AI-Powered Bug Hunting: How Greg Kroah-Hartman Is Revolutionizing Linux Kernel Security
- 8 Key Insights on SAP's AI Rollout: From Promises to Reality
- Terraria by the Numbers: Over 100 Hours Average Playtime and 70 Million Copies Sold - What's Next?
- Swift 6.3 Unveiled: Unified Build System, Community Insights, and More
Introduction
If you’re looking for a timepiece that blends retro aesthetics with modern microcontroller magic, the voltmeter clock is a masterpiece of DIY engineering. Built by hacker lcamtuf, this clock doesn’t use traditional hands or digital numbers. Instead, it transforms three analog voltmeters into a working clock for hours, minutes, and seconds. The result is a beautiful fusion of vintage meter movements and precise digital control. In this article, we’ll explore five key aspects that make this build so clever and visually captivating.

1. Why Voltmeters? The Appeal of Retro Displays
Analog voltmeters have a distinct charm that digital displays can’t replicate. Their sweeping needles and glowing backplates evoke a sense of nostalgia, reminiscent of classic laboratory equipment or old-school radios. In this build, Baomain 65C5 voltmeters are repurposed to display time. The choice is deliberate: voltmeters are inherently analog devices, and turning them into a clock requires creative reworking of both hardware and software. The visual feedback—needles gliding smoothly across custom scales—makes time-telling feel more organic. Hackers and makers love this approach because it challenges conventional clock design and brings a tactile element to something as mundane as telling time.
2. The Brains: AVR128DB28 Microcontroller
At the heart of the voltmeter clock lies the AVR128DB28, an 8-bit microcontroller that’s still in active production. Running at 8 MHz, it’s more than capable of handling the timing and PWM generation needed for this project. The AVR128DB28 belongs to a family known for its ease of use and robust peripheral set. [lcamtuf] chose it for its reliability and the ability to write custom software without needing an operating system. The microcontroller outputs precise 1-bit pulse streams that control each voltmeter’s needle position. Despite being a relatively simple chip, it demonstrates that you don’t need a high-end processor to create something elegant—just careful coding and a good understanding of timer interrupts.
3. Custom Dial Design: 13 or 61 Divisions
Each voltmeter originally had a standard scale for measuring voltage. To convert them into clock faces, [lcamtuf] printed custom dials with the correct number of divisions. The hour meter gets 13 divisions (12 hour marks plus a 0/12), while the minute and second meters get 61 divisions (0–60). This asymmetry requires careful design: the printed scales must be precisely aligned so that the needle points exactly to the right increment. The custom faces are not just functional; they’re also aesthetic, with a clean white background and black markings that mimic classic clock faces. Creating these dials involved measuring the original voltmeter’s arc and then producing a print that fits perfectly behind the needle.
4. Software PWM: Crafting Analog Movement from Digital
Driving an analog voltmeter with a microcontroller sounds straightforward, but it requires a clever trick: software-generated pulse-width modulation (PWM). Since the voltmeter’s needle position depends on the average voltage applied, [lcamtuf] wrote custom code that generates a continuous stream of 1-bit pulses. By varying the duty cycle of these pulses, the microcontroller controls how far the needle moves—higher duty cycles push the needle further, lower ones pull it back. This approach eliminates the need for a DAC or external PWM module. The software has to run with consistent timing, as even slight jitter would make the needle flicker. The result is smooth, accurate movement that makes the clock look like a high-end instrument.

5. The Wooden Enclosure: Kerf-Bent Panels
No great clock is complete without a housing that matches its ingenuity. The voltmeter clock sits inside a stunning wooden case crafted with kerf-bending—a technique where a series of parallel cuts are made in the wood to allow it to bend into curved shapes. [lcamtuf] used this method to create the enclosure’s elegant curved side panels, giving the clock a warm, organic feel that contrasts with the industrial meters. The case is built from what appears to be a dark wood, possibly walnut or mahogany, adding a touch of sophistication. The careful woodworking not only protects the electronics but also elevates the entire project from a simple hobby build to a piece of functional art.
6. Rollover Behavior: A Visual Treat
One of the most delightful moments in any clock is when the numbers roll over. In the voltmeter clock, this happens with a smooth sweep of the seconds needle, then the minute needle, and eventually the hour needle. The rollover behavior is specifically engineered to mimic the gradual movement of an analog clock, rather than jumping instantly. Watching the seconds needle glide across the dial and then the minute needle slowly creep forward is mesmerizing. [lcamtuf]’s video (see below) demonstrates this perfectly, showing how the needles all operate in harmony. It’s a small detail that adds a lot of character, making this clock as entertaining to watch as it is functional.
Conclusion
The voltmeter clock by [lcamtuf] is more than just a way to tell time—it’s a celebration of cross-disciplinary making. By combining vintage voltmeters with modern microcontrollers, custom print work, and beautiful woodworking, the project showcases how old and new can coexist beautifully. Whether you’re a seasoned hacker or just someone who appreciates clever design, this clock offers inspiration to look at everyday objects with fresh eyes. Check out the video below to see the rollover behavior in action, and maybe start planning your own version.