Pages: [1]   Go Down
Author Topic: Arduino UNO to register as USB MIDI device  (Read 6636 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 40
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello

I have read here and there about that the Arduino UNO should be able to register as a "class compliant" USB device, for example to show up as a MIDI device.

I would like to do just that, problem is I don't understand half or it... ATmega8U2, LUFA, USB HID class, etc.

Could some wise and kind person please explain to a poor noob exactly how to make this happen?

And also a little on how to send and recieve MIDI messages to and from the computer...

or point me to links that does this...

Thanks, and keeep up the great work all
Fredrik
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't know the answer but a good source for USB thingies is http://www.lvr.com/usb.htm It also includes a USB specific forum.

You have to reprogram the Atmega8U2 chip that takes care of the USB /Serial communication. Try google...

Quote
how to send and recieve MIDI messages to and from the computer
MIDI is a serial protocol and ... ---> http://en.wikipedia.org/wiki/Musical_Instrument_Digital_Interface
http://www.srm.com/qtma/davidsmidispec.html

Note there is a http://www.sparkfun.com/products/9595 midi shield (no USB but MIDI)
« Last Edit: December 07, 2010, 12:58:48 pm by robtillaart » Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi,

im looking for information on the same thing!

the shield is not an option because i want to send midi over the Uno's USB port,

from what ive learnt so far, you need to either short some pins or connect the ICSP jumper (the 6 upright pins on the board that are not part of the I/O pins) and then reprogram the atmega which is between the Atmega 328 (which is the main chip on the uno) and the USB port,

you reprogram it in LUFA, to convert serial to midi data, which apparently the LUFA library already has these protocols you just need to implement them, (but i still havent worked out that bit)

and then as long as the Uno is accepted by the generic driver for the USB class as a midi device you should be good to go!

but any more information from anyone on this subject would be greatly appreciated!
« Last Edit: January 21, 2011, 09:09:27 am by woof » Logged

Pages: [1]   Go Up
Jump to: