Skip to content
https://abc.microfintool.com/

Mobile & Accessories

  • Welcome to ABC Tool: Your Ultimate Portal for Smartphones and Accessories
  • About / Contect
    • PRIVACY POLICY
  • Blog
A nicer voltmeter clock – lcamtuf’s thing

A nicer voltmeter clock – lcamtuf’s thing

Posted on May 17, 2026 By safdargal12 No Comments on A nicer voltmeter clock – lcamtuf’s thing
Blog

[ad_1]

Back in 2019, I built a simple voltmeter clock:

The clock, version 1.

As the name implies, these clocks use analog panel voltmeters instead of traditional clock faces to display time. I didn’t come up with the idea, so I never really blogged about the design; I just built one and kept it on my office desk.

The idea endures, but most of the designs I see on the internet are needlessly complicated and not all that pretty, so when I decided to build a revised design, I figured it might be good to document it better. The process started with a rough mockup in a 3D design program:

A mockup of the new design in Rhino3D.

For this version of the meter clock, I opted to use three generic, 90° panel voltmeters from Amazon (link, about $9). I disassembled them, took careful measurements of the faces, and then printed replacement decals on adhesive paper. Printable PDF templates can be found here.

Customizing 5 V panel meters.

Note that the new hour gauge has 13 divisions, from 0 to 12, while the minute and second templates have 61 divisions, from 00 to 60. This is because I wanted to implement continuous motion for each hand; this meant that at 11:30, the hour dial couldn’t be just stuck at 11; it needed to be moving toward the twelfth division, even if it was never to reach it.

In addition to a host of other problems, the cheap “Baomain 65C5” meters I’m using have a rather hideous plastic flange. I decided to hide this flange from view and use a recessed decorative pattern to keep the front panel interesting. This made it more expedient to cut the front and back on a CNC mill instead of building the enclosure by hand (as I did for version 1):

Machined front and back faces.

The rounded side wall posed a very different challenge. For a seamless appearance, I needed to do bend a flat piece of wood using a shaped template. To pull this off without a steam bending jig, I had to cut a series of internal notches on the side wall. This allowed the wood to flex more easily:

Manually bending side walls using an internal template.

The wood had to be moistened, clamped, and then allowed to dry. After a couple of days, I glued the curved side wall to the front and back faces, relying on another template cut out of scrap plywood to get a precise fit without any more gymnastics with clamps and ratchet straps:

Gluing up clock body using an external template (plywood).

Anyway — here’s the assembled piece after sanding and a coat of nitrocellulose lacquer:

Initial fitting.

Not bad, right?

The circuit is far less interesting and took just an hour or so: I grabbed the venerable AVR128DB28 MCU, powered it off a wall wart, interfaced it to an 8 MHz crystal (ECS-80-18-4X-CKM). A 32.768 kHz crystal would also do. The panels are connected to three digital output pins (PC0, PC1, PC2). Finally, two input pins (PD6, PD7) are interfaced to two small pushbuttons mounted on the back and used to set time.

Note that the circuit doesn’t required digital-to-analog converters or any other additional components to drive the meters; instead, I’m just using a relatively high-frequency digital pulse train. The inertia of the meter does the rest, settling in an intermediate position depending on the software-controlled signal duty cycle.

The code can be viewed here; it’s short and well-commented. The basic idea is to advance a 10 Hz counter using a timer interrupt synchronized with the crystal. With this out of the way, the main event loop computes the appropriate duty cycle and then manually toggles the output pins. Although the chip has a hardware PWM module, the application is simple enough that using the PWM circuitry wouldn’t really buy us anything.

Here’s the obligatory “rollover” video captured around 11:59:59:

Peace out.

If you liked the article, you’ll enjoy The Secret Life of Circuits. It’s a richly illustrated, lucid introduction to electronics — from the physics of conduction to embedded system programming. It features 290+ color diagrams, 420+ pages of original content, and zero AI.

[ad_2]

Source link

Post Views: 29

Post navigation

❮ Previous Post: Here are the hints that Google is preparing "People Finding" mode to counter Apple's Precision Finding
Next Post: Vivo's X500 series might give me zero reason to buy an iPhone or Galaxy ever again ❯

You may also like

T-Mobile is making it easier for non-customers to sign up for T-Sat
Blog
T-Mobile is making it easier for non-customers to sign up for T-Sat
May 11, 2026
A new Xbox 360 emulator just hit Android, but you should hold off
Blog
A new Xbox 360 emulator just hit Android, but you should hold off
June 1, 2026
Phone Batteries Are Better Than Ever. Why Doesn’t It Feel That Way?
Blog
Phone Batteries Are Better Than Ever. Why Doesn’t It Feel That Way?
May 13, 2026
Apple TV: 26 of the Best Shows You’re Probably Not Watching
Blog
Apple TV: 26 of the Best Shows You’re Probably Not Watching
April 12, 2026

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Fix Outlook for Mac 16.110 Missing Email History
  • Anthropic’s Claude Tag: Smarter Slack Assistant
  • Google Home Facial Recognition Update Boosts Accuracy
  • Meta Pauses Employee Tracking After Data Leak
  • US Accelerates Post-Quantum Cryptography Deadline to 2030

Recent Comments

  1. Declan Chidlow on History of Game Console Web Browsers: Evolution & Tech
  2. ALEXAnync on Meta steals a tactic from Tesla and builds data centers in tents
  3. ALEXAnync on The Delivery You Didn’t Order: Breaking Down the ‘Free Phone’ Scam
  4. Pakistan's Football Industry: Complete Guide (2026) – Manufacturing, Exports, Business & Future Growth (Part-1) - Micro Finance Tool on WhatsApp is now testing its subscription service, here's what you get and how much it costs
  5. Budget Calculator: Your Complete Guide to Better Money Management - Micro Finance Tool on US Accelerates Post-Quantum Cryptography Deadline to 2030

Archives

  • June 2026
  • May 2026
  • April 2026

Categories

  • Blog

Copyright © 2026 Mobile & Accessories.

Theme: Oceanly News by ScriptsTown