Raspberry Pi project – interfacing Wii-Nunchuk with RPi


Image

Wii Nunchuck  is Wii remote controller with 3-axis accelerometer, joystick and two button combo. Those who have watched old Bruce Lee movies know how dangerous such Nunchaku could be in some hands :D http://www.youtube.com/watch?v=bRyDcB7qQFo

Olimex offers Wii-Nunchuck with UEXT adapter board for EUR 6.95 https://www.olimex.com/Products/Modules/Sensors/MOD-WII/MOD-Wii-UEXT-NUNCHUCK/

and now with RPI-UEXT https://www.olimex.com/Products/Modules/Adapters/RPi-UEXT/ you can connect Wii remote to your Raspberry pi

The Python code is on GitHub https://github.com/OLIMEX/raspberrypi when you start it you will see on the console:

Image

the joystick coordinates, accelerometer XYZ values and two button status

5 Comments (+add yours?)

  1. jrt
    Jan 22, 2013 @ 17:36:30

    Very nice, but what’s the purpose?

    Reply

  2. Trackback: ต่อกับ Wii Nunchuk | Raspberry Pi Thailand
  3. jpb
    Dec 01, 2013 @ 19:56:21

    Nice demo.
    Just a note for REV2 rasberry hardware.
    change lines 11 and 22 of the Python code from:
    bus = smbus.SMBus(0)
    to
    bus = smbus.SMBus(1)
    The new board uses the second I2C bus to the expansion header.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 514 other followers

%d bloggers like this: