Custom Midi with Arduino
Custom Miid controller based on the Arduino MIDI controller by Notes and Volts. Designed to work with Arduino Uno and and Arduino Pro Micro.
Download and install the flip software in order to flash the ATMega16U2.
With the board connected via USB, jump ICSP2 pins 1 and 2 in order to put the Arduino in flash mode.
Once the Arduino is in flash mode, we should be able to see the ATMega16u2 in the device manager.
Note: for some unofficial boards, I have needed to burn the bootloader for this step to work
We then select ATMega16U2 in flip, open the USB connection, load the HEX file and hit RUN. This completes the installation of the MocoLufa dual boot firmware.
Connect ICSP2 pins 1 and 3 in order to boot the board as an Arduino and upload new sketches.
Install the MIDI library.
Move the the content inside "libraries" to the Arduino's libraries folder.
For the ultrasonic sensors, install the HC-SR04 library.
For the gyroscope and accelerometer, install the MPU-9250 library.