Extension board · Power output
Switch a fan, solenoid, pump or light from a 3.3 V controller output. Use a three-pin header or a Gadgeteer type-Y socket. An optocoupler separates the selected command from the load circuit.
Prototype design · revision v29 · untested on hardware
All three boards switch one DC load. The voltages and currents are design targets; none of the boards has been tested on hardware.
| Small MOSFET basic | Small MOSFET advanced | Large MOSFET | |
|---|---|---|---|
| Specifications | |||
| Load supply | 12 V DC nominal | 5 to 24 V DC | 5 to 24 V DC |
| Load current, design target | 1 A | 4 A | 12.5 A |
| Load connector | Screw terminal | Screw terminal | XT30 |
| Control connector | Three-pin header and Gadgeteer IN / CHAIN | Three-pin header and Gadgeteer IN / CHAIN | Three-pin header and Gadgeteer IN / CHAIN |
| Features | |||
| Works from a 3.3 V control signal | |||
| Optically isolated control | |||
| Output stays off with the control cable unplugged | |||
| Diode for inductive loads (fans, solenoids) | |||
| Boards per Gadgeteer port | Up to seven | Up to seven | Up to seven |
| Can feed a small load from the controller | |||
| Reversed-supply protection | |||
| Electronic current limit | |||
| Switches off when the supply voltage is out of range | |||
| Soft start | |||
| Light for output on | |||
| Lights for faults | |||
| M3 mounting holes | |||
| Cable-tie holes | |||
| Parameter | Revision v29 |
|---|---|
| Output | One low-side DC switch with flyback diode |
| Load supply | 5–24 V DC, external only |
| Load current | 4 A design target, untested |
| Control | Active-high 3.3 V from the selected three-pin or Gadgeteer input |
| Isolation | Optical signal path with separate controller and field returns |
| Connectors | Keyed three-pin header, two Gadgeteer type-Y ports and two screw terminals |
| Size | 60 × 87 mm, four 3.2 mm mounting holes |
See mounting dimensions and electrical specifications.
Along the top edge, CTRL IN (J1) is the white three-pin connector. Y IN (J4) and Y CHAIN (J5) are the black keyed connectors. INPUT SELECT (SJ14) selects the local command. The six smaller links between the Gadgeteer connectors pass the remaining six commands. Field supply enters at J2 on the left and the load plugs into J3 on the right.
| J1 contact | Function |
|---|---|
| 1 | Controller ground |
| 2 | Unconnected |
| 3 | Active-high 3.3 V command |
| Field connector | Pin 1 | Pin 2 |
|---|---|---|
| J2, supply in | Supply positive | Field ground |
| J3, load out | Load positive | Switched load return |
| Y IN pin | Function | Y CHAIN pin |
|---|---|---|
| 1 | Controller 3.3 V pass-through | 1 |
| 2 | Controller 5 V pass-through | 2 |
| 3 | Local board command | — |
| 4 | First forwarded command | 3 |
| 5 | Second forwarded command | 4 |
| 6 | Third forwarded command | 5 |
| 7 | Fourth forwarded command | 6 |
| 8 | Fifth forwarded command | 7 |
| 9 | Sixth forwarded command | 8 |
| 10 | Controller ground | 10 |
CHAIN pin 9 is unconnected. The passed-through rails and ground belong to the controller.
Example for the Smoothieware V2 Switch module. Replace PB1 with the controller pin that actually reaches the board’s selected input. In a chain, configure a different output pin for each board.
[switch]
mosfet.enable = true
mosfet.output_pin = PB1
mosfet.output_type = digital
mosfet.input_on_command = M64
mosfet.input_off_command = M65
mosfet.startup_state = false
mosfet.halt_set_to = false
Send M64 to turn on the test load and M65 to turn it off.
Route both load wires to J3. The board switches the negative load return. The positive contact can remain energized while the command is low. Disconnect the field supply before moving wiring.
The optocoupler passes the selected command across the isolation barrier. The protected field supply powers the gate driver. The gate is held low when the command is absent or the bias supply is below its startup threshold. The field circuit also provides reverse-polarity and overcurrent protection and a path for inductive current at turn-off.
| Input | SJ14 |
|---|---|
| Y IN | Factory bridge between pads 1 and 2 |
| Three-pin CTRL IN | Cut the 1–2 bridge, verify it is open, then bridge pads 2 and 3 |
Power down both sides before changing the selector. Bridge only one pair.
Connect Y CHAIN on one board to Y IN on the next. With Gadgeteer selected on each board, the local channel always uses Y IN pin 3. The six factory-closed links SJ8–SJ13 pass Y IN pins 4–9 to Y CHAIN pins 3–8 in order. Cutting a link interrupts that command downstream. Use one host per chain. Adding or removing a board changes the downstream channel assignments.
| What you see | What to check |
|---|---|
| Load stays off | Check field supply polarity and voltage, controller pin mapping and SJ14. A logic command alone supplies no gate or load power. |
| Wrong load switches in a chain | Check ribbon direction, board order and the closed links. Each board shifts the remaining commands by one pin. |
| Protection interrupts the load | Power down and check for a short, reversed supply or too much load current. |
The board is 60 × 87 mm. Four 3.2 mm holes form a 40 × 40 mm pattern. Hole centres from the top-left of the board are (5, 42), (45, 42), (5, 82) and (45, 82) mm.
| Parameter | Value | Basis |
|---|---|---|
| Field supply | 5–24 V DC | Design range |
| Continuous load | 4 A | Design target, untested |
| Logic command | 3.3 V nominal | Design target for both interfaces |
| Minimum loaded high | 2.72 V at the selected input | Design threshold, untested |
| Maximum logic low | 0.4 V | Design threshold, untested |
| Isolation voltage rating | Open | Hardware qualification pending. Use with low-voltage DC. |