Introduction: THE MIDI CAPACITOR
Hello !! Welcome
Today we will be making a Capacitive Sensor but with a twist. Normally if you ever make a capacitive sensor, it will just be you pressing an object and the sound will come out from the downloaded computer sound or the buzzer, right? This time you will be able to use it as a MIDI device. If you don't know what a MIDI device is, it is a musical instrument digital interface where you use it to connect to your computer and make music! So today I will be showing you the simplest way to make a MIDI CAPACITIVE SENSOR. Let's get started!
Step 1: Prepare Your Components
1 x buzzer
2 x 1M Ω
8 (aprox) x Jumper wires
Step 2: Create the Circuit Board
Get some wires, some light bulbs, and start creating the circuit as shown above. You can choose to follow the diagram, the one I made or you can make your own capacitive sensor circuit. The buzzer will be an indication to see if it works, after you press the wires there should be sound coming out of the buzzer of course after you add the code.
Step 3: Coding !!
This will not be the last code but type this out to check if your circuit is working and we can move on to the next step. * Remember to download the Capacitive Sensor library *
Library - https://playground.arduino.cc/Main/CapacitiveSenso... (go to that website and you will be able to download it from there)
Step 4: MIDI Timeee
With the circuit board working, we will now make the capacitor into a MIDI controller. You will need to download two applications, 1 is called the loop MIDI and the Hairless MIDI to give a port to our circuit for our computer to be able to read it and have a bridge to connect to the computer. By adding the few codes to the Arduino code before, the capacitive sensor would turn into a MIDI device. To test the sound you can go to any music software online and just connect the port. In my case, I used Bandlab. After uploading the code, be sure to not leave any serial monitors open and create a port with Loop MIDI and connect your port to the midi output of hairless MIDI. If everything goes well you should be able to see green dots on the Hairless MIDI.
Hairless MIDI - http://projectgus.github.io/hairless-midiserial/
Step 5: Play the Music 🎶🎶
After all the steps we have done, your MIDI capacitor should work. In my case, as I referred to in the earlier step, I used Band lab to play my music. After selecting my port ( loopMIDIport ), the music will play on the computer after you press the wire from your Arduino. You can choose to add more wires doing the same step or just play it like this. At this point, the buzzer on the circuit will not be used as it was for us to check and see if our circuit was working. Now you have your own MIDI device, isn't it so cool? You can try it out with different materials, eg. leaves, a pencil (carbon), fruits, and many more! I hope you had fun building this project. :))
Step 6: IDEAS for Fun :)
This step is just to show you what MIDI devices you can make (if you want). You can build a guitar straight out of Arduino and have the device play music into your computer just like a MIDI device. You will be able to make music and have a lot of fun playing your device.