Live data from Hacker News

A nicer voltmeter clock

lcamtuf.substack.com

31–40 of 53 posts

Re: A nicer voltmeter clock

#31

I always enjoy projects like this. Both because the are artistically neat and because the give me all sorts of ideas.

It's certainly nice to see the nice woodworking in combination with a simple elegant design. Ways to keep more than one brain center active!

And it goes really well as a aesthetic choice too!

Re: A nicer voltmeter clock

#32
I saw somebody's arduino based voltmeter clock way back around 2014, I think here: https://maniacallabs.com/2014/07/08/meter-clock-pt1/

I thought it was pretty cool, but a bit expensive for what it was.

So I made my own with a PIC chip: https://www.n1kdo.com/meter-clock/index.html

Mine is more of a novelty than a accurate clock. It is a interesting desktop geegaw to invite discussion.

Re: A nicer voltmeter clock

#33

I expected seconds arrow to move much more smoothly than in the video is 10Hz control just too slow?

Looked pretty smooth to me, in the video from TFA? If there is a noticable ripple some kind of simple capacitor added to the circuit should smooth it out? (I don't know much about electronics).

Re: A nicer voltmeter clock

#34
post #30
post #28

Earlier quoted context omitted.

I think I don't completely understand your idea. The current flowing through the amperemeter¹ depends on the voltage and the resistance of the incandescent(?) lamp. To vary current by the minute, you would need a digital resistor or potentiometer, I guess. Is that your suggestion? ¹) I just found out that it is more commonly called 'ammeter' in English - which is so unintuitive that I prefere 'amperemeter'.

If you have a feedback loop I'm sure you can still do it with an either implicitly or explicitly filtered PWM. Remember we're talking averages not instantaneous, so the average current through the bulb should be proportional to the average voltage across it, though the resistance will change as the bulb heats hence the feedback. You could also do this with a buck/boost regulator and current sense resistor plus op amp…

"average current through the bulb should be proportional to the average voltage across it" That is exactly correct, the reason they were seeking clarification, and the core of suggested solution.

V=I*R

If V = Hours and I = Minutes, then by necessity R=Hours/Minutes. Typically a light bulb has mostly fixed resistance (R). Adding a potentiometer to the circuit allows you control the value of R.

Re: A nicer voltmeter clock

#35
post #20

This is beautiful, and I like it a lot, but I was slightly disappointed to find that they do not function by increasing the voltage as the day goes on. But then I remembered that that's how pins work. It IS measuring voltage!

Transistors are much more efficient full on or full off. So for the most part for transistor based voltage control they pulse the transistors with a duty cycle equivalent to the voltage needed and integrate it with capacitors, keep the pulse on 25% of the time you have 25% of the voltage sort of thing. Thus the acronym PWM (Pulse Width Modulation) Note that transistors can be controlled to directly regulate the volta…

Essentially how a Class D amplifier[1] works, and part of the reason you can get so much sound out of tiny portable speakers for so long.

[1]: https://en.wikipedia.org/wiki/Class-D_amplifier

Re: A nicer voltmeter clock

#36
post #30

Earlier quoted context omitted.

If you have a feedback loop I'm sure you can still do it with an either implicitly or explicitly filtered PWM. Remember we're talking averages not instantaneous, so the average current through the bulb should be proportional to the average voltage across it, though the resistance will change as the bulb heats hence the feedback. You could also do this with a buck/boost regulator and current sense resistor plus op amp…

"average current through the bulb should be proportional to the average voltage across it" That is exactly correct, the reason they were seeking clarification, and the core of suggested solution. V=I*R If V = Hours and I = Minutes, then by necessity R=Hours/Minutes. Typically a light bulb has mostly fixed resistance (R). Adding a potentiometer to the circuit allows you control the value of R.

So lightbulbs actually dont have fixed resistance. The tempco is pretty big, and temperature of course depends on power (with an annoyingly large time lag when power is reduced).

That being said, the bulb does have a well-defined resistance at a given point in time, so voltage and current are of course not quantities that can be indefinitely controlled.

This falls into the same category as “why isn’t my power supply with voltage and current controls working correctly?!?”

Re: A nicer voltmeter clock

#38
post #7

Earlier quoted context omitted.

In my experience, having a project/goal will make it do-able for you. You have both the motivation and an target (dare I say, North Star?) in sight.

You’re exactly right..that’s how I end up learning tech stuff. It’s not working very well with modelling though. I’ve set my sights too high, the projects are too involved

I found zeroing in on a specific package and learning the specifics of the parametric modeling AND a particular end goal to be useful. Doubly so if the YouTuber is making lots of videos on other topics that might be helpful. I learned on an olllld Fusion360 tutorial series from NYC CNC, but my more recent FreeCAD learning has been from MangoJelly: https://www.youtube.com/@MangoJellySolutions

Re: A nicer voltmeter clock

#40
post #32

I saw somebody's arduino based voltmeter clock way back around 2014, I think here: https://maniacallabs.com/2014/07/08/meter-clock-pt1/ I thought it was pretty cool, but a bit expensive for what it was. So I made my own with a PIC chip: https://www.n1kdo.com/meter-clock/index.html Mine is more of a novelty than a accurate clock. It is a interesting desktop geegaw to invite discussion.

> https://www.n1kdo.com/meter-clock/index.html

Can't access it. Connection attempts time out.

Post reply on HN