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).
Advertisement
Christmas is coming – keep Santa on the right track with our Raspberry Pi gift guide!
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
Christmas Gift Guide in Raspberry Pi Official Magazine 160
There’s a ton of great stuff in issue 160, including the incredible motion scanner, inspired by the film Aliens. It’s beautiful, it uses Raspberry Pi technology and makes a satisfying ping sound, and the best thing about it is that it actually works, thanks to a DreamHAT+ radar board. Yes, you too can join the […]
Read more →
Win a Raspberry Pi 500+ and Raspberry Pi Monitor!
Fancy getting the most powerful Raspberry Pi desktop setup? Raspberry Pi 500+ and Raspberry Pi monitor pair perfectly together for a portable – and fixed – desktop computer, powered by Raspberry Pi. We have a set to give away, and you can enter below. A Raspberry Pi 500+ & Raspberry Pi Monitor
Read more →
All right all right!! Artificial Intelligence, Hollywood style
When we get AI right, odds on it’ll be thanks to small firms, motivated individuals, and Raspberry Pi
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.