A MIDI based Arduino project using SparkFun's MIDI Shield
A MIDI based Arduino project using SparkFun’s MIDI Shield. I created my own method of parsing MIDI signals in the code because the MIDI Library by Forty Seven Effects was not accurate enough for my intended purposes - to send MIDI Signals from the keyboard to my laptop wirelessly over Bluetooth. Since Serial in Arduino can be both accessed via USB and Bluetooth, no modification is required to use this code via USB. In fact, this guide assumes that setup is done via USB, and the Bluetooth component is covered later as an extension.
I tried to make my code as well commented as possible to aid anyone working with microcontrollers and MIDI, but if anything is not clear, do open an issue and I’ll try my best to make things clearer/clarify your queries!
Diagram of completed MIDI over Bluetooth prototype
As mentioned earlier, this project was meant to create a working prototype that sends MIDI signals from a piano keyboard to a laptop wirelessly over Bluetooth. No code modification is necessary besides installing a Bluetooth module and connecting it to the Arduino’s TX and RX pins. The Bluetooth module used in my project was a HC-06.
This project is licensed under the MIT License - see the LICENSE.md file for details