Extension board · Controls and displays
A small adapter whose board edge takes the plug of a Wii Nunchuk, putting its thumb stick, two buttons and accelerometer on an I2C bus. Reading it needs your own driver.
| Purpose | A cabled hand controller as a jog stick with buttons |
| Controller | Wii Nunchuk or compatible; bought separately. Address 0x52 is the widely documented value; third-party controllers differ |
| Interface | I2C with removable 3.3 kΩ pull-ups |
| Controller plug | The shaped board edge (J4); no purchased connector. Gold (ENIG) contact finish recommended |
| Supply | 3.3 V from the socket; allow 10 mA for the controller |
| Connectors | Two Gadgeteer type I sockets (Samtec SHF-105, 1.27 mm) and one Qwiic |
| Size | 40 × 50 mm, four M3 holes on a 30 × 40 mm pattern |
| Works with | Smoothieboard V2 Prime header GG electrically; no firmware driver |
| Licence | Open hardware, CERN-OHL-S-2.0; the tongue contact geometry derives from Adafruit’s adapter, published under CC BY-SA 3.0 |
Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.
The numbers on the drawing match the list below it. The board is shown from the component side.
1Controller tongue (J4) — The controller plug pushes onto this edge.
2Input socket I IN (J1) — SDA on contact 8, SCL on 9.
3Chain socket CHAIN (J2) — Continues the bus.
4Qwiic connector (J3) — The same bus on a four-way cable.
5Bus pull-ups (R1, R2) — 3.3 kΩ.
6Pull-up links (JP1, JP2) — Closed as delivered.
7Chain links (JP8, JP9) — Closed as delivered.
8Supply link (FB1) — A 0 Ω part in the controller supply, useful for measuring current.
9Supply capacitors (C1, C2) — Next to the controller feed.
10Mounting hole — One of four M3 holes.
Check contact numbering with the power removed before wiring by hand.
| Contact | Signal | Use | Prime header GG |
|---|---|---|---|
| 1 | 3.3 V | Board and controller supply | 3.3 V |
| 2 | 5 V | Passed to the chain only | 5 V |
| 3 to 7 | Passed through | Not used | PH2, PH4, PC0, PF15, PH3 |
| 8 | SDA | I2C data | PF0 (I2C2_SDA) |
| 9 | SCL | I2C clock | PF1 (I2C2_SCL) |
| 10 | GND | Ground | GND |
| Contact | Signal |
|---|---|
| 1 | Ground |
| 2 | Controller detect, not used |
| 3 | SCL |
| 4 | 3.3 V |
| 5 | SDA |
Leave the tongue accessible and relieve the controller cable.
Use J1 or Qwiic.
Push it on squarely, in the same orientation as on the Adafruit adapter. Do not force it.
Your driver initialises the controller and reads six bytes at address 0x52.
Moving the stick should change the first two bytes.
| You want | Module | Example |
|---|---|---|
| Read the controller | None | No SmoothieV2 driver for it |
There is nothing to add to config.ini.
The controller already contains the converter and accelerometer and answers as an I2C device. The adapter provides power, ground, the two bus lines and pull-up resistors. Because the controller address is fixed, only one controller can sit on a bus.
Open JP1 and JP2 when another board on the bus already provides pull-ups.
| Link | What it does | As delivered |
|---|---|---|
| JP1 | Connects the SDA pull-up | Closed |
| JP2 | Connects the SCL pull-up | Closed |
| JP8 | Continues SDA | Closed |
| JP9 | Continues SCL | Closed |
Other I2C devices with different addresses can follow.
| Contact | Signal | On CHAIN |
|---|---|---|
| 1, 2, 10 | Power and ground | Passed on |
| 3 to 7 | Free | Passed on |
| 8, 9 | I2C | Passed on through closed links |
| Symptom | Likely cause | What to check |
|---|---|---|
| No answer on the bus | Controller not seated or reversed | Reseat it; test points |
| Reads all 0xFF | Controller not initialised | Send its initialisation first |
| Intermittent data | Plug loose or long cable | Seat the plug; lower the bus clock |
| Second controller conflicts | Same fixed address | Use a separate bus |
The board has no indicator lights; use the test points.
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| Schematic (PDF) | The circuit diagram |
| Parts list (CSV) | Every component with its value, footprint and part number where one is chosen |
| Board drawing (PNG) | The top view used on this page |
| 3D view, top (PNG) | Rendered from the design files; the controller is not shown |
| 3D view, angled (PNG) | Rendered from the design files; the controller is not shown |
For drilling a mounting plate or designing an enclosure. Positions are hole centres, in millimetres, measured from the top-left corner with the board seen from the component side. Keep the tongue end clear of the enclosure so the plug can seat.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 5.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 35.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 3 | 5.00 | 45.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 35.00 | 45.00 | 3.2 mm, not plated | Mounting, M3 screw |
Every figure is a design value, a calculated or simulated value, or a manufacturer’s data sheet value, as the last column says. A dash means no figure is given.
| Parameter | Applies to | Lower | Nominal | Upper | Basis |
|---|---|---|---|---|---|
| Supply | J1 contact 1 | — | 3.3 V | — | Design |
| Controller current allowance | 3.3 V | — | — | 10 mA | Design assumption |
| Pull-up current, both lines low | 3.3 V | — | 2.0 mA | — | Calculated |
| Bus rise time at 250 pF | SDA, SCL | — | 0.70 µs | 1 µs | Simulated |
| Part | Limit | Use on this board |
|---|---|---|
| Any signal | 3.3 V | No ESD protection on the contacts |
| Contacts | Board edge | Wear with repeated plugging |
The I2C bus rise time with a long controller cable was simulated with ngspice.
| Result | Simulated value | Limit | Outcome |
|---|---|---|---|
| I2C rise time 30 to 70 % at an assumed 250 pF | 699 ns | at most 1 µs | Within |
Not simulated: the controller, plug fit and electrostatic discharge.
No data sheet is linked: the controller has no published one, and the adapter uses only resistors and capacitors.
See all boards on the extension boards page.