Fixing Atomic Clocks That Lose Their Way
One of the nice things about radio-controlled atomic clocks is that you can hang them on the wall and pretty much forget about them. But that hasn't been the case for YouTuber Jeff Geerling, whose workshop has enough metal in its walls to make picking up the 60 kHz time signal broadcast from Fort Collins, Colorado a challenge. After repeatedly having to move a wall clock to get it synchronized, Geerling decided to bring the time signal to the clock instead. With the help of a Raspberry Pi Pico 2 W, he built his own miniature WWVB radio station.
Geerling has a number of timekeeping devices in his studio, ranging from a Wi-Fi-connected analog wall clock to an actual rubidium atomic clock. His La Crosse radio-controlled wall clock was drifting ahead by five or six seconds every few days without access to the WWVB signal. Getting it back on track involved carrying the clock to the front of the studio and orienting it such that its internal antenna could pick up the signal from Colorado.
As it turns out, you don't need much in the way of hardware to generate a signal that one of these clocks will recognize. In addition to the Raspberry Pi Pico 2 W, Geerling's transmitter consists of a CANADUINO ferrite loopstick antenna tuned to 60 kHz and a resistor to protect the microcontroller's GPIO pins. A bit of Velcro holds the antenna in place, and the entire setup can be powered via USB.
On the software side of things, Geerling made use of a MicroPython library called Pico-WWVB. The programmable I/O (PIO) state machines of the microcontroller handle the generation and modulation of the 60 kHz carrier signal with precise timing. The Pico 2 W's onboard Wi-Fi connectivity, meanwhile, enables it to retrieve the current time from a Network Time Protocol (NTP) server. That information is encoded in a series of pulses of varying lengths, just as it is in the official WWVB time signal.
To put the device to the test, Geerling positioned it near his wall clock and held down a button




Comments
No comments yet. Be the first to share your thoughts.