Nunchuck via Jason Barnett Multichuck

Only available in ScratchGPIO6 Alpha

The Nintendo Nunchuck is basically an I2C device and can be connected cheaply and easily to a Pi using a Multichuck.

It then adds a joystick with 2 buttons and a tilt sensor for Scratchers use in their projects.

Once plugged in, additional sensor values available are:

NunchuckDocsButtonC – On/Off

ButtonZ – On/Off

joystickx left/middle/right

joysticky up/middle/down

angle

tiltx -90 to +90

tilty -90 to +90

and

angle (-180 to 180)

Note: angle is the last angle the joystick was pushed to not its current position

 

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