Arduino Minimal Drum Kit

by Ryo Kosaka in Workshop > 3D Printing

114251 Views, 211 Favorites, 0 Comments

Arduino Minimal Drum Kit

_DSC6192.JPG
Arduino Minimal Drum Set
_DSC6196.JPG
_DSC6168.JPG
_DSC6165.JPG
_DSC6155.JPG
_DSC5950.JPG

Hi.

This is minimal drum kit using arduino UNO.

First of all, please check this instructables page.

E-drum With Small 3D Printer and Thick Paper

Since I started making this, I was captivated by piezo and electronic drums.

I was fascinated by a very simple mechanism of electronic drums and the great invention called MIDI.

In other words, I could not be satisfied just by making pads.

This drum kit is roughly divided into two productions.

1.Pad made with a 3d printer and thick paper.

2.Trigger midi converter with arduino UNO .

The signal sent from the pad of " 1 " is processed by arduino of " 2 " and converted into MIDI signal. And the MIDI signal is transmitted from arduino to iPhone, laptop, etc, and sound comes out.

Let's make it!

I apologize in advance that English is not my first language


What You'll Need

_DSC6055.JPG
_DSC6042.JPG
_DSC5964.JPG
_DSC6039.JPG

Tools

・3D Printer

・Laser Cutter (Extra)

・hex wrench

・cutter knife

・circle cutter

・Soldering Iron

Pipe Cutter

・driver drill

・drill bit 9mm / 10mm


Material

・1mm thick paper

・PLA filament

・Sponge Foam Sheets 5mm / 10mm

・MDF 2.5mm / 5.5mm (Extra)

・M6 - 70mm bolt and nuts

・M6 - 50mm bolt and nuts

・M3 - 10mm bolt and nuts

・M3 - 15mm bolt and nuts

・M3 - 25mm bolt and nuts

・M2 screw

・6.3 mm Stereo Cable

・6.3 mm TRS sockets (like this)

・13 mm diameter Stainless steel pipe


Circuit

・Piezo

FSR

・Cable

・Solder

・Universal board

・1 MΩ resistor

・10 kΩ resistor

・5.1V zener diode

Tact switch

16 x 2 LCD (I do not use this same thing, but this will be fine.)


Drum Hardware

Mesh head 10 inch / 8 inch

・Snare stand (Anything is OK. I am using YAMAHA SS662.)

・Hi-hat stand (Anything is OK. I am using YAMAHA HS650A)

・Kick pedal (Anything is OK. I am using YAMAHA FP7210A)

・Drum stick

etc..

・much time

・USB cable

Lightning to USB Camera Adapter

3D Printing

All data is on Thingiverse and GitHub.

Please use Ver.2 for the rim.

I printed parts with infill at 20%. The thickness of the layer is 0.3 mm.

If you can use a laser cutter, check step 3.

Laser Cutting (Extra)

_DSC5533.JPG
_DSC5534.JPG
_DSC5532.JPG
IMG_3853.JPG
_DSC6143.JPG
_DSC6150.JPG
_DSC6148.JPG

Of course, few people own laser cutters individually.

If you can freely use laser cutters from universities and companies, use this vector data.

Vector Data : https://github.com/RyoKosaka/drums/tree/master/vector

Please use MDF of 5.5 mm. It is designed to have the same dimensions as those made with a 3D printer.

So it is also possible to attach mount parts or to make it a kick pad.

There is also a way to use a laser cutter in FabLab or TechShop.

Assembling Parts

_DSC6103.JPG
_DSC6102.JPG
_DSC5675.JPG
_DSC5679.JPG
_DSC5269.JPG
_DSC5270.JPG

Use M3-10mm bolts and nuts to connect the parts together.

Use the M3-15 mm or M3-25 mm bolts for the center part to fix the bottom part to each other.

Making Shell

_DSC5266.JPG
_DSC5267.JPG
_DSC5457.JPG
_DSC5458.JPG
_DSC5459.JPG
_DSC5498.JPG
_DSC5502.JPG
_DSC5503.JPG
_DSC6110.JPG
_DSC6112.JPG
_DSC5505.JPG
_DSC5507.JPG
_DSC5508.JPG
_DSC5511.JPG

Since the design has hardly changed, I want you to see the above mentioned article for detailed explanation.

*** NOTICE *** In these photo, shell height is 40 mm. but you make shell height 55 mm.

Do not forget to make the height of the shell 55 mm.

When the shell dries, with the mesh head fixed, make a hole of 9 mm in diameter for the socket.

You can use butterfly nuts, but I also made tuning keys that can be tightened even with ordinary nuts, so please use it by all means.

