This is the schematic for wiring up a series of solenoids to play a xylophone

This is the hardware for a programmable xylophone, where a series of solenoids can be programmed to play a xylophone.

 

To make this, you need;

 

Xylophone

8 solenoids

8 TIP120 Darlington Transistors

8 Diodes

8 2.2 K resistors

Breadboard

Arduino

Wire

24V power supply