Wireless Nunchuck Controlling Pan/Tilt Servos

This is a little test I did when I got my wireless nunchuck working with an Arduino. This was in the fall of 2010. I hooked the nunchuck up to a couple servos and used it to pan and tilt a webcam. In this demo, the default mode uses the joystick to control movement, and if you tap the C button it changes to use the accelerometers. The Z button locks the servos in place. I thought it was pretty cool.

Posted on by Bjorn in Tech

2 Responses to Wireless Nunchuck Controlling Pan/Tilt Servos

  1. Willie

    I need the code to your design, if you can please help me out …. I’m a student at UWF and I really need this for My final

  2. Bjorn

    Sure. The nunchuck code was based on some code I found online, but it wasn’t neatly packaged, so I put it in a library. Here’s a zip file of the code – http://bit.ly/ArduinoNunchuck

Add a Comment