Pages: [1]   Go Down
Author Topic: MIDI adapter  (Read 729 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Recanati (MC)
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!!!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: July 16, 2011, 02:06:25 pm by Gaspu » Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 626
Posts: 34188
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

http://cgi.ebay.co.uk/NEW-USB-MIDI-CABLE-KEYBOARD-ADAPTOR-PC-XP-VISTA-MAC-/190410997530?pt=Midi_Controllers&hash=item2c55613f1a
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: