Using WiiChuck Adapter with Arduino

 by crocboy
The Nunchuk is a very versatile tool.  Contained in it are a 3-axis accelerometer, a two-axis joystick, and two pushbuttons for around $20.  And you can even buy a wireless nunchuck to use as a controller!  But many don't want to cut off their nunchuck connector.  So here is an alternative.
     In this Instructable I am going to show you how to connect the Nunchuk to the Arduino via the WiiChuck adapter.  There are a couple of steps to this, first, we will hook it up, then we'll download the library and then download the code.

MATERIALS:

1 WiiChuck Adapter

4 Jumper Wires

1 Arduino Board (with USB Cable)

1 Nunchuck
 
Remove these adsRemove these ads by Signing Up

Step 1: Plugging in the WiiChuck

First, open up the WiiChuck and solder 4 wires into the board.  If you look closely you will see that the board is labeled, so follow these instructions:

GND to GND (obviuosly
+ to +5V
C to Analog Input pin 5
D to Analog Input pin 4

Then plug in the board with the labels facing the groove on the nunckuck, as shown in the picture.
I soldered the wires going away from the labels, so just make it so the wires are point in the same direction as  the groove.
sanosuke_kursch says: May 1, 2011. 11:16 PM
Now the link is there ;)
BTW, the nunchuck works with 3.3V signals, and the arduino with 5V signals, what do you to convert the levels?
maixy in reply to sanosuke_kurschMar 9, 2012. 1:10 AM
maybe you can use the IC MAX232
sanosuke_kursch in reply to maixyMar 9, 2012. 7:59 AM
I don't think the MAx232 would work with that, this chip is intended for RS232 signals, i2c uses a bidirectional bus on the same wire if I'm not mistaken.
maixy in reply to sanosuke_kurschMar 9, 2012. 8:55 AM
is not the max232 fit to rs232 signals?
i used it to carry message from MCU to my laptop.
sanosuke_kursch in reply to maixyMar 9, 2012. 9:07 AM
It's intended for that use, but it won't work to convert the level of the i2c signals.
crocboy (author) in reply to sanosuke_kurschMay 9, 2011. 5:07 PM
Ha I didn't know that! I believe that the nunchuk uses I2C and whether its good for your arduino or not, this thing works for me. The adapter that I used has been used by many and works so I guess I cant really answer your question. Sorry!
maixy in reply to crocboyMar 9, 2012. 1:22 AM
excuse me
does the nunchuck can work with stc89c52?
because in our county ,few of people use arduino
sanosuke_kursch in reply to maixyMar 9, 2012. 8:01 AM
If this chip has a i2c bus, I think so.
Otherwise I guess you'll have to write some code to make it work, but don't ask me how, I have no idea how to do that =B
knexpert1700 says: Mar 8, 2012. 6:03 PM
im new to this stuff but love doin it so how do you attach motors and sensors and stuff????????????????
sanosuke_kursch says: Apr 29, 2011. 11:46 PM
You say "Go here, scroll down to software", but where is this "here" you mention?
crocboy (author) in reply to sanosuke_kurschApr 30, 2011. 9:09 AM
Sorry about that. The hyperlink didnt work. It should be fixed now.
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!