Introduction: Simple Wii Nunchuk + Arduino + Laser Ponter Turret

I wanted to build this project for a few weeks but I could never find usable code, wiring diagrams and instructions in one place.. So after some minor tweaks to all of the above, here is the finished result. (yes it took me this long to actually post it on Instructables.. sorry. :)

I set off on this project with Instructables in mind and had photos and text ready to explain each step in the process; however, I realized that a video may be just as effective.

I hope you find this Instructable useful.

Note: I didn't write this code (attached), if you know who did please let me know so I can give them credit.

Comments

author
kroner made it! (author)2015-06-19

Great instructable. It is very informative while being super simple too, as you have not used a WIIChuck adapter in your build, which makes this more accessible to more people who already have all the bits (like me -yay ).

In the video you note that the laser is on by default unless you press the z button. I know that you didn't write the code but since the laserPin is defined as pin12, could you not also then define that output on pin 12 is LOW to begin with in the setup and then change the code so that when the z button is pressed it writes HIGH to pin 12 (instead of LOW) thereby turning the laser ON instead of OFF?

author
gaberham made it! (author)gaberham2015-06-22

Thanks and yes, I think writing pin 12 to high should work, great point!