Sunday, December 6, 2009

AVR USB Game Controller

Electronic Project Circuit - AVR USB Game ControllerIf you want build your own (DIY) game controller it thing you can try this electronic project. This project uses an ATmega8 microcontroller from Atmel. The firmware implements a standard USB joystick with 4 directional buttons and 8 general purpose buttons. Some application from this project are :
  • Home-made Arcade style controller and small arcade cabinets
  • Simple controller (1 wire per button) to USB. Eg: Neo-Geo, Atari...
  • Using appropriate software on the PC side, the inputs can be used for other purposes. Eg: Switches, limit-switches, alarms... A cleaner solution than modifying an existing game controller
No drivers required!

That's right, since the USB standard defines device classes. By using the human input device (HID) it will tell the computer that the connected USB device is a joystick and has 2 axis and 4 or 8 buttons. Another nice thing about this is that the adapter should work with all operating systems supporting HID devices.

Download : Schematic, Wiring Connection

tags : Microcontroller AVR project, USB Game Controller (src)