Difference between revisions of "Protocol decoder:Nunchuk"

From sigrok
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<div style="float:right">
{{Infobox protocol decoder
{{Infobox protocol decoder
| id              = nunchuk
| id              = nunchuk
Line 15: Line 14:
| annotations    = Text (verbose), Text, Warnings
| annotations    = Text (verbose), Text, Warnings
}}
}}
</div>


The '''nunchuk''' protocol decoder supports the [http://store.nintendo.com/webapp/wcs/stores/servlet/ProductDisplay?currency=USD&storeId=10001&productId=160714&categoryId=null&langId=-1&catalogId=10001&ddkey=http:SetCurrencyPreference Nintendo Wii Nunchuk] protocol.
The '''nunchuk''' protocol decoder supports the [http://store.nintendo.com/webapp/wcs/stores/servlet/ProductDisplay?currency=USD&storeId=10001&productId=160714&categoryId=null&langId=-1&catalogId=10001&ddkey=http:SetCurrencyPreference Nintendo Wii Nunchuk] protocol.
Line 49: Line 47:


<gallery>
<gallery>
File:Wii nunchuk device.jpg
File:Wii nunchuk device.jpg|<small>Device</small>
File:Wii nunchuk connector.jpg
File:Wii nunchuk connector.jpg|<small>Connector</small>
File:Wii nunchuk adapter top.jpg
File:Wii nunchuk adapter top.jpg|<small>Adapter, top</small>
File:Wii nunchuk adapter bottom.jpg
File:Wii nunchuk adapter bottom.jpg|<small>Adapter, bottom</small>
File:Wii nunchuk another adapter top.jpg
File:Wii nunchuk another adapter top.jpg|<small>Another adapter, top</small>
File:Wii nunchuk another adapter bottom.jpg
File:Wii nunchuk another adapter bottom.jpg|<small>Another adapter, bottom</small>
File:Wii nunchuk probe setup.jpg
File:Wii nunchuk probe setup.jpg|<small>Probe setup</small>
File:Wii nunchuk probing.jpg
File:Wii nunchuk probing.jpg|<small>Probing</small>
</gallery>
</gallery>



Revision as of 01:04, 26 November 2012

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.