Stepper motor piano
By Ben Everard. Posted
This article was originally published as part of HackSpace magazine, which has since been incorporated into Raspberry Pi Official Magazine.
Just because you’re experimenting with stepper motors, perfboard, and a whole nest of wires, doesn’t mean you shouldn’t try your best to make your creations beautiful. Take this thoroughly modern musical instrument by Instructables user thisisnomine: in the back it’s your typical maker project, with PCBs, breakout boards, and wiring. From the front, though, it’s a feast of mid-century hardwood, with mother of pearl detailing and a combination of two African hardwoods (Anigre, the light coloured wood, is used here as a veneer, with the rest of the housing made from sapele, which is similar to mahogany).
The music comes from the four stepper motors. These are usually found in robotics projects, as the degree, speed, and direction of rotation can all be controlled in software. The rotation creates noise; when controlled, the noise becomes a note, which the user can change using the capacitive touch keyboard. It’s quite simple, and all the more brilliant for that.

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 →