Refunds Shipping

We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

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.

Stepper motor piano

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!

or free PDF for contributors

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.

The copper keys of this instrument are attached to two capacitive touch sensor breakout boards, which, in turn, tells the Adafruit Metro Mini how fast to spin the stepper motors
The copper keys of this instrument are attached to two capacitive touch sensor breakout boards, which, in turn, tells the Adafruit Metro Mini how fast to spin the stepper motors

Ben Everard photo

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.

Subscribe

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.