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).
Make beautiful beats with the complete Raspberry Pi music production toolkit.
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 Music With Raspberry Pi in Official Raspberry Pi Magazine issue 166
Music production is an esoteric world of chin stroking and arguing over what kind of valve makes the best sound in a guitar amplifier – at least, it can be. Load up on software, bring your friends, and record your latest masterpiece on Raspberry Pi. We bring news from the world of 3D printing, where […]
Read more →
Win one of ten Sixfab AI HAT+
The new add-on could be yours
Read more →
ISS Tracker
Space age is no longer a synonym for futuristic; space age means things that originated in the last millennium.
Read more →