Instructables

HOW TO MAKE AN ELECTRONIC DRUM.(not a MIDI sampler) aka KIDU

Picture of HOW TO MAKE AN ELECTRONIC DRUM.(not a MIDI sampler)   aka  KIDU

This instructable is going to be
about building an electronic drumset(not a MIDI sampler.),using an Arduino UNO R3.,
similar to a V-DRUM.It is code named KIDU.
(Kompact Intelligent  Drumming Unit).Some of the items used may be names differently in your locality.ill try to put as
many pictures as posible.
I saw many instructables based on arduino and MIDI outputs.i thought of
making a completely independent instrument(ie with out a laptop).

Advantages:
   (unlike V DRUM);
* Very portable and easy to assemble.
   (the whole structure fits in a guitar case :-))

* The user can decide which sound each
   drum sounds like.One can even record
    a sound and upload it into the device
    and make that sound from a drum.
    (sound quality-16 MHz,16 bit mono)
* You can use as much storage space for saving the sound files.,
   depending on the size of the SD card you use.
   So a lot of sound styles can be included.For the sake of simplicity .,i used
   5 styles of sound.
 

* There is no base-drum. Instead the kick pedal
   contains a trigger.,that simulates a base kick.

* Total cost just a fraction of what the original
    V DRUM will cost.I made it under 6000 rupees(~ $107).

* There are no unnecessary buttons and knobs for selecting the drum styles.
   I have programmed it in such a way that.,
   The drums themselves acts as the buttons.in this example.,i have used the snare
   drum to trigger the count,.and the tom1 drum as the select key.
  
* There is no LCD display to guide you through selecting the drum style and the tones.
  but KIDU will narrate every step.,and what style you have selected.
  For example.,When  KIDU startsup.,it asks you to enter the style count
  using the snare drum.Then you hit the snare drum with the drum stick
  less than 5 times,to select a drumming style,numbered from 1-5.

General Advantages :
  (unlike acoustic drums)
*KIDU can play a large number of percussion styles.,depending on the
sounds that you have saved in it.

*You can directly record the audio output.,on to any device that can
  record an audio signal,with out any ambient noise.for an acustic drum
  you may need a studio to record it ambient free.

*You can practice it with out disturbing anyone.,by simply connecting
  a 3.3mm headphone jack into the output socket.

*You can individually adjust the sensitivity of each of the drums through
  program or a control knob.FSOS(for the sake of simplicity)i have excluded
  the pots.I control their sensitivity by adjusting the threshold value in the program
  prior to upload.
 
Remove these adsRemove these ads by Signing Up
mghazali12 days ago
can i hit 2 pad at the same time :3 im just curious
enjoyneer (author)  mghazali117 hours ago

technically no. the latest hit will over write the previous sound. but i made my drumsounds so small in size and duration that one hardly notice that.I am currently working ona drum that can play 4 sounds simultaniously..

eilardo26 days ago

Hello enjoyneer, Thanks for this instructable and congratulations, it is great.

I have a question. Is there any noticeable delay from the moment you hit a pad until you expect to hear its result?

Thanks in advance!

enjoyneer (author)  eilardo26 days ago
Hello..thank you too.there is no delay at all.I was quite surprised by the response time it had.i reason was that the audio format is raw,which the arduino is capable of decoding quite well on its own.If it were some onther format like mp3 or wav then maybe there would have been some delay from the dedicated decoder hardware that may be required.but still.,at 16MHz clock speed i doubt even that.In this case the rendering is quite robust.the only problem that you may face is that if you hit two pads at once then,only that first soundwill be heard.because the sound files are fetched from the sdcard via the SPI protocol.which can only fetch 1 file at a time.but still you would barely notice it.i could not notice it.but in theory there is such a possibility.
enjoyneer (author) 1 month ago

I dont think you can do that with todays keyboards. i am not sure of the thing.What people usually do is that they connect the electric drum to a computer via a MIDI interface and use a VST like flstudio or cubase or logic or garageband to make any sound on the VST to play on the drum.The keyboard itself is a MIDI device.i am not sure if you can connect another MIDI into it.I am not sure you may want to do some additional research on this.

using piezo electric drum pad how to connect to organ keyboard to use its drum sound source

rogeliotorlao2 months ago

great work sir ! i would like to have a request from to send me the schematics of this project in my fb account haha sorry for the demand :) www.facebook.com/polylights

enjoyneer (author) 10 months ago
@vennev .,thanx alot for the info....thick bulkiy high quality rubber is the best option i guess.,since it would give a nice bounce back for the drum sticks just like a real drum...as used in the ROLAND V DRUM.for KIDU.,i just went to a local upholdery shop with a pair of drum stick.,and emperically tried on every material there and chose the best from the lot.thanx for the info.,ill keep try it in the next version of KIDU.
vennev10 months ago
For the rubber material, I found Neoprene to be useful. It's the same material they use to make practice pads for drummers. Amazon sells about 5 sq. ft. of it for about 14 USD.
wjsaunders11 months ago
Does the SD card shield allow for tracks to be played in the background, or two sounds at once?
enjoyneer (author)  wjsaunders11 months ago
@wjsaunfers.no.,since the sd card is communicating via spi.,it can access only one file at a time.but the accessing is happening so fast.,that it is almost imposible for a human to strike 2 drums at the exact time.atleast a micro srcond delay will be there..since the files are very small in size.,and raw,they are read very efficiently.inshort.,u cant do a playback n drummin from the same sd card,simultaniously.but there wont be any problem of notes missing while playing.
jrummens11 months ago
Could you by chance use a Rockband drumset with this configuration?
enjoyneer (author)  jrummens11 months ago
Yes..any drum config is possible.all u need to do is.,find a good quality audio file and convert it to .raw format,upload to the sdcard and modify the scketch.
enjoyneer (author) 1 year ago
hii sheindah..,thx for your comment and the suggession....i didnt use the analog mux,cos i only intetded to use jus these 6 drums....but if you have a need for expanding your analog inputs.,then i think u should defenetly go for the analog mux thing.,there is another wonderful insructable by amanda on making an electronic xylophone which uses an analog mux to increase the analog inputs....that will help you to do your work....,the only problem is that it gives a MIDI output.,


