Midi Usb Host Diy Tutorial

download Midi Usb Host Diy Tutorial

of 6

Transcript of Midi Usb Host Diy Tutorial

  • 8/17/2019 Midi Usb Host Diy Tutorial

    1/6

    MIDI USB HOST DIY tutorial 

    By Spider ver. 1.0 (9 Oct 2013)

  • 8/17/2019 Midi Usb Host Diy Tutorial

    2/6

    PREPARISTIONS

    Parts:

    1x Arduino Uno Board (like this one: https://www.sparkfun.com/products/11021) 

    1x USB Host Shield (like this one: https://www.sparkfun.com/products/9947) 

    2x 5 DIN sockets for MIDI In and Out

    2x 220 Ohm resistors

    Software:

    Editor and programmer:

    Arduino IDE 1.0.5 ()

    Libraries:

    USB Host shield 2.0 (https://github.com/felis/USB_Host_Shield_2.0) 

    Arduino MIDI (http://playground.arduino.cc/Main/MIDILibrary) 

    USBH_MIDI from branch IOP_ArduinoMIDI by Yuuichi Akagawa

    (https://github.com/YuuichiAkagawa/USBH_MIDI/tree/IOP_ArduinoMIDI) 

    For project state: 1x mini bareboard, some cabels – in final version you could use goldpins on USBHost shield and solder here resistors etc

    Attention: At this moment it is only bidirectional communication between MIDI 5 DIN In and OUT

    and USB MIDI Host. Communication with computer isn’t possible!

    https://www.sparkfun.com/products/11021https://www.sparkfun.com/products/11021https://www.sparkfun.com/products/11021https://www.sparkfun.com/products/9947https://www.sparkfun.com/products/9947https://www.sparkfun.com/products/9947https://github.com/felis/USB_Host_Shield_2.0https://github.com/felis/USB_Host_Shield_2.0https://github.com/felis/USB_Host_Shield_2.0http://playground.arduino.cc/Main/MIDILibraryhttp://playground.arduino.cc/Main/MIDILibraryhttp://playground.arduino.cc/Main/MIDILibraryhttps://github.com/YuuichiAkagawa/USBH_MIDI/tree/IOP_ArduinoMIDIhttps://github.com/YuuichiAkagawa/USBH_MIDI/tree/IOP_ArduinoMIDIhttps://github.com/YuuichiAkagawa/USBH_MIDI/tree/IOP_ArduinoMIDIhttps://github.com/YuuichiAkagawa/USBH_MIDI/tree/IOP_ArduinoMIDIhttp://playground.arduino.cc/Main/MIDILibraryhttps://github.com/felis/USB_Host_Shield_2.0https://www.sparkfun.com/products/9947https://www.sparkfun.com/products/11021

  • 8/17/2019 Midi Usb Host Diy Tutorial

    3/6

     ASSAMBLING

    1. 

    Connect 5, 2, 4 pins of 5 DIN socket with cables.

    5 – TX or RX (i.e. TX for MID OUT socket, RX for MIDI IN socket)

    2 – GND

    3 - +5 V via 220 Ohm

  • 8/17/2019 Midi Usb Host Diy Tutorial

    4/6

     

    2. 

    Use this schematics for assembling. It is pretty easy.

  • 8/17/2019 Midi Usb Host Diy Tutorial

    5/6

    PROGRAMMING

    a. 

    Install Arduino IDE (read some basics here:

    http://learn.adafruit.com/category/learn-arduino. 

    Lessons from 1 and 2 would be enough). Don’t ask read this!

    b.  then put USB_Host_Shield_2.0 library in folder “USB_Host_Shield_2” (create it if

    needed).

    Path: …/Documents/Arduino/Libraries/

    c. 

    Then put Arduino MIDI in “MIDI” folder

    d.  Then put USBH_MIDI_IOP in “USBH” folder

    http://learn.adafruit.com/category/learn-arduinohttp://learn.adafruit.com/category/learn-arduinohttp://learn.adafruit.com/category/learn-arduino

  • 8/17/2019 Midi Usb Host Diy Tutorial

    6/6

    e. 

    Open Arduino IDE and open sketch: biderctional_converter (Menu File > Examples >

    USBH> biderctional_converter)

    f. 

    Connect Arduino board to computer (how? Look at point A)

    g. 

    Load sketch to board (how? Look UP :)

    h. 

    Disconnect form computer if you like, and power up Arduino via USB or powersupply.

    i. 

    Use it with Fishman TriplePlay or any other USB MIDI class compliant device)

     j.  If you have problem after steps A-J ask on VGuitar Forum.