Terimah kasih atas ilmu yg anda bagikan.saya sudah coba praktek. Dan berhasil konek ke android.tp saya bingung.keluaran suranya untuk ke mixer dari mana ya. Mohon penjelasannya
Hi Ryo San, Can you share us the code if in case using a midi port? it would be very helpful as i can expand my current music instruments via midi port.
My code and library use MIDI library together. You do not need to modify the code to use MIDI port. Did I answer your question? open-e-drums.tumblr.com/post/171168448524/using-midi-socket-with-arduino
hi, with this trigger that changes the arduino we can have MIDI port out of the USB right ? we dont need that MIDI port plus MIDI adapter anymore right ?
Hi Sir, I had a problem. Everytime I hit the piezo they combined sound of instrument. Ex. I hit the snare but many sounds comeout from the speaker , combined sounds of instrument like snare cymbals tom and bass drum etc. I used KORG gadget on ipad and Hydrogen for laptop. Same issue. Please help thanks.
Hi Rendel Are you using this code? github.com/RyoKosaka/drums/blob/master/arduino/mega/mega.ino I would like to know a more detailed situation, so can you show me pictures or videos?
Do you used this code? Is this working fine with your arduino? Anyways if this working good with your board and not mine, I think my board is defective.
Hi Rendel, photos.app.goo.gl/G7OmgnC1HGMWAL4x1 Tool→Preference→MIDI System First, select "port midi" in the "midi driver" item and click OK. Again open Preference and next select "Moco LUFA" in "input" item. Here, if "Moco LUFA" does not exist, your arduino is not a MIDI device.Have you done step 14 on Instructables page? By the way, I also tried connecting arduino to hydrogen with windows 10. Although the sound comes out by the above method, the delay is large. I do not know the cause. I think it's better to connect to iPad or iPhone or Mac and use the garage band. good luck!
HI Sir, I have a problem uploading the code ;( Arduino: 1.8.6 Hourly Build 2017/10/30 11:33 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" C:\Users\MRBello\Downloads\ArduinoMegaDrumTest\ArduinoMegaDrumTest.ino:26:18: fatal error: MIDI.h: No such file or directory #include ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Hi Rendel OK, That message means that the MIDI library is not installed on your computer. So, you only have to install the MIDI library.Installation is very simple. How to Install a Library www.arduino.cc/en/Guide/Libraries Arduino MIDI Library playground.arduino.cc/Main/MIDILibrary Good luck!!
HI Ryo, After I follow the instruction. I had an error to program my arduino mega Here's the error; avrdude: stk500v2_ReceiveMessage(): timeout avrdude: ser_send(): write error: sorry no info avail avrdude: stk500_send(): failed to send command to serial port avrdude: ser_recv(): read error: The handle is invalid. ???? Please help me..
Hi Rendel. After Step14, when writing code using the arduino IDE, you have to short-circuit the pins as shown in the picture. cdn.instructables.com/ORIG/FH1/T318/J4G57QU8/FH1T318J4G57QU8.png cdn.instructables.com/ORIG/F8P/2L7J/J4G57QU9/F8P2L7JJ4G57QU9.jpg
Hi Ryo, I think my arduino was defective after the DFU process. :( Here's the error ; the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer does not exist or your board is not connected
Rendel Bello That error message means that pc does not recognize your arduino First, when shorting please remove your arduino from pc. Then connect arduino again to pc and write the program. Do not forget to select a port here. If you get an error or you can not select a port, it is possible that step 14 has not worked out. The easiest way to check if your arduino is a midi device is to connect to mac grageband without short-circuit. When the midi connection succeeds, a window opens in the upper right corner.
Hi. Can you help me with pc connection? I use youre uno-brain-drum, thanks ) and loopMIDI + hairless-midiserial. If i connect to phone, sound is warked. But if i connect to pc, in hairless - Warning: got a status byte when we were expecting 1 more data bytes, sending possibly incomplete MIDI message 0xc0. Also i use REAPER + EZdrummer, signal is there, but no sound ( Help me please. Thanks)
Hi. Actually, I am not using hairless, but I found an article about that error message. Did you see this? forum.arduino.cc/index.php?topic=251907.0 ”I received this error a lot at first while setting up my project. Make sure to try each of the settings, even all the baud rate options to see which eliminates the problem.” It seems that it might be fine if you review baud rate options. Good luck!
Ryo Kosaka, Thanks for advice) Can you help me, wich line in code i must change? Also i use, for now, only first stereo channel, for snear drum. But when i logged in phone program use 1 piezo(head) for hihat (open) and 2 piezo for rim, are its program trouble? Thank you for answer!
If you hit the snare head, does that sound hihat sound? In this code, github.com/RyoKosaka/drums/blob/master/arduino/HELLODRUM/HELLODRUM.ino snare head piezo connected in A0. snare rim piezo connected in A1. (line 55-68) Please check the circuit. If the circuit is correct and there is a different sound, I do not know the cause. However, changing the note number may solve it. Changing notes is easy.Edit lines 10 to 24. ex. int SNARE[6] = {150, 950, 38, 3, 0, 0}; In this line, the note number is the third number 38. The snare's note is 38. computermusicresource.com/GM.Percussion.KeyMap.html If you change this number, you will be able to change instruments.
Hi Rendel. Thank you for your interest. Actually, it seems that it will take some time to complete, but I am also proceeding with full set production using arduino MEGA. The procedure is the same with arduino UNO and MEGA. In step 14 of this page(www.instructables.com/id/Arduino-Minimal-Drum-Kit/), use MEGA instead of UNO. Regarding using the iPad, I tried it once and it worked. Just connect the MEGA and ipad with a Lightning to USB Camera Adapter after Step 14. The code will work with MEGA as well. However, this code is still incomplete and needs to be fixed. But unfortunately I am a beginner in programming. If you have something you do not understand, ask anything. Good luck.
Sorry, but I can not fix the code right away. If you do not use the LCD and you only use one piezo on the pad, it's easy. Just copy the part of KICK in this code 443-476(github.com/RyoKosaka/drums/blob/master/arduino/HELLODRUM/HELLODRUM.ino) and change the name and increase it. And you also have to increase the constants related to KICK like this. ex. int KICK[6] = {200, 700, 36, 1, 0, 0}; ↓copy&paste&rename int TOM[6] = {200, 700, 36, 1, 0, 0}; boolean kickFlag = false; ↓ boolean tomFlag = false; int piezoValue_3 = analogRead(A3); //kick drum ↓ int piezoValue_10 = analogRead(A10); Regarding the circuit diagram, replace the UNO of this image(github.com/RyoKosaka/drums/blob/master/circuit/circuit.png) with MEGA and add piezo to the analog pin.
Terimah kasih atas ilmu yg anda bagikan.saya sudah coba praktek.
Dan berhasil konek ke android.tp saya bingung.keluaran suranya untuk ke mixer dari mana ya.
Mohon penjelasannya
VIDEO TUTORIAL!!?? IS WHAT I SEARCHING FOR!!!
Stop screaming, you fucking kid.
Obrigado por inspirar!!!!
Hi Ryo San,
Can you share us the code if in case using a midi port? it would be very helpful as i can expand my current music instruments via midi port.
My code and library use MIDI library together. You do not need to modify the code to use MIDI port. Did I answer your question?
open-e-drums.tumblr.com/post/171168448524/using-midi-socket-with-arduino
Yes Ryo San, you have answered it. Thanks for this knowledge share.
thank u for sharing, can you give a complete wiring diagram?
Hello ryo, this is program can use in system operation windows/android?
Hello sir, if i want to add other pad in minimal drum kit. How to ?
Como puedo realizar este proyecto
Printing! Thanks!
how did it go?
just finished the first shell myselfe.
hi, with this trigger that changes the arduino we can have MIDI port out of the USB right ? we dont need that MIDI port plus MIDI adapter anymore right ?
se puede usar en android?
que app para android utilizan?
android y drum aplikasi apa
Hi Sir,
I had a problem. Everytime I hit the piezo they combined sound of instrument. Ex. I hit the snare but many sounds comeout from the speaker , combined sounds of instrument like snare cymbals tom and bass drum etc. I used KORG gadget on ipad and Hydrogen for laptop. Same issue. Please help thanks.
Hi Rendel
Are you using this code?
github.com/RyoKosaka/drums/blob/master/arduino/mega/mega.ino
I would like to know a more detailed situation, so can you show me pictures or videos?
Ryo Kosaka
Yes Sir, i used this code. and alsi your arduini uno original code but same issue.
It seems that there is a problem with your pad or circuit.
Please show me a photo or video.
Do you used this code? Is this working fine with your arduino?
Anyways if this working good with your board and not mine, I think my board is defective.
I cant send the video do you have a facebook?
Can you tell me how to do it with arduino mega with android ?
Hi Ryo,
Thanks. I already upload the code. but doesnt work with hydrogen drum software. What should I do to work this. Thanks a lot.
Hi Rendel,
photos.app.goo.gl/G7OmgnC1HGMWAL4x1
Tool→Preference→MIDI System
First, select "port midi" in the "midi driver" item and click OK.
Again open Preference and next select "Moco LUFA" in "input" item. Here, if "Moco LUFA" does not exist, your arduino is not a MIDI device.Have you done step 14 on Instructables page?
By the way, I also tried connecting arduino to hydrogen with windows 10.
Although the sound comes out by the above method, the delay is large. I do not know the cause.
I think it's better to connect to iPad or iPhone or Mac and use the garage band.
good luck!
@@ryokosaka8859 I would recommend using Asio4All driver in Windows systems for reducing latency. But Im sure you already figured that out.
Did you made pads yourself?
HI Sir,
I have a problem uploading the code ;(
Arduino: 1.8.6 Hourly Build 2017/10/30 11:33 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\MRBello\Downloads\ArduinoMegaDrumTest\ArduinoMegaDrumTest.ino:26:18: fatal error: MIDI.h: No such file or directory
#include
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Hi Rendel
OK, That message means that the MIDI library is not installed on your computer.
So, you only have to install the MIDI library.Installation is very simple.
How to Install a Library
www.arduino.cc/en/Guide/Libraries
Arduino MIDI Library
playground.arduino.cc/Main/MIDILibrary
Good luck!!
HI Ryo,
After I follow the instruction. I had an error to program my arduino mega
Here's the error;
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
???? Please help me..
Hi Rendel.
After Step14, when writing code using the arduino IDE, you have to short-circuit the pins as shown in the picture.
cdn.instructables.com/ORIG/FH1/T318/J4G57QU8/FH1T318J4G57QU8.png
cdn.instructables.com/ORIG/F8P/2L7J/J4G57QU9/F8P2L7JJ4G57QU9.jpg
Ryo Kosaka
I did it but nothing happen. I cannot reprogram my arduino after doing step 14. Error happen. :(
Hi Ryo,
I think my arduino was defective after the DFU process. :(
Here's the error ;
the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer
does not exist or your board is not connected
Rendel Bello
That error message means that pc does not recognize your arduino
First, when shorting please remove your arduino from pc. Then connect arduino again to pc and write the program. Do not forget to select a port here.
If you get an error or you can not select a port, it is possible that step 14 has not worked out.
The easiest way to check if your arduino is a midi device is to connect to mac grageband without short-circuit. When the midi connection succeeds, a window opens in the upper right corner.
Hi Rendel
Can you write a program to arudino even if you connect without shorting?
Hi. Can you help me with pc connection? I use youre uno-brain-drum, thanks ) and loopMIDI + hairless-midiserial. If i connect to phone, sound is warked. But if i connect to pc, in hairless - Warning: got a status byte when we were expecting 1 more data bytes, sending possibly incomplete MIDI message 0xc0.
Also i use REAPER + EZdrummer, signal is there, but no sound (
Help me please. Thanks)
Hi.
Actually, I am not using hairless, but I found an article about that error message. Did you see this?
forum.arduino.cc/index.php?topic=251907.0
”I received this error a lot at first while setting up my project. Make sure to try each of the settings, even all the baud rate options to see which eliminates the problem.”
It seems that it might be fine if you review baud rate options.
Good luck!
Ryo Kosaka, Thanks for advice) Can you help me, wich line in code i must change? Also i use, for now, only first stereo channel, for snear drum. But when i logged in phone program use 1 piezo(head) for hihat (open) and 2 piezo for rim, are its program trouble? Thank you for answer!
If you hit the snare head, does that sound hihat sound?
In this code,
github.com/RyoKosaka/drums/blob/master/arduino/HELLODRUM/HELLODRUM.ino
snare head piezo connected in A0.
snare rim piezo connected in A1.
(line 55-68)
Please check the circuit.
If the circuit is correct and there is a different sound, I do not know the cause.
However, changing the note number may solve it.
Changing notes is easy.Edit lines 10 to 24.
ex.
int SNARE[6] = {150, 950, 38, 3, 0, 0};
In this line, the note number is the third number 38.
The snare's note is 38. computermusicresource.com/GM.Percussion.KeyMap.html
If you change this number, you will be able to change instruments.
Hi Sir,
Can you teach me how to do it with arduino mega with ipad?
Hi Rendel.
Thank you for your interest.
Actually, it seems that it will take some time to complete, but I am also proceeding with full set production using arduino MEGA.
The procedure is the same with arduino UNO and MEGA.
In step 14 of this page(www.instructables.com/id/Arduino-Minimal-Drum-Kit/), use MEGA instead of UNO.
Regarding using the iPad, I tried it once and it worked. Just connect the MEGA and ipad with a Lightning to USB Camera Adapter after Step 14.
The code will work with MEGA as well.
However, this code is still incomplete and needs to be fixed.
But unfortunately I am a beginner in programming.
If you have something you do not understand, ask anything.
Good luck.
Ryo Kosaka
Hi Ryo , thanks but can u please help me to edit the code and also the schematic of wiring with the arduino mega ? thanks a lot
Sorry, but I can not fix the code right away.
If you do not use the LCD and you only use one piezo on the pad, it's easy.
Just copy the part of KICK in this code 443-476(github.com/RyoKosaka/drums/blob/master/arduino/HELLODRUM/HELLODRUM.ino) and change the name and increase it.
And you also have to increase the constants related to KICK like this.
ex.
int KICK[6] = {200, 700, 36, 1, 0, 0};
↓copy&paste&rename
int TOM[6] = {200, 700, 36, 1, 0, 0};
boolean kickFlag = false;
↓
boolean tomFlag = false;
int piezoValue_3 = analogRead(A3); //kick drum
↓
int piezoValue_10 = analogRead(A10);
Regarding the circuit diagram, replace the UNO of this image(github.com/RyoKosaka/drums/blob/master/circuit/circuit.png) with MEGA and add piezo to the analog pin.
Ryo Kosaka
Hi Sir, Thank you for response. but your link cannot open. :(
Ryo Kosaka
Yes Sir i dont need an lcd , all i want is to connect this into ipad with complete set of drums.
Not quite my tempo