Home

Awesome

USB Host MIDI to USB Host MIDI

USB Host MIDI x 2

usbhostmidix2 is two USB host MIDI ports connected MIDI IN to MIDI OUT and vice versa. Connect two USB MIDI devices to each other without a computer. For example, connect a USB MIDI controller to a USB MIDI guitar amp/effects box. Or connect a USB MIDI keyboard to a synth.

For more than two USB MIDI devices, see the Raspberry Pi version of a USB host MIDI hub. https://github.com/gdsports/rpi-usb-host-midi-hub

Hardware

Optional

The following makes to easy to access the 5V and grounds pins on a wall adapter power supply with a micro USB connector.

PowerTrinket M0Trinket M0
GNDGNDGND
5VUSBUSB
n/aTX/4RX/3
n/aRX/3TX/4

Firmware

USB Host Co-Processor

USB Host MIDI firmware

The USB host MIDI firmware can be burned into the Trinket M0 just by dragging and dropping the UF2 file on to the Trinket M0 USB drive. There is no need to install the Arduino IDE, source code, or USB serial device driver.

At this point, the Trinket M0 is now in USB host mode so it no longer talks with the computer. Load the firmware on both Trinket M0s. Connect the power and UART TX and RX as shown in the previous section.