Moon and tide clock
By Andrew Gregory. Posted
Want a clock that “can’t tell time but instead uses the current time to calculate the lunar phase and an incredibly specific oceanographic prediction for a tiny subset of the UK coastline?” asks PJ Dines. “Then have I got the clock for you.”
A quick intro to Python – short scripts, rapid results.
After all, time is just an illusion that we’ve mapped on to the natural phenomena around us: the phases of the moon, the length of the day, the changing of the seasons: these were all here before someone decided to divide the day into 24 so-called ‘hours’, but only use numbers that only go up to 12 to describe them.

One person who’s transcended time, and possibly space, PJ is the creator of the Moon and Tide Clock. Built into a repurposed brass carriage clock, this e-paper device is programmed using a Raspberry Pi Pico W, powered by a 3.7V LiPo battery, and kept accurate when offline by a real-time clock module designed for Pico. There’s also a lovely toggle switch to turn the device on and off with a satisfying ‘thunk’, though the maker admits that with the power-saving options available in Pico, this wasn’t really necessary.
Features Editor Andrew trawls the internet for Cool Stuff while keeping the magazine running smoothly.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
2.13-inch Flexible E-Paper Display
This flexible screen connects to Pico via an adapter and driver board
Read more →
Orb of radiance
A 3D print of brilliance
Read more →
Artie the AI assistant
“Hey Artie” – say the wake phrase, ask your question, and get a useful answer in your ears or sent to your printer
Read more →