Extension board · Host adapters
Make a Raspberry Pi the host for small modules: five ten-contact sockets (Y, S, U, I and P) and a Qwiic port, with a protected resistor on every GPIO line.
| Purpose | Gadgeteer host ports for a Raspberry Pi |
| Header | 2×20 socket under the board |
| Protection | 100 Ω and an ESD diode on every GPIO |
| 3.3 V | From the Pi through a ferrite bead |
| 5 V | From the Pi through an LM66100 that blocks back-feeding; no current limit |
| Qwiic | J6 (or the alternative 2.54 mm header J7), same bus as J4 |
| Not connected | Pi contacts 27 and 28 (HAT ID); no EEPROM |
| Size | 65 × 56 mm, four 2.75 mm HAT holes, 58 × 49 mm pattern |
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.
| Light | Lit means | Disable it |
|---|---|---|
| LED1, green | 3.3 V present | Cut JP1 |
| LED2, green | 5 V present | Cut JP2 |
On every socket contact 1 is 3.3 V, contact 2 is 5 V and contact 10 is ground. The full socket-to-GPIO map is in the schematic below. For example, J1 contact 3 is BCM GPIO5 (header pin 29).
| Qwiic contact | Signal |
|---|---|
| 1 | GND |
| 2 | 3.3 V |
| 3 | SDA |
| 4 | SCL |
This example drives the Buzzer breakout from the Pi.
Power off; seat all 40 contacts without offset.
On the module bridge JP1 pads 1–2 (power from the socket), then cable HAT J1 to the module’s J1.
Continuity, rails and polarity.
Run the Python script below.
The buzzer sounds briefly.
| You want | Module | Example |
|---|---|---|
| Use a module from the Pi | Your Pi program; not a Smoothieboard module | Setup |
Smoothieware is not involved: the Pi is the host. With GPIO Zero, which uses BCM numbers:
from time import sleep
from gpiozero import Buzzer
with Buzzer(5, active_high=True, initial_value=False) as buzzer:
try:
buzzer.on()
sleep(0.2)
finally:
buzzer.off()
Run it with GPIOZERO_PIN_FACTORY=lgpio python3 hat_buzzer.py.
Each header signal goes through 100 Ω to its socket, with an ESD diode to ground. There is no level conversion. Older Pi firmware can briefly drive GPIO6, 14 and 16 during boot (J2.4, J3.4 and J2.5), so keep sensitive loads off those until checked.
| Symptom | Check |
|---|---|
| Nothing happens | BCM numbering, not header pin numbers; check the supply lights. |
| Pi reboots | A module draws too much current; there is no limiter. |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| Schematic (PDF) | The complete circuit diagram |
| Parts list (CSV) | Every component with its value and footprint |
| Board drawing (WebP) | The top view used on this page |
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.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 3.50 | 3.50 | 2.75 mm, not plated | Mounting |
| 2 | 61.50 | 3.50 | 2.75 mm, not plated | Mounting |
| 3 | 3.50 | 52.50 | 2.75 mm, not plated | Mounting |
| 4 | 61.50 | 52.50 | 2.75 mm, not plated | Mounting |
| – | 58.00 | 45.00 | 2.5 mm, not plated | Cable tie |
| – | 14.00 | 52.50 | 2.5 mm, not plated | Cable tie |
Values from the design.
| Parameter | Applies to | Lower | Nominal | Upper | Basis and conditions |
|---|---|---|---|---|---|
| Signals | All sockets | — | 3.3 V | — | Not 5 V tolerant |
| Series resistance | Each GPIO | — | 100 Ω | — | Parts list |
The first page of each important chip’s datasheet. Click a page to open the PDF.
See all boards on the extension boards page.