Read Wii Nunchuck Data with an Arduino

Categories: PC Connect, Video, Wiimote Hack.

If you are interested in reading the raw Nunchuck data for a project, the code provided here can help you do that using an Arduino microcontroller.

“With a little hacking, data can be read from a wii nunchuck directly into an Arduino, using TWI (aka I2C). The nunchuck contains a 3 axis accelerometer, joystick and buttons for only $19.95. The same accelerometer in kit form, cost $34.95 at Sparkfun. Plus the nunchuck is already wired up in a nice clean case! So the wii nunchuck should fit nicely into anyones robotic project.”

Link Via Via

“The nunchuck uses a proprietary connector. I just cut the end off of my nunchuck cable. The cable has 4 wires.
white - ground
red - 3.3+v
green - data
yellow - clock

Attach white to the Arduino’s ground, red to 5 volt+, green to analog pin 4, yellow to analog pin 5. The nunchuck is only supposed to get 3.3+ volts. So far it has worked fine at 5 volts, but be warned. I am guessing that using the higher voltage will shorten the nunchucks lifespan.”


These icons link to social bookmarking sites where readers can share and discover new web pages.
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Fark
  • Spurl
  • BlinkList
  • LinkaGoGo
  • Simpy
  • co.mments
  • scuttle

1 comment.

pokono

Comment on May 22nd, 2008.

Hi… I’m very interesting to use classic gamepad wii for a pc controller… You have any idea if it’s possible??

Please send me a mail
Thanks (sorry for my english, i’m italian!!)

Leave a comment

Comments can contain some xhtml. Names and emails are required (emails aren't displayed), url's are optional.