Secondary Menu

Wii Nunchuck Full Functionality

About: I am here to share what I make. Hopefully, you can learn from watching what I have done and even improve upon it. As an Amazon Associate I earn from qualifying purchases.
More About millerman4487 »

The Wii nunchuck is an attachment for the Nintendo Wii controller. It combines a two-axis joystick, a three-axis accelerometer, and two buttons into one package.

Tod Kurt previously created a library for the nunchuck intended for use with his product, the WiiChuck Adapter. Since this product has been discontinued at SparkFun, I will show you how to use a Wii nunchuck with Arduino without the use of an adapter.

Step 1: Plug Into the Controller

The Wii nunchuck has 6 pins, but we only need to use four of them. Plug some jumper wires directly into the corner pins of the nunchuck.

Step 2: Connect to the Arduino

The nunchuck pins are all plugged directly into pins A2 - A5 on the Arduino board. They go as follows:

Top left to A5

Top right to A2

Bottom left to A3

Bottom right to A4

Step 3: Test It With Code

To eliminate the need to download and install a new library, I have essentially unpacked Tod Kurt's library and placed it directly into the code. However, if you still want to install it to reduce clutter you can look in step 5.

After uploading this code, try pressing the Z button on the controller to make the Arduino's onboard led blink.