NES Controller as USB Game Controller
From BUILDS
| Revision as of 19:31, 23 April 2012 Cwoodall (Talk | contribs) (→References) ← Previous diff |
Revision as of 19:31, 23 April 2012 Cwoodall (Talk | contribs) (→Making Your Arduino an HID device with LUFA) Next diff → |
||
| Line 33: | Line 33: | ||
| === References === | === References === | ||
| - | * [http://www.usb.org/developers/devclass_docs/Hut1_11.pdf USB HID Usage Table] | ||
| * [http://hunt.net.nz/users/darran/ A Bunch of useful information for HID Arduino Hacks] | * [http://hunt.net.nz/users/darran/ A Bunch of useful information for HID Arduino Hacks] | ||
| * [http://arduino.cc/forum/index.php/topic,52447.msg374201.html#msg374201 Putting arduino in DFU mode] | * [http://arduino.cc/forum/index.php/topic,52447.msg374201.html#msg374201 Putting arduino in DFU mode] | ||
Revision as of 19:31, 23 April 2012
Contents |
Overview
Chris Woodall wanted to play video games with an NES controller (the motivating games being Cave Story and Jamestown, the former was successfully beat with the controller). To do this he decided to use an Arduino UNO (definitely overkill). The best method for doing this is to announce your microcontroller as an HID Keyboard so that it can write to the keyboard buffer like any other USB peripheral keyboard. This adds the convenience of portability and flexibility; however, it requires flashing the ATMega8u2 on the Arduino UNO, which normally only handles serial communication via USB with a firmware that handles HID communication via USB. To do this you need to do some sketchy (explained below), but there is little risk of bricking your Arduino because you should always be able to flash the original atmega8u2 firmware.
Electronics
Parts List
- An Arduino Uno
- A NES Controller from Amazon
- Lots of wires (solid core preferably)
Future Upgrade for SNES Controller version
Schematic
NES Version
SNES Version
Coming Soon...