and .,the error you mentioned is probably because you havnt installed the SimpleSDAudio library.,with which the arduino recognises the .raw audio files in the SD card.i think i have uploaded it with the link i have provided in the download inks page of my instructables...if its not there you can jus google for SimpleSDAudio library for arduino..,and copy it to your library...

i think making such a drum set without a midi output is very useful.,y use a laptop when you can do it with out it,...

why do it easy when you can complicate things....! :P
enjoyneer (author) 1 year ago
hii sheindah..,thx for your comment and the suggession....i didnt use the analog mux,cos i only intetded to use jus these 6 drums....but if you have a need for expanding your analog inputs.,then i think u should defenetly go for the analog mux thing.,there is another wonderful insructable by amanda on making an electronic xylophone which uses an analog mux to increase the analog inputs....that will help you to do your work....,the only problem is that it gives a MIDI output.,


and .,the error you mentioned is probably because you havnt installed the SimpleSDAudio library.,with which the arduino recognises the .raw audio files in the SD card.i think i have uploaded it with the link i have provided in the download inks page of my instructables...if its not there you can jus google for SimpleSDAudio library for arduino..,and copy it to your library...

i think making such a drum set without a midi output is very useful.,y use a laptop when you can do it with out it,...

why do it easy when you can complicate things....! :P
sheindah1 year ago
sinkron indonesia:
this is it!!!
i've been looking for a long time....( LOL )
how about using IC multiplex 4051 etc. to expand your analog input into 48pcs ( 6 x 8 )???
but can you show me the sketch program .....
and the sketch that i copy paste from your article above..there are error message on IDE arduino program software....
( sd play not in the scope ...) what it that mean ???
please help me..i want to build my own drum with minimum 16 input pad and doesn't need a laptop or pc..because we just need an amp or a speaker don't you..?
enjoyneer (author) 1 year ago
thank you so much for your comment...great to see my project inspiring others..the software part was quite challenging for me too..,but once you get the hang of it.,its the easiest part in the project,..One of the problems that you may face while using the footpedals is the debouncing code that you will need.,you may want to google digital switch debouncing and know better of this.debouncing in short is incorrectly triggering a digital high or low signal due to something "which i realy donknow y..!";-),but a typical debouncing programme is available in the examples of arduino prog environment.you can make this example code a subprogramme or a function and use it any were you want it in the main code..
An alternathive solution to this is that you can use a piezo sensor for the foot pedal also.,but that is not an option.,if you are using an arduino UNO R3/.,since u woldnt have any analog ports left...initialy i planned to use sum control buttons and an LCD display to the project,.but i ran out of digital input ports.so i decided to use foot pedals.,but that was very difficult to programme.,due to this debouncing thing..so i decided to take the drum hits as the trigger...which worked much better than expected.,noone expected me to use the drum trigger so every one tot dat ws aweosme coz no one has ever seen such a thing.
> www.hackerspace-ffm.de.
This is the place were i learned about the simpleSDaudio
library.
http://www.hackerspace-ffm.de/wiki/index.php?title=SimpleSDAudio

and about the conversion to the RAW format that you may need.,
download the files that i have uploaded to 4shared,com.,whose link i have pasted in the STEP10.you will get all the file that i used.,but it plays only on the arduino.,doesnt work on present day operating systems.,othr than MS DOS.
but i have also uploaded a text file that has the cmd code that u will need withwhich you can convert any wav file to RAW format..and read step 6 throughly....,the code is there in step 6 too...

if you need any sort of help ill be more than happy to...
and sorry for the late reply.,my exams were up...;)

all the best...DJG
DJG1 year ago
Hi Enjoyneer,
I was so impressed by all of the work that you have put into this drumkit. I would like to make a modified version operated by foot pedals rather than the drums that you have used; the reason for this is that I would want to play them to accompany myself whilst playing the guitar. I think that the mechanical side would not be too difficult, but I am wary of embarking on such a project without some guidance. Would you be able to give some, please? I am no computer engineer & would value greatly your input.
I look forward to hearing from you,
Dave
enjoyneer (author) 1 year ago
just updated the instructable with the links for the files that you may need,.
enjoyneer (author) 1 year ago
i saw a lot of instructables which are either based on MIDI or it is an acoustic drum converted to an electronic drum or it is a modified electronic drum .,and even an electronic drum with a PC as its brain.(ie running on software ).but KIDU is a completely independent device which does not require a PC.It is the only drum that i could find which gives an Audio output with out a Laptop or any other such device,built from scratch with very low cost..All it requires is a 5V power supply and a guitar amp or a cube.