Extension board · Host adapters

Arduino expansion shield

Turn an Arduino Due into a host for small modules: six ten-contact sockets (Y, A, P, S, U and I) and a Qwiic port, with current-limited rails and signals that stay disconnected until the board is armed.

Top view of the Arduino expansion shield.
Top view, drawn from the board’s design files. This is a drawing, not a photograph.
6 socketsY A P S U I
3.3 Vsignals
80 mAper rail
Armedby jumper JP1
Qwiicshares the I socket
Dueonly
For the Arduino Due only: 3.3 V signals. The sockets are outputs of the Due, so never cable one to another powered controller. Keep each exported supply within 80 mA.

Tech specs

PurposeGadgeteer host ports for an Arduino Due
SocketsJ1 Y (D22 to D28), J2 A (A0 to A2), J3 P (PWM D6 to D8), J4 S (SPI, chip select D10), J5 U (Serial1), J6 I (SDA20, SCL21)
QwiicJ7: ground, 3.3 V, SDA, SCL, same bus as J6
Signal switchesTMUX1511, enabled only when armed and the rails are good
Supply rails3.3 V and 5 V, auto-retry limiters (125 mA trip); use up to 80 mA each
ArmingJP1; remove it to disconnect
LightRed: fault or isolated
LicenceOpen hardware, CERN-OHL-S-2.0

Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.

Board tour

The numbers on the drawing match the list below it.

  1. 1
    Y socket (J1) — general inputs and outputs.
  2. 2
    A socket (J2) — analog.
  3. 3
    P socket (J3) — PWM.
  4. 4
    S socket (J4) — SPI.
  5. 5
    U socket (J5) — serial.
  6. 6
    I socket (J6) — I²C.
  7. 7
    Qwiic port (J7) — the I bus again.
  8. 8
    Arm jumper (JP1) — connects signals when fitted.
  9. 9
    Fault light (D89) — red.
  10. 10
    Signal switches — TMUX1511 parts isolate the sockets.
Point at a number, or tap it, to read what the part is; the same text is in the list. On a small screen, scroll the drawing sideways.

Lights

LightLit meansDisable it
D89, redFault, or signals isolatedCut JP83 (back)

Pinout

Sockets

Contact 1 is the limited 3.3 V, contact 2 the limited 5 V and contact 10 ground on J1 to J6.

SocketContacts to Due pins
J1 Y3 to 9: D22 to D28
J2 A3 to 5: A0 to A2; 6: D29
J3 P3 and 6: D30, D31; 7 to 9: D6 to D8
J4 S3 to 5: D32 to D34; 6: D10; 7: MOSI; 8: MISO; 9: SCK
J5 U3: D35; 4: D18; 5: D19; 6: D36
J6 I3: D37; 6: D38; 8: D20 (SDA); 9: D21 (SCL)
J7 Qwiic1 ground, 2 3.3 V, 3 SDA, 4 SCL

What you need

Arduino DueNo other Arduino model.
This shieldFitted with the power off.
Low-current modules3.3 V signals.

Get started

Start with the shield disarmed.

Wiring: J7 contact 1 to ground; J7 contact 2 to 3.3 V; J7 contact 3 to SDA; J7 contact 4 to SCL.J7J7 on this boardQwiic module 1ground1: ground 23.3 V2: 3.3 V 3SDA3: SDA 4SCL4: SCL
Fit the shield with power off. Sockets connect only once the shield is armed with JP1. Equipment is drawn as a typical unit, not a specific model.
  1. Fit the shield

    With power off, check the header positions, including the central SPI connector.

  2. Remove JP1

    Signals stay isolated.

  3. Load a sketch

    Set safe pin modes first.

  4. Connect one module

    Check its supply current and that it has no other power source.

  5. Arm

    Fit JP1.

    The red light goes out and the sockets are connected.

Configuration

You wantModuleExample
Use the socketsYour Arduino Due sketch; not a Smoothieboard moduleSetup

Setup

Smoothieware does not run on the Arduino Due, so there is no Smoothieware configuration. The Due sketch sets up each pin and protocol.

How it works

Supervisors watch the arming jumper and both limited rails. Only when all are good are the TMUX1511 switches enabled, connecting Due pins to the sockets.

Due pins, from the Arduino board then TMUX1511 switches, open until armed and rails good then Sockets, one module at a time. JP1 and both rails, watched by supervisors then Enable, switches close only when all are good.Due pinsfrom the Arduino boardTMUX1511 switchesopen until armed and rails goodSocketsone module at a timeJP1 and both railswatched by supervisorsEnableswitches close only when all are good
How the signals pass through this board, one path per row.

Troubleshooting

SymptomCheck
Red light stays onFit JP1, remove the module and check for a short or an overload on a rail.
I²C conflictsJ6 and J7 are one bus: check addresses and pull-ups.

Still stuck? Read how to ask for help or see the general troubleshooting guide.

Downloads

FileWhat 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

Appendix: mounting dimensions

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.

Mounting drawing of the ag, component side: outline 101.6 by 53.34 millimetres with 6 mounting holes and 2 cable-tie holes. Hole positions are listed in the table below. COMPONENT SIDE · millimetres 101.6 53.34 0, 0 X Y 1 15.24, 2.54 2 90.17, 2.54 3 66.04, 17.78 4 66.04, 45.72 5 13.97, 50.80 6 96.52, 50.80 cable tie Numbered rings are mounting holes. Positions are hole centres, X then Y, from the marked corner.
Board outline 101.6 × 53.34 mm, square corners, board thickness 1.6 mm. Drawn from the design files, component side up, in the same orientation as the board tour.
HoleX (mm)Y (mm)DiameterUse
115.242.543.2 mm, not platedMounting, M3 screw
290.172.543.2 mm, not platedMounting, M3 screw
366.0417.783.2 mm, not platedMounting, M3 screw
466.0445.723.2 mm, not platedMounting, M3 screw
513.9750.803.2 mm, not platedMounting, M3 screw
696.5250.803.2 mm, not platedMounting, M3 screw
–3.003.002.5 mm, not platedCable tie
–8.003.002.5 mm, not platedCable tie

Appendix: electrical specifications

Values from the silk screen and parts list.

ParameterApplies toLowerNominalUpperBasis and conditions
Rail currentEach rail——80 mAShared by all sockets
Signal levelAll signals—3.3 V—Board silk

Appendix: datasheets

The first page of each important chip’s datasheet. Click a page to open the PDF.

First page of the TMUX1511 datasheet
TMUX1511 four-channel signal switch with powered-off protection — Texas Instruments, 45 pages.
First page of the TPS259631 datasheet
TPS2596 family eFuse — Texas Instruments, 47 pages.
First page of the TPS3808 datasheet
TPS3808 low-quiescent-current supervisor — Texas Instruments, 39 pages.

See all boards on the extension boards page.

This is a wiki! If you'd like to improve this page, you can edit it on GitHub.