For fixing the mesh head, use M6-70 mm bolts.

Once you've made a hole, remove the mesh head again to put a piezo

Sponge Foam Sheets

Selection of materials is very important.

I used a sponge sheet made from 10 mm thick and 5 mm thick natural rubber.
I just bought it in the neighborhood DIY store, so I doubt if this is the best.

For trigger cones the best choice is to buy already molded ones. I decided to make it because I can not get it in my country, Japan.

It is not good if it is too hard or too soft. I am trying on various materials.

Attaching Piezo

_DSC6069.JPG
_DSC6073.JPG
_DSC5991.JPG
_DSC5990.JPG
trs-explanation.jpg

SNARE

In the case of a snare, use two piezo as shown in the picture.

Connect piezo's red cable to each of tip and ring.

Both black cables connect to sleeve.

Do not forget to thread the cables through the holes in the sensor plate when soldering.

Piezo for the head (piezo connected to tip) needs to be sandwiched with 10 mm thick sponge foam as shown in the picture.

One below, three on the top. And make the top 3 cones like the picture.

Then put it on the sensor plate.

KICK

Since the kick pad uses only one piezo, only tip can be used.

No sensor plate is required.Two sponge foams under the piezo

Place the sensor offset from the center.

It is because arduino can not judge the strength of hit if beater hits sensor directly.

HI-HAT

The circuit is the same as the kick pad.

Put a piece of 10 mm thick sponge foam under the piezo.


Piezo is delicate. Be careful not to bend or hurt.

Snare Pad

_DSC6118.JPG
_DSC6115.JPG
_DSC6100.JPG
_DSC6105.JPG
_DSC6106.JPG
_DSC6107.JPG
_DSC6108.JPG
_DSC6109.JPG
IMG_3852.JPG

First attach the sensor for the rim.

Fix the sensor plate. Firmly fix it. Make the end of the cone visible 2-3 mm when viewed from the side.

Of course, the same procedure is also used when using an 8-inch pad as a snare.

8 Inch Kick Pad

_DSC5852.JPG
_DSC5991.JPG
_DSC5851.JPG
_DSC6086.JPG
_DSC5863.JPG
_DSC6097.JPG
_DSC6146.JPG
_DSC6147.JPG

First, cut a 13 mm diameter stainless steel pipe.

Make two 200 mm and two 365 mm.

Since the length can be adjusted, even if there is some error in the length, it is OK.

Assemble them with reference to pictures.

In order to fix the pipe, it is designed so that the M3 nut can be loaded inside the part.

Fix the pipe securely. Use M3-15 mm bolts and nuts.

Tom Mount (Extra)

_DSC6082.JPG
_DSC6077.JPG
3D printed drum pad - mount parts prototype
IMG_3879.JPG
PadMount_8_Print v101.png
PadMount_8_Print v10.png
_DSC6085.JPG
_DSC6075.JPG
_DSC5877.JPG
_DSC6076.JPG
_DSC6084.JPG

Since I am planning to make a full set, I also designed a tom mount.

With this, you can use it with an actual drum.

Mount on the pole, but the diameter of the pole is different depending on the company. So, I prepared a model every 1 mm from 15 mm to 25 mm.

First, measure the diameter of the pole where you want to install the part. It would be good to print parts that are about 2 mm larger than its diameter and then tighten the bolts after sandwiching the plastic plate like a photo in the gap.

12 Inch Hi-Hat

_DSC6029.JPG
_DSC5966.JPG
_DSC5967.JPG
_DSC5969.JPG
_DSC5970.JPG
_DSC5971.JPG
_DSC5972.JPG
_DSC5973.JPG
_DSC5974.JPG
_DSC5976.JPG
_DSC5978.JPG
_DSC5979.JPG
_DSC5980.JPG
_DSC5983.JPG
_DSC5982.JPG
_DSC6019.JPG
_DSC6025.JPG
_DSC6026.JPG
_DSC6032.JPG
_DSC6033.JPG
_DSC6037.JPG

After producing the shell with thick paper, I thought that if you use thick paper I can make cymbals.

First. Cut thick paper into a circle with a diameter of 300 mm. Make three of this.

Next, make a notch from the center.

Finally, a second notch is made from the point 10 mm apart parallel from the first notch.

In this way, three pac-mans with a small mouth opened are made.

Then close the Pac Man's mouth carefully with tape to make it into a cymbal shape.

Apply adhesive and overlay these.Do not forget to extend the adhesive cleanly and thinly

Hold firmly with your hands, then place the weight around and dry.

