Wireless Wii Nunchuck controlled Arduino

 by XenonJohn

Step 7: The software

My software has been modified from the general purpose wireless chuck reader software developed by others. It is based on code by Chad Phillips, Mike Dreher, Björn Giesler and more tidying work recently by Mike Dreher (see forum link below).

APRIL 2011: I have now added my version as a text file to this instructable page.

This topic has been on an Arduino forum and the problem has recently been solved.

There are two versions of the software, both of which I have managed to get working:

This Arduino forum page contains both versions of the code:
http://www.arduino.cc/cgi-bin/yabb2/Y...

I can confirm this works on the latest Arduino boards with the ATmega328 processor, using Arduino17 to compile and load it.

Also see this wireless chuck controlled R2D2 robot(!):
http://www.youtube.com/watch?v=PvAdX5...

More on my self balancing skateboards here:
http://sites.google.com/site/onewheel...

http://www.instructables.com/id/Self_balancing_one_wheeled_electric_skateboard/


Here is a video showing the wireless chuck controlling the steering of my 2 wheeled self balancing skateboard.

Clearly this hack could be used to control all sorts of robots, cars, servo operated devices, robot arms, airborne mouse  etc. and is a very cheap to do. You can use the joystick or just tilt the chuck in the direction you want your device to move.

 

Have fun................

http://www.youtube.com/watch?v=9WO714j46LI
 

 
Remove these adsRemove these ads by Signing Up
ecsaul23 says: Mar 13, 2012. 9:40 AM
I am trying to load the code on my arduino uno but there are many errors. I am super new at this and I dont know how to fix them. Some of the errors are due to changes in the wording of the code. Is there a newer version on the code that works better on the Uno?
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!