Moving Pixel Clock
By Ben Everard. Posted
This article was originally published as part of HackSpace magazine, which has since been incorporated into Raspberry Pi Official Magazine.
"Clock projects are cool. LED projects are cool, too. And if it moves, all the better. So why not build a moving pixel LED mechatronics clock?” With this thought began Erich Styger’s 18-month development of the Moving Pixel Clock.
More accurately, the project began when Erich spotted a bunch of tiny stepper motors for sale online. They came with no instructions, no datasheet, and no information at all other than the name – ‘Mini stepper motor @5V’. They have a travel of around 10 mm, which takes around two seconds, and Erich thought it would be a good idea to use them to add some interest to a digital clock display.
Program a robot arm, with Raspberry Pi and Python code
The final build comprises five stacked PCBs housing the stepper motors and stepper motor drivers; each PCB has 16 stepper motors, with each one hosting an addressable RGB LED. That gives you a grid of 16 × 5 moving pixels to display the time. It’s simple, but in an admirably complex way.

Erich’s blog detailing the project build is a masterpiece of clarity; in it he outlines the build process, from single stepper motor to a wall of moving pixels. Each 3D-printed part and custom PCB is laid bare, giving us a glimpse into the work that’s gone into making this weird and wonderful timepiece.
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
Kuensa portable music sequencer
We like the look of where this device is going.
Read more →
Cyberdeck
We can’t imagine the looks you’d get using this machine on your daily commute, but apparently the maker of this wonderful machine does just that.
Read more →
Programming station
Spot the microcontroller: we can see an Arduino Uno, Arduino Nano, a pair of ESP32 boards, and a Raspberry Pi Pico, all waiting to be played with.
Read more →