Make: Projects
Air Guitar Hero
Drop the controller and shred songs using the electrical signals from your arm muscles.
By Robert Armiger and Carol Reiley
We created Air Guitar Hero as a fun rehabilitation exercise for people with amputations. Here we’ll show you how to make an inexpensive version so anyone can play Guitar Hero without pushing buttons. It uses an electrode cuff, a modified Wii guitar controller, and open source code.
Wii-Hab Lab: How the Air Guitar Hero system works. When a muscle contracts or flexes, it produces electrical activity. While faint (in the millivolt range), these signals can be detected by placing electrode sensors on the skin. The technology to measure, evaluate, and process muscular electricity is called electromyography (EMG).
Air Guitar Hero uses EMG to send signals to the Wii console to control the game. But since the electrical signal generated by twiddling your fingers is very weak, additional computation must be performed to generate reliably accurate commands. The system uses pattern recognition algorithms to identify patterns in the EMG signals and decide which colored button to activate.
The algorithms require training data to provide examples of what signal characteristics to look for. First, you must correctly play on-screen notes with the guitar while the electrodes record your EMG signals.
Next, the recorded data is used to train a model for recognition the next time you make those movement patterns.
Third, practice makes perfect! Playing this type of video game can be useful for building muscle tone and dexterity.
Steps
Step #1: Modify the guitar controller.
Next



- Our system needs to send computer-generated commands to the game console. We do this by sending digital output commands from the USB-1208FS data acquisition board. Our quick-and-dirty approach is to modify the guitar controller and override the manual buttons you’d normally press.
- Make sure your Wii Remote is disconnected from the guitar controller. Unlock and remove the guitar neck and the front faceplate. Remove the four #0 screws on the front of the guitar and the eight T-10 Torx screws on the back of the guitar to open the controller. (Don’t forget the gratifying removal of the “Void Warranty” sticker to get to the last Torx screw).
- Using a Dremel tool, bore out a small D-shaped hole to fit the DB9 solder pot connector. Score along the outline of the connector, incrementally removing material and checking fit with the connector. Be sure to leave enough material on the sides of the connector for the mounting screws.
- Once the connector fits, score the center location of the mounting screws, drill tiny pilot holes, and insert 2 small screws (or use 2 of the 8 Torx screws you removed), ensuring that everything fits.
- Remove the solder pot connector for wiring. Add seven 12" leads to solder pot pins 1–7 (one ground, plus 5 note buttons, plus the Strum button). Connect pins 1–6 to the 6 through-hole pads at the base of the guitar neck, from right to left if the push pins are on the bottom. Connect pin 7 to one of the Strum switch contacts; either Up or Down will suffice. Ensure all wires are secure and close up the guitar.
- Check your work! Use a multimeter to perform a continuity check between pin 1 (Ground) and each of pins 2–7 (Green, Red, Yellow, Blue, and Orange buttons, and Strum Up/Down). There should be no connection until each corresponding button is pressed.
Conclusion
We’d like to thank Jonathan Kuniholm, founder of http://openprosthetics.org and Duke University doctoral candidate, and Jacob Vogelstein of the Johns Hopkins University Applied Physics Laboratory for their help creating and testing the first Air Guitar Hero system back in 2007.
This project first appeared in MAKE Volume 29, pages 44-51.



































