M I D I T H I N G
R E F E R E N C E
P R O G R A M I N G
U S E R M A N U A L
U P D AT I N G M I D I T H I N G
.
7
LOADING FIRMWARE
This module is based on the Arduino platform and features an Atmega328 microcontroller
with Arduino UNO bootloader. An ICSP header is available on the board to reprogram it.
Read carefully about Arduino programming via ICSP before attempting to reprogram Midi
Thing.
Please beware that if you are not familiar with these concepts and you try to load a
new firmware you risk disabling your module!
In order to program/upgrade the module follow these steps:
1.
Get an Arduino Programmer
We normally use an USBasp programmer like this one
https://www.ebay.com/itm/USBASP-USB-ISP-
Programmer-for-Atmel-AVR-ATMega328-ATMega32U4-Arduino-/322662323277
2.
Download Arduino IDE
Go to the official Arduino website
https://www.arduino.cc/en/Main/Software
and download the latest version of
Arduino IDE for your operating system and install it.
3.
Download the firmware
Go to
https://github.com/Befaco/midithing
and press "clone or download" to download the repository to your
computer. Extract the zip file and copy "firmware" folder to your sketchbook folder.
4.
Install the libraries
Download the libraries (
Bounce, mcp4728 and MIDI
) and install them following the instructions from this
link
https://www.arduino.cc/en/Guide/Libraries
5.
Connecting the module
Connect the programmer to the ICSP conector in the back of the module. Pay special attention to
the pinout when you plug the module. You can check this link for more information about ICSP
https://www.arduino.cc/en/Tutorial/ArduinoISP
6.
Upgrading
Press "Open" and search the file "firmware.ino" located on the "firmware" folder. Go to "Sketch" and
hit "Upload using programmer".
If everything goes well you should see a "Done uploading" message in a few seconds. If something
happens during the upgrade, check your Arduino settings following the instructions of this link
https://www.arduino.cc/en/Guide/Troubleshooting