From XPUB & Lens-Based wiki

A MIDI In & Out interface for the Arduino

ArduinoMidiInterface Arduino MIDI.gif

Courtesy of Tom Scarff


  • The DIP-switch (SW1) can be omitted if the MIDI-channel is to be hard-coded in the firmware.
  • The '0V' connection should be connected directly to the Arduino's GND.
  • The '5V' connection can be connected directly to the Arduino's 5V pin only if the bootloader is zapped and the Arduino is programed via ISP.
  • In the
function of the firmware, pin 2 should be made an output and switched high to turn on the MIDI-input. This trick prevents incoming MIDI-data from activating the bootloader.



  • ArduinoMidiInterface Arduino MIDI.gif