Difference between revisions of "Protocol decoder:Nunchuk"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) m |
Uwe Hermann (talk | contribs) m |
||
Line 3: | Line 3: | ||
| name = Nintendo Wii Nunchuk | | name = Nintendo Wii Nunchuk | ||
| description = Nintendo Wii Nunchuk controller | | description = Nintendo Wii Nunchuk controller | ||
| status = | | status = supported | ||
| license = GPLv2+ | | license = GPLv2+ | ||
| source_code_dir = nunchuk | | source_code_dir = nunchuk |
Revision as of 15:54, 3 August 2014
Name | Nintendo Wii Nunchuk |
---|---|
Description | Nintendo Wii Nunchuk controller |
Status | supported |
License | GPLv2+ |
Source code | decoders/nunchuk |
Input | i2c |
Output | nunchuk |
Probes | — |
Optional probes | — |
The nunchuk protocol decoder supports the Nintendo Wii Nunchuk protocol.
Hardware
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 I²C master to talk to the Nunchuk controller.
Probe setup:
Probe | I²C pin |
---|---|
3 (red) | SCL |
7 (blue) | SDA |
Photos:
Protocol
The protocol is layered on top of I²C. See wiibrew.org for a detailed description of the commands and registers.