MIDI adapter

Hello. I have a MIDI keyboard and my computer does not have that entry. The idea is to make a MIDI-Serial adapter with Arduino (UNO). I Google and find lots of information, but do not quite understand. I think this software would help me (http://www.spikenzielabs.com/SpikenzieLabs/Serial_MIDI.html), but did not get the code for the arduino. Can you tell me what software I need on the PC, the Arduino code, circuit, etc...? Thanks and greetings!

hello!! while you have to write the arduino code on your own, i can tell you how to make a pc receive MIDI data through arduino usb: you need to replace the ATmega8u2 (the little chip near the usb socket in arduino uno) firmware with another one called "MIDI/MODO for LUFA".

just follow these steps: -enter DFU mode (to reprogram the atmega8u2) http://arduino.cc/en/Hacking/DFUProgramming8U2 -when prompted, upload this firmware instead http://web.mac.com/kuwatay/morecat_lab./MocoLUFA_files/MocoLUFA-110123.tgz for any windows issues read this http://andrewmemory.wordpress.com/2011/04/14/upgrading-the-arduino-uno-8u2-using-flip/

now your pc sees your arduino as a generic midi device, so it can't be programmed. to undo everything just follow the first step (with the standard firmware).

now you just have to write you arduino code, upload it you arduino and change the firmware with the steps above!!!

I read about LUFA, but i don't know how to make the circuit diagram and the Arduino code. How would be the Arduino programming if I use MOCO?, Anyone have an example?. Thanks and regards!

EDIT:I thought someone would have already done a USB-MIDI converter :S

A MIDI adaptor is only £5.00 from ebay where as a Arduino is £17.00 and that is without any extra sockets so why on earth do you want to make an arduino act like an adapter?


I’m from Argentina and here an adapter costs u$s 16. Besides, I’m from a small town and it costs me much more expensive. Of course it would be to try the keyboard now, when I go to a bigger city I will buy an adapter.