A Python Controlled Moon Phase Lamp Powered by Raspberry Pi

Russell Eveleigh
Python in Plain English
8 min readJun 12, 2021

--

My moon phase lamp is the follow-up to the sunrise lamp I created to convince our son that the day does not start at 5am.

With this new model I wanted to make some improvements and break out of my coding comfort zone as I know I’ve picked up some quirky hack-it-together programming habits. I also wanted to discover more about the limits of the Pi when it comes to powering NeoPixel LEDs.

The moon lamp is similar in design to my sun: it is a snapology origami sphere, has a NeoPixel ring for a light and is…

--

--

A school teacher and family man in the UK who likes tinkering with code and who sometimes tries to write good.