Moon phase display
By Ben Everard. Posted
This article was originally published as part of HackSpace magazine, which has since been incorporated into Raspberry Pi Official Magazine.
The moon orbits Earth every 27.3 days. It doesn’t have leap years; it doesn’t have some months when it takes 30 days, or 31, like our silly calendar months. Give a person (or, in this case, a Raspberry Pi Pico W) a date in time, present or past, and they’ll be able to tell you what the moon looked like on that day using a really simple formula.

If you were to take that knowledge and add a hollow, light-up model of the moon, a motor board from Kitronik, and a Raspberry Pi Pico, you might come up with a device like this by Lorraine Underwood. It’s very simple: you just enter a date, and the light inside the moon moves to show the phase of the moon on that date. We don’t have any more information than that at this stage, but Lorraine’s working on a build video for Element 14 that will reveal all.
Ben is the Editor of HackSpace magazine. When not wrangling words, he enjoys cycling, gardening, and attempting to identify wild mushrooms.
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
Make a Smart Home in Raspberry Pi Official Magazine issue 167
The dream of smart, connected devices controlling your home automatically, is especialy appealing on a lazy day when we’re trying to get work done in a heatwave. Maybe this will be the year we finally integrate temperature sensors with fans and a drinks dispenser to keep us cool, or maybe not, but we do know […]
Read more →
Win 1 of 3 Pironman 5 Pro Max cases!
Transform your Raspberry Pi with this amazing case
Read more →
Learning to code in an AI age
A new Raspberry Pi Foundation course helps young people learn to code.
Read more →