I’ve built several MIDI based devices using the Arduino microprocessor – recently I found an article online about hacking this $6 USB MIDI cable (see update below) to provide hardware MIDI over USB.
When my cables arrived I noticed that they were a different revision number to the one described in this article. Once I figured out the modification for this board version I thought it was worth posting.
All you need to do is desolder the top white wire from the MIDI side, and hook this to the 5v supply coming from the USB side, this now provides power to the Arduino device. Next connect a 220 Ohm resistor from the same 5v power terminal to the terminal that the white wire was originally connected to. That’s it.
Just remember to set your baud rate in the Arduino sketch to 31250 and everything should work OK. The blue indicator light on the USB cable interface should flash when MIDI data is received.
The USB cable declares itself to Windows as a MIDI device, no driver needed, and the Arduino is powered from the the white (5v), black (TX) and red (GND) wires coming from the left hand side of the board.
UPDATE: New price of $3.25!
http://www.amazon.com/Input-Output-Cable-Converter-Notebook/dp/B001HPL8B2/ref=sr_1_3?ie=UTF8&s=miscellaneous&qid=1259723275&sr=8-3



Steve Hobley works for a software company, but in his spare time likes to deconstruct all the lovely consumer goods with a goal to make unique and interesting things.


















{ 12 comments… read them below or add one }
If you are only sending midi out from the Arduino, all you need is a 220 ohm resistor. See schematic here : http://itp.nyu.edu/physcomp/Labs/MIDIOutput#toc4
You do have to set the baud rate appropriately in your sketch.
This also allows the use of an Arduino clone that does not have the onboard USB interface. I built a drumset that sends Midi data to a General Midi external sound source.
Hi Tom,
You are absolutely right, but the purpose of the article was to describe a way to connect the Arduino device directly to a *computer* via USB, power it, and run it as a MIDI device inside windows/mac without any extra drivers.
If you connect up the DIN port through a 220 ohm resistor as described in the article you can only use it with a device that supports a regular MIDI connection, and (more often than not) you still need to supply power to your Arduino.
Possibly the most interesting page I have read all month…
Great post! I want to see a follow up to this topic!!
Great post, been looking for that!
Regards
Natasha
I’ll try this. The hacked FTDI drivers+roland serial midi-drivers just makes me sick. It works some times, and some times not. Does this converter show up as a “new device” or how does windows see it?
The cable shows up as a “USB MIDI Cable” – and requires no drivers under Win7.
Thanks for this post, I will be using this trick in my Arduino EWI project.
This works just fine. I’m using a midi shield to keep flexibility to a maximum (compatibility to my older midi devices) but I can now use the arduino with a direct connection to my Mac, running Logic Pro. I’m also working on a pedal board that will be driven by the arduino to modify the midi signals on the fly.
Thanks for this simple (and cheap) idea!
Precisely what you are stating is true, I tried this once but failed.
Thanks for the information I can try it one more time.
Keep this up!
Hi very very nice post!
But i am a beginner at this and i would like to make mi own usb midi controller with the arduino. How do you program the arduino to send data through your midi- usb cable and would it be possible for the arduino to receive midi so that i can program LED’s on traktor?. thank you and i would like to see more of your work on tis, would it be possible for you to upload more photos of this?
Thank you
Hi, I’m a beginner as well. I’m building music bots. Do you know where I can learn to send midi from my computer using ableton live to arduino?? Like I said I’m new so if you you could think of any other resource that would be helpful I’d really appreciate it! Thanks, Jord
{ 6 trackbacks }