MIDI Arduino Drums

I've always wanted to learn how to play a drum kit, but my parents never let me because 'it takes up too much space' and 'it makes too much noise'.

So now, many years and some electrical knowledge later, I've decided to make my own electronic drum kit!

This project is pretty easy to make and you do not really need any special knowlegde or skills.

Step 1: What you'll need

Here's what you'll need to make 4 drums:

- 4x Piezo

- 4x CD

- Mouse pads (enough to cut 8 circles as big as the CD)

- Arduino + USB cable

- 4x 1M Ohm resistor

- PCB or breadboard

- some wire


- 4x 3.5mm plug

- 4x 3.5mm socket

Step 2: Soldering piezos

MIDI Arduino Drums

The first step is to solder long wires to the piezos.

My piezos came with a little metal cap and short wires. You can cut the metal cap of and simply solder longer wires to those short little wires.

If you chose to use plugs and sockets, you obviously have to solder your plug to the other side of your wire.

Step 3: Breadboard/PCB

MIDI Arduino Drums
MIDI Arduino Drums

After you soldered wires to your piezos it's time to connect everything.

Connect the resistor to the wires of the piezo as shown in the diagram above. Then connect the GND wire of the piezo to GND on Arduino. Connect the other wire of the piezo to an analog pin on your Arduino. (If you're using plugs and sockets, you obviously use the wires of the socket and not the wires of the piezo)

When you're not using all of the analog pins, you should connect the 'empty' pins with GND. Otherwise you might get false values because of noise.

You can either connect everything on a breadboard as shown in the diagram. Or you can solder everything on a piece of PCB like I did.

Step 4: The drum pads

MIDI Arduino Drums
MIDI Arduino Drums
MIDI Arduino Drums

Now that everything is soldered, it's time to make the drum pads.

Take your CD and put it on the mouse pad. Draw a circle around the CD and then cut it out. Next stick the piezo to the CD with a piece of tape.Once that's done you'll need to glue the mousepads to the CD. I used a tiny bit of super glue. Make sure the glue doesn't get on the piezo! It'll ruin your piezo. I had to learn that the hard way.

MIDI Arduino Drums
ruined piezo
MIDI Arduino Drums

Use a bit of glue on the edges of the CD and stick the plastic part of the mouse pad to it. Do the same for the other side. The foam sides of the mouse pad have to be on the outside.

Use some extra glue around the part where the wires stick out of the drum pad to close it nicely.

Step 5: Connect with PC

MIDI Arduino Drums

That's pretty much it. Everything has now been put together and the only step left is to connect everything with the computer.

There are a few possible ways to connect. After some research and trying different programs I found Ardrumo (Mac OS X only) the easiest to work with. Simply load the sketch to your Arduino and then open Ardrumo and Garageband.You can choose different drums in Ardumo as you can see in the video in the first step.

But like I said, this is not the only possible way to connect. There are a lot of other ways, for example using Hairless as explained in this Instructable. Just play around a bit and find a method that suits your needs :)

This is the code for Ardrumo. Download Ardrumo by clicking here.

/* * Ardrumo sketch * * Use with the Ardrumo software here: * http://code.google.com/p/ardrumo/ * This is designed to let an Arduino act as a drum machine * in GarageBand (sorry, Mac OS X only). */ #define LEDPIN 13 // status LED pin #define PIEZOTHRESHOLD 5 // analog threshold for piezo sensing #define PADNUM 6 // number of pads int val; void setup() { pinMode(LEDPIN, OUTPUT); Serial.begin(57600); // set serial output rate } void loop() { // Loop through each piezo and send data // on the serial output if the force exceeds // the piezo threshold for(int i = 0; i = PIEZOTHRESHOLD ) { digitalWrite(LEDPIN,HIGH); // indicate we're sending MIDI data Serial.print(i); Serial.print(","); Serial.print(val); Serial.println(); digitalWrite(LEDPIN,LOW); } } }

Step 6: Have fun!

MIDI Arduino Drums

That's it!

Everything is now connected and put together.

Have fun and annoy your parents with your new drum kit! :)


Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel