Arduino Uno as JoystickArduino Uno as JoystickArduino Uno as Joystick
Arduino Forum User [ant.b] has shared his personal Arduino UNO hack with other LUFA firmwares. He tries to turn an Arduino UNO in a Joystick, uploading a new firmware on the 8u2, and summarize it in a very useful step by step guide.
As Massimo posted some time ago, Arduino Uno has some radical improvements compairing to the previous Arduino boards:
We replaced the aging FTDI chipset with a custom made usb-serial converter built with an Atmel ATmega8U2 this provides lower latency and doesn’t require to install any drivers on mac and linux (on windows all you need is a simple .inf file) more advanced users will be able to reprogram the USB chip to make the board show up as a variety of USB devices (Keyboards, Mice, Joysticks, MIDI etc)
[ant.b] splits the process in two steps. First he recompiles the ATmega8u2 just changing the line in Descriptors.c, to check whether he effectively changed anything inside the chip (but without damaging/changing anything on the board itself). Then:
This is the next step : how to make a joytick emulator with the arduino-uno.
First step
Be sure to be able to upload the initial firwmare arduino-serial: we need this firmware to upload the Atmega328.How it works
The Atmega328 sends to 8u2 a byte on serial communication that represents the state of the joystick.Point of attention
It’s important to load first the atmega328 program and then the 8u2 firmware.
Once the firmware of 8u2 is upload with joystick program, atmega328 can’t be loaded.
In order to modify atmega328 program, the original firmware of 8u2 need to be re-loaded.
Read carefully the all thread, which automagically became the first user-generated tutorial in the programming section of the Arduino Uno page.
This is the first step to turn new generation Arduinos in a long list of devices. Looking forward to more braves in our newborn “LUFA Hacks” category.
Via [Arduino Forum]
October 25th, 2010 at 05:01:03
I get ‘An Error Has Occurred! Error: You are not allowed to access this section.’
when trying to look at http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1285962838
Does anyone else get that?
October 25th, 2010 at 13:30:08
[…] quick bit of other news, the first LUFA powered alternative ATMEGA8U2 firmware for the Arduino UNO has been released – I was beaten to the punch by another developer, and I couldn’t be happier since it […]
October 25th, 2010 at 21:01:08
[…] : arduino.cc […]
October 25th, 2010 at 21:17:47
hi Gav.
I tried it out but not encountered that problem.
do you still get it?
October 26th, 2010 at 00:05:20
Hi D.gomba,
Yep, still get it. And I got two friends to try it out, they get the same result.
Cheers,
Gavin.
October 26th, 2010 at 06:39:44
Hi
you have to be registered on the forum to see the post!
October 26th, 2010 at 12:05:14
@Gavin
Hi you must have a user name and password in Arduino Forum. And be logged in to access that thread.
So register it is easy, fast and FREE.
Good luck
October 26th, 2010 at 13:21:53
I get the ‘no allowed access to this section’ error as well
November 9th, 2010 at 23:25:57
[…] The process is a bit complicated right now (you have to make modifications to the board, and have to reverse the procedure every time you want to re-program the main Arduino), its a great start. I can’t wait to see what else people will come up with! [via Arduino Blog] […]
March 7th, 2011 at 11:16:38
I cannot access the page as well, i recently created an account, but it seems to be linked with the old forum.
March 9th, 2011 at 10:57:49
mmm.
I’m going to check this.
April 1st, 2011 at 10:50:55
[…] time ago [ant.b] from the Arduino Forum manage to reflash the Atmega8u with other LUFA Firmwares. [Dimitri Diakopoulos] has recently developed a similar approach for his […]