Difference between revisions of "Protocol decoder:Nunchuk"

From sigrok
Jump to navigation Jump to search
m
Line 55: Line 55:
File:Wii nunchuk probe setup.jpg|<small>Probe setup</small>
File:Wii nunchuk probe setup.jpg|<small>Probe setup</small>
File:Wii nunchuk probing.jpg|<small>Probing</small>
File:Wii nunchuk probing.jpg|<small>Probing</small>
File:PulseView Nunchuk.png|<small>PulseView decoding Nunchuk and I2C</small>
</gallery>
</gallery>



Revision as of 06:49, 5 January 2014

nunchuk
Wii nunchuk device.jpg
Name Nintendo Wii Nunchuk
Description Nintendo Wii Nunchuk controller
Status supported
License GPLv2+
Source code decoders/nunchuk
Input i2c
Output nunchuk
Probes
Optional probes
Options

The nunchuk protocol decoder supports the Nintendo Wii Nunchuk protocol.

Hardware

TODO.

Wii Nunchuk via Buspirate v4

The i2c/wii_nunchuk directory in sigrok-dumps contains a set of example captures of I2C traffic from/to a Nintendo Wii Nunchuk game controller.

The logic analyzer used was a Saleae Logic (at 1MHz). It is probing the Wii Nunchuk that is connected to a Dangerous Prototypes Buspirate (v4) that is used as I2C master to talk to the Nunchuk controller.

Probe setup:

Probe I2C pin
3 (red) SCL
7 (blue) SDA

Photos:

Protocol

TODO: Detailed protocol description.

Resources

TODO.