Instructables
loading
loading

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
1-40 of 45Next »
mrwolfe15 days ago

Cool instructible Jishnu. Just thinking that you could add velocity sensing buy watching the peak amplitude of the trigger inputs then adjusting the output amplitude accordingly.

RowanCant5 months ago

Any further progress on creating a code that could allow multiple sounds to play at once? I'm really interested in making one of these for my Nephew to learn drums, but it would be good for him to have multiple tones at once to learn properly.

enjoyneer (author)  RowanCant3 months ago
I am sorry., but the library doesn't support that. And also I don't think that is doable with the limited muscle we have on the arduino. The samples need to be synthesized to do what you ask. I am no expert but I don't think we can do that on arduino. Here we just play from the stored audio file. I think it would need an FPGA.
FedericoZ4 months ago

from which pin of arduino do you take the output?

enjoyneer (author)  FedericoZ3 months ago
Pin 9 for uno and 53 for mega
ParnabS3 months ago

Hey Bro I Am Parnab I am 13 yrs old i want to ask u that can u build it with 2 drums,3 tom toms and 3 cymbals so i can pratice my drum lessons at home

enjoyneer (author)  ParnabS3 months ago
Hey pranab, that is possible but I wouldn't recommend this for practice. This is only ment as a learning exercise for those interested in electronics. To learn drumming as a soft skill I think you should practice on a real drum
nevi693 months ago
Hellou this is amazing...! I want to make this but . Cant find scheme or how to connect output tu guitar amp or any amp or i missted somhwere.. :) can you help somhow..? This is so cool! Thank you!!
enjoyneer (author)  nevi693 months ago
Sort about not having any schematic. The audio out is connected between pin 9 and gnd

Hey Bro, would it be possible to replace the SD card with a device say a tablet and have the Arduino read the SD that is in the Tablet?

enjoyneer (author)  justin.serfontein3 months ago
Definitely possible. I am not good at android coding. But there probably will be some library in android for serial communication. We can code the arduino to send the the sensor readings to the android device via USB Serial or Bluetooth or some thing and take the output from the android device. The output will be even clearer than that is now. But I can't cant say anything about the fidility since there might be considerable delay. If you are relying on an android device then I suggest you try making a midi kit. There are tutorials that will help you with it. Its much more easier too. And just use a VST program like flstudio or something that runs in android. Cheers.

i'm sorry mr, may i have the schematic or wiring diagram. thx so much

Hey thanks for replying. I was wondering what the connections would look like if I had the arduino connected to the shield and placed all the things on a breadboard instead. So I have the piezos and the resistors and one female audio jack on the bread board. Would I be able to get a proper sound using your source code?

Hey sorry i couldnt reply sooner., a while ago someone did this on a breadboard when and it worked just fine.It sounded fine..Here is the link to his work.https://www.facebook.com/video.php?v=7993323901072...

Hey thanks! I also got it to work and transferred it over to a pcb. Thanks anyway though.

SREEDEV6 months ago

Hello, we were there at the KCSTE event when you presented this. Do you feed the PWM signal directly to the speaker or do you smooth it with an RC circuit. What values did you use?

enjoyneer (author)  SREEDEV6 months ago

Hey Sreedev,Glad to see you again., We need a Lowpass filter to smoothen out the PWM Signal. But i had an amplifier with an equalizer to Do that. So i had only to decrease all treble (the HIGH freq component )and increase the Bass(The low freq component ). This way i had more control over the output signal. but after a little experimentation, i did a small passive Lowpass filter with some capacitors and resistors and got a much better result, So i would strongly recommend using a LOWpass filter with a cutoff close to the fundamental frequency of the PWM signal of the Arduino.

EduardoS66 months ago

Hi great project, this is what i am looking for along time , o wonder if its possible to ad more pads and hi hat pedal ,

sorry i am just beginning to learn about arduino

my idea its make my one drum module or use arduino to receive midi notes and transform to audio output.

thanks

enjoyneer (author)  EduardoS66 months ago

Hi.., Your idea is totally doable.In fact there are a lot of instructable to get the midi out from the arduino. check this out http://www.instructables.com/id/Arduino-Xylophone/

With a little research you can make a hybrid of KIDU and this MIDI xylophone.

Hey are you still checking these comments for this project? I have a couple questions if you wouldn't mind. Thanks!

Sure whats up..?

Hey thanks for replying. I was wondering what the connections would look like if I had the arduino connected to the shield and placed all the things on a breadboard instead. So I have the piezos and the resistors and one female audio jack on the bread board. Would I be able to get a proper sound using your source code?

mghazali111 months ago
can i hit 2 pad at the same time :3 im just curious
enjoyneer (author)  mghazali111 months 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..

Any progress on the polyphonic drums? :)

stalag10 months ago

is this a stand alone unit or do you need to hook it up to a computer? also is the schematic available?

joeyjerry stalag9 months ago

Yes,it is a stand alone unit

eilardo11 months 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)  eilardo11 months 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) 12 months 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.

nestor.udang12 months ago

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

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) 1 year 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.
vennev1 year 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.
wjsaunders1 year ago
Does the SD card shield allow for tracks to be played in the background, or two sounds at once?
enjoyneer (author)  wjsaunders1 year 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.
jrummens1 year ago
Could you by chance use a Rockband drumset with this configuration?
enjoyneer (author)  jrummens1 year 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) 2 years 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) 2 years 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
1-40 of 45Next »