bmwalters / Ardwiino

An AVR program for using AVR microcontrollers as PC Xbox 360 Controllers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ardwiino

https://i.imgur.com/QeoAx7B.jpg

This project aims to provide an adapter that when used will expose a wii guitar hero controller as an xbox 360 controller, so that games such as Clone Hero can immediately use these controllers without calibration. Note that this does not take care of authentication, so your controllers will not work on a real xbox 360.

This repository contains code for both the uno, and the pro micro. It could very easily be modified to support many other AVR microcontrollers, as long as the AVR supports HID, either directly or via another AVR microcontroller (aka the uno).

How to use this repo

You will need:

  1. An AVR microcontroller with USB hid compatibility and 3.3v compatibility (pro micro recommended)
  2. A wii extension cable or breakout board
  3. A MPU6050 or similar

Flashing the software

  1. Install an AVR toolchain + make
  2. run make uno or make micro, depending on your microcontroller family
  3. For updates, hit + and - to jump to bootloader mode.

Building the hardware

  1. Find the I2C pins on your Arduino, and connect them to the extension / breakout board. Also connect ground to ground and 3.3v to 3.3v on the Arduino.
  2. Connect your MPU6050 to the same pins. Note that the interrupt pin is not used in this sketch.
  3. Use double sided tape to adhere the MPU6050 to the guitar. Note that the MPU6050 needs to be placed in a horizontal position during normal use.

pcb/ardwiino_schematic.png

Used projects:

About

An AVR program for using AVR microcontrollers as PC Xbox 360 Controllers

License:GNU General Public License v3.0


Languages

Language:C++ 50.3%Language:C 47.8%Language:Makefile 1.7%Language:Perl 0.2%