Sometimes I build something because it’ll be a fun challenge, and sometimes I build something because I need a pretty clock. This is the latter of those two scenarios.
This was inspired by a series of lights in Burnaby (on Moscrop near Willingdon) that seem to be lit by blue LEDs behind frosted glass. The effect brings out the 12 year old girl in me, and I can’t look away. They’re so pretty.
So I’m going to build an analog-style clock that displays the minutes/hours using blue LEDs behind frosted glass (or plexiglass more likely). Because I hate batteries, I’ll have to use AC wall voltage, and because I am economically challenged, I’ll restrict myself to using components that I already have on hand. The exception to this rule is the large amount of LEDs I’ll need, but I’ll burn that bridge when I get to it.
Your AC wall outlet is oscillating at about 60Hz. It’s not operating at exactly 60Hz because 100% accuracy is not possible. Ever.
However. BC Hydro knows their target frequency, and they know how many seconds are in a day. So what they do is they keep track of how many oscillations they generate in a given day, and in the wee hours of the morning, they speed up or slow down their output frequency. The end result of this is that while your wall outlet is only approximately 60Hz, it is exactly 60Hz on average.
Using this to my advantage, I can make the clock’s, er, clock frequency based off the 60Hz line voltage, making my clock never lose accuracy, power outages or DST aside.
I’d like to provide an alternate, higher frequency clock that can be swapped in with a switch to let me set the time. Because otherwise I’d have to wait up to 12 hours and plug the thing in at just the right moment.