USB Xylophone

by Benjamin, published

USB Xylophone by Benjamin Aug 15, 2012

Featured Thing!

Thing Info

18132Views 2119Downloads Found in Music
Report Thing


Old metallophone (toy) rejuvenated by Arduino, some electromagnets and printed parts :
Detail :
Can be played with mouse, keyboard and midi files,
samples included in software pack:
Georges Brassens - Ballade des dames du temps jadis
Agnes Obel - Riverside
Yann Tiersen - Comptine d'un autre été
Julian Nott - Wallace and Gromit
Michael Giacchino - Married Life (Pixar Up soundtrack)

Flash (AS2) on the software side:
Thanks to midicsv:
Not the first xylobot in the world, but maybe the first in the Thingiverse !
Next step, same thing with homemade solenoids :
... and wooden bars
to make it sound more "xylo"


Print as many holders as you have bars.
See pictures for assembly.
ULN2003 on the breadboard (see assembly diagram)
Upload .pde file to your Arduino board.
Install and configure a server proxy (for communication between Arduino and Flash)
Serproxy and Tinkerproxy included in software pack for OS 10.5 and 10.6. Equivalent available for all platform on http://arduino.cc
In your proxy server config file find the line containing "serial_device1" and give the identifier of your board
Launch server proxy.
Open index.html with your browser, or Arduino_xylobot.swf with standalone Flash Player (add trusted location when prompted).
Can be used as:

More from Music

view more

Thing Info

18132Views 2119Downloads Found in Music
Report Thing

Liked By

View All


USB Xylophone by Benjamin is licensed under the GNU - GPL license.

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Awesome! I 've been waiting to find one of those toys at a rummage sale so I could do that. Now I have to try harder!