For silencing, put a 5 mm thick sponge and drill a hole. You can not open the hole neatly, but you can hide the hole so it's okay.

Complete by attaching sensor mount and cable guide with double-sided tape. It might be easier if you use glue gun.

Hi-Hat Controller

hcontroller_ver2 v21.png
hcontroller_ver2 v2.png
_DSC6044.JPG
_DSC6045.JPG
_DSC6046.JPG
_DSC6048.JPG
_DSC6049.JPG
_DSC6051.JPG
_DSC6052.JPG
_DSC6056.JPG
_DSC6057.JPG
_DSC6060.JPG
_DSC6062.JPG
_DSC6066.JPG

Hi-Hat Controller sends the opening and closing of the hi-hat to arduino.

The circuit is very simple.

It is made by combining three parts.

Attach the FSR to the bottom part and fix the socket. FSR can be used even if a hole is opened.

Attach a 10 mm sponge to the FSR like a photo.

Fix the cover with M3 - 10 mm bolts.

Even though it's only HIGH and LOW, you may wonder why I used FSR.

I use FSR to correspond to sound modules such as Roland and Yamaha.

And in the sound source exclusive for drums such as EZ DRUMMER 2, there are several stages in the degree of opening of the hi-hat.

If it is FSR, it may be possible to respond by just modifying the code. However, I have not tried it.

Play With Roland's Sound Module (Extra)

_DSC6177.JPG
3D printed drum pad - 10 inch Snare

It is the easiest way to complete your own e-drum.

If you have a sound module, just connect it.

Even if you do not have one, you can get it second hand. I tried using Roland's TD-10. That's great.

Or you can use trigger to MIDI converter.(Roland TMC-6 or Alesis Trigger iO)

Do you want to make it yourself? Let's go to the next step.

USB - MIDI

1.png
a1-01.png
IMG_3921.JPG

What can we do in this step?

With usb cable alone, you can send midi signal from arduino.

In other words, make arduino be recognized by iPhone etc. as a midi device without any additional hardware.

First of all, check this page.

http://morecatlab.akiba.coocan.jp/lab/index.php/aruino/midi-firmware-for-arduino-uno-moco/

https://github.com/kuwatay/mocolufa

If you connect normal arduino UNO directly to iPhone, you will get an error message like "Arduino UNO is not compatible".

So, you have to rewrite the USB chip (ATmega16U2) used in arduino UNO.

https://www.arduino.cc/en/Hacking/DFUProgramming8U2

This instruction is how to rewrite the hex file.

First, Download "dualMoco.hex" in your PC and move to Downloads.

Next,Please proceed according to this site until the description below.

[ sudo dfu-programmer atmega16u2 flash Arduino-usbserial-uno.hex ]

Just replace "Arduino-usbserial-uno.hex" with "dualMoco.hex".

Therefore,

[ sudo dfu-programmer atmega16u2 flash dualMoco.hex ]

After rewriting, your Arduino will be recognized as a MIDI device.

If you short-circuit the pin as shown in the picture, it will be recognized as normal Arduino.

If not (when not short-circuited), arduino UNO will be recognized as a MIDI device.

In other words, when writing code using the arduino IDE, you have to short-circuit the pins as shown in the picture.

Downloads

Using Hairless MIDI

If you think that the previous step is difficult, please try Hairless MIDI.

I wrote how to use it on my blog so please refer to it.

https://open-e-drums.tumblr.com/post/171304647319/using-hairless-midi

Arduino Trigger MIDI Converter

_DSC5960.JPG
_DSC5950.JPG
circuit.png
_DSC6001.JPG
_DSC6000.JPG
_DSC5907.JPG
_DSC5929.JPG
_DSC5941.JPG
_DSC5940.JPG
_DSC6119.JPG
_DSC5930.JPG
_DSC5947.JPG
_DSC5923.JPG
_DSC6120.JPG
_DSC6121.JPG
_DSC6124.JPG
_DSC6125.JPG
_DSC6130.JPG

There is arduino UNO and shield in the box.

Refer to the image of fritzing for the circuit of the shield.

Diodes are for protection but I saw the information that arduino UNO has protection circuit, diodes may not be necessary. Does anyone know about this?

Place the tact switch and toggle switch on a separate universal board. The size is "".

After printing the model of the case and the cover first, it is good to make the shield according to it.

There is also a 3D model of the cover, but I made a cover with a laser cutter. Please choose whichever you like. It would be good to put paper on the 3D printed cover.

Please see Step 10 for mounting on the pole and parts for it.

Downloads

Code

You can check the code on GitHub or Arduino Create

This code uses MIDI library and Liquid Crystal library.

I am a beginner in programming. This code can be improved further.

Downloads

Setting

setting-01.png
GMStandardDrumMap.gif
Arduino and iPad Trigger MIDI Converter Prototype

In making the code, it was troublesome to rewrite the code each time the value changed, so I wanted to be able to change the value with arduino alone.

In other words, this is made for debugging code, so there are items that do not need to be changed.

Nevertheless, setting is necessary depending on the size of the piezo, the size of the pad, the hardness of the sponge foam.

Select an instrument with the inc / dec button and select the setting item with the next / back button. When the EDIT button is pressed while the instruments and items you want to set are displayed, you can change the value with the INC / DEC button. Then, pressing the EDIT button again confirms the change.

If you watch at the latter part of the video you will understand how to operate.

THRESHOLD

The lowest value at which sound comes out

SENSITIVITY

Sensor sensitivity. If you lower it, you will gain high velocity even if you hit softly.

NOTE

Number of the note. By changing, you can change instruments. Please refer to the image.

FLAG

A value for judging that the beating is over. You do not have to change it too much. It would be nice to set the value from 1 to 10. If you raise the value too much, you will get a sound twice with a single hit. If you lower it too much, you may get out of sound when you hit repeatedly.

SCAN TIME

In searching for peaks, values are taken consecutively for several milliseconds after exceeding the threshold. The highest value among them will peak. This several milliseconds is SCANTIME. There is no need to change it.

HEAD / RIM

Set the ease of the rim. Raising it makes it difficult to sound. If you lower it too hard the rim will sound when you hit the head. Regarding the judgment of the head and the rim, it may be necessary to improve the code

PEDAL VELO

Unlike other pads, the velocity of the pedal is constant. The initial value is 100. Please change to your favorite value.

MASK TIME

This is a value related to FLAG. There is no need to change it. If you raise it, you may not hear a sound when you hit continuously.

Play With GrageBand

_DSC6182.JPG
Arduino Minimal Drum Set

Just start garageband and connect. There is no particularly difficult setting.

I started making it to start drums. So please forgive my poor performance.

Play With KORG Gadget Le

_DSC6186.JPG
IMG_3918.PNG

Korg Gadget has a drum machine in it. You can play just by connecting the same as garageband, but the note number is different.

There are 8 pads, assigned to those pads from 36 to 43 from the left.

You only need to edit the note number.

Play With PC

There are a number of DAWs for PCs that can be used on this drum set, including GarageBand.

Among them, Hydrogen is free and you can add sound.

Especially difficult setting is unnecessary. Please connect in the same way as iPhone.

Reference

FSR HH controller (2)
Arduino Mega Drums Test 1
Arduino Drum MIDI | Rock Band Guitar Hero Mod
Low Budget Trigger Pad DIY (E-drums)
Dual Trigger System (E-drums)

A lot of information was very useful when making this drum set. Here, I will introduce them.

Fusion 360 (Extra)

8inchPad_Print v33.png
10inchPad_print v27.png

Some parts may not be usable unless their dimensions are changed. It is difficult to edit STL data. So I uploaded fusion 360 data. However, since I am editing data while trial and error, it is better not to depend too much on the history function.

https://github.com/RyoKosaka/drums/tree/master/Fusion360

Processing (Extra)

Drum Generator Concept Prototype

I just tried making it experimentally.

I made it by Processing thinking that it would be fun if I could change the pad split position freely and export it with STL.

It would be fun if a 3D model was created simply by entering the size of the pad you want and the 3D printer you own.

Unfortunately, we can not actually export 3D models using this ...

It's just an experiment. Try playing.

You need a peasy library and controlP5 library

Downloads

Thank You for Reading.

_DSC6161.JPG

There is still room for improvement. I decided to share it because I am over the hump with this production.

Surely, you think that this kit has too few pads.

Do not worry. Using arduino MEGA you can make exactly the same thing. If you just add more pads it will not be a big deal.Since analog pins are more than doubled, a fine drum set will be completed.

I am planning to make it, but I just started working. I will add pictures and codes when done.

Detailed production process is published on this blog. Check it if you are interested.

I am sorry it has become a very long instruction. Thank you so much for reading to the end.

Thank you so much, Arduino!

Thank you so much, RepRap!

Thank you so much, Roland and KORG and YAMAHA!

Thank you so much, Ikutaro Kakehashi!

Please feel free to ask anything.

Have fun!!!!!!

Arduino Library

I created a library for Arduino.

Since it is still in beta, there may be bugs, but you can use it.

https://github.com/RyoKosaka/HelloDrum-arduino-Library