Arduino MIDI Drums
Ever wondered to learn drums but you can't afford a drum set or don't have enough space to store the drum set.
Easily make a MIDI drum set at home using Arduino under ₹800($10).
Supplies
7x Piezo Discs
7x 1M ohm carbon resistor
Wood
Foam paper
PVC pipes
Arduino
Soldering Iron
Wires
Nuts & Bolts
Creating Structure
Use PVC pipes to give basic structure to the drum set
Using wood cut 4 circles and 2 quater circles
Cut Foam paper similarly
Use pieces of wood to make a pedal like structure as given in figure
Soldering and Connecting Piezos
(Do This For All Piezos)
Solder the negative terminal of Piezo to the 1M ohm resistor
Place the piezo discs between the foam paper and wood individually like given in figure
Place a piezo disc in the wooden pedal
Attaching to Arduino
Attach the wires from the piezo discs to the arduino as given in figure
Attach all the discs to Arduino to anlog pins from A0 to A6
Softwares
Install Following softwares
Hairless (Serial to MIDI bridge)
https://projectgus.github.io/hairless-midiserial/
Fl Studio
https://www.image-line.com/flstudio/
LoopBe1 (Virtual MIDI driver)
https://www.nerds.de/en/download.html
After installing the softwares:
start hairless and connect to the arduino serial port and MIDI out as loopBe1
open Fl Studio go to plugin database->drums->FPC
in FPC click on second row first column -> click on note and change to D4
Adding Code to Arduino
Use the following code and upload to arduino