Posted on

Wii Nunchuk control over i2C

I decided to do something everybody else has done, and bypass the need to fiddle with input devices.
The nunchuk provides a nice joystick, accelerometer and 2 buttons all packaged up with an i2c interface. My new PIC24 board had the i2c pins free so I hooked it up, bodged together some quick i2c code and viola!
My 3D spaceship is now under the control of the wii Nunchuk. My next step is to dump the wired nunchuk I de-plugged and to use the wireless variety cheaply available. It was quite simply to get working with the Microchip C compiler for PIC24.