<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Arduino_i_driver_USB</id>
	<title>Arduino i driver USB - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Arduino_i_driver_USB"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Arduino_i_driver_USB&amp;action=history"/>
	<updated>2026-09-13T12:01:31Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Arduino_i_driver_USB&amp;diff=247557&amp;oldid=prev</id>
		<title>Joan a 21:30, 16 oct 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Arduino_i_driver_USB&amp;diff=247557&amp;oldid=prev"/>
		<updated>2011-10-16T21:30:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
He enviat un mail a la LAD. Vull que si tinc un projecte fet amb arduino, per ex un controlador MIDI, sigui USB-compliant i que m'aparegui a la llista d'aconnect.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
I think its more a task of &amp;quot;make arduino behave as a standard-compliant usb-&lt;br /&gt;
midi device&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you have that code, please share it :-)&lt;br /&gt;
&lt;br /&gt;
Have fun,&lt;br /&gt;
&lt;br /&gt;
Arnold&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Not possible with the old Arduinos (FTDI chip), but super easy with the&lt;br /&gt;
new generation, the Arduino Uno: http://arduino.cc/en/Main/ArduinoBoardUno&lt;br /&gt;
&lt;br /&gt;
Flo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Thanks for make me remember ttymidi. I tried it and is perfect for the purpose to connect arduino to fluidsynth.&lt;br /&gt;
&lt;br /&gt;
Returning to the problem..., I imagine something like plugging arduino and appearing automatically in aconnect. Maybe the solution is to hack the FTDI driver. FTDI is the chipset that converts serial to USB, and needs an FTDI driver to create a virtual COM port: /dev/ttyUSB0. The solution could be hacking the FTDI driver with the ALSA libraries driver and making it an ALSA sequencer port.&lt;br /&gt;
&lt;br /&gt;
Joan Q&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
In theory you could reprogram the FTDI chip to appear to be a&lt;br /&gt;
class-compliant MIDI device. Since a MIDI port is just a serial port&lt;br /&gt;
with a funny baud rate and a current-loop interface, it shouldn't be&lt;br /&gt;
hard - you don't care about the physical interface and the software&lt;br /&gt;
interface just throws bytes down a serial port.&lt;br /&gt;
&lt;br /&gt;
You could use ttymidi to receive data from the arduino, but not send&lt;br /&gt;
MIDI to it. Of course, you could launch ttymidi from a udev script so&lt;br /&gt;
that when you plug in the arduino it fires up and lets the port appear.&lt;br /&gt;
&lt;br /&gt;
Gordon MM0YEQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Aquí està l'aportació més interessant:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
I've done that with the V-USB lib from obdev.at:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;V-USB is a software-only implementation of a low-speed USB device for&lt;br /&gt;
Atmel�s &amp;lt;http://www.atmel.com/&amp;gt; AVR� microcontrollers, making it&lt;br /&gt;
possible to build USB hardware with almost any AVR� microcontroller, not&lt;br /&gt;
requiring any additional chip.V-USB can be licensed freely under the GNU&lt;br /&gt;
General Public License or alternatively under a commercial license.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
http://www.obdev.at/products/vusb/index.htm&lt;br /&gt;
&lt;br /&gt;
The project discussion:&lt;br /&gt;
http://forums.obdev.at/viewtopic.php?f=8&amp;amp;t=1352&lt;br /&gt;
&lt;br /&gt;
Project page, schematics and software download:&lt;br /&gt;
http://cryptomys.de/horo/V-USB-MIDI&lt;br /&gt;
&lt;br /&gt;
Ciao, Martin&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Very interesting website (note 'l' is missing from the 1st url). I wonder if&lt;br /&gt;
it would be possible to use some variant of this as a replacement for things&lt;br /&gt;
like the Midisport series of converters. Maybe use an arduino and translate the&lt;br /&gt;
serial pins as 'real' MIDI then hooked up to the USB software. Would be quite&lt;br /&gt;
convenient to not have to have a firmware downloader etc.&lt;br /&gt;
&lt;br /&gt;
-- &lt;br /&gt;
Will J Godfrey&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aquí hi ha el codi i l'esquema (simple) de com connectar un xip AVR directament al USB, i el software per tal que l'ordinador el reconegui (el driver). Llest per compilar i per estudiar.&lt;br /&gt;
*http://cryptomys.de/horo/V-USB-MIDI/&lt;br /&gt;
*http://www.obdev.at/products/vusb/index.html&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>