Extension board · Interface
Four MOSFET-buffered PWM outputs, two filtered switch inputs and a comparator probe input on one header.
| Function | PWM, switch and probe interface |
| Outputs | J6–J9: signal, ground, selected supply |
| Switch inputs | J3, J4 |
| Probe input | J5 |
| External output supply | J2 (cut JP2 first) |
| Size | 40 × 50 mm |
1Host header J1 — All logic signals.
2Output 1 — J7–J9 follow below.
3Output MOSFETs — One per output.
4External supply — For the outputs.
5Switch input 1 — J4 is the second.
6Probe input — Three-contact connector.
7LMV331 comparator — Conditions the probe.
8Transistor Q1 — Transistor Q1, marked 2N7002 in the board file. Connects to PWM4, GND.
2N7002 in the board file. Connects to PWM4, GND.
| J1 contact | Connected to |
|---|---|
| 1 | +3.3V |
| 2 | +5V |
| 3 | GPIO1 |
| 4 | GPIO2 |
| 5 | Comparator |
| 6 | PWM1 |
| 7 | PWM2 |
| 8 | PWM3 |
| 9 | PWM4 |
| 10 | GND |
| J2 contact | Connected to |
|---|---|
| 1 | VS |
| 2 | GND |
J6–J9: contact 1 output (PWM1–PWM4), contact 2 ground, contact 3 selected supply.
J3 and J4: contact 2 ground; contacts 1 and 3 are the switch supply and signal. J5: probe connector, same layout.
The minimum wiring first, then the order to do it in. Facts about each contact are in the pinout.
With all power off, find contact 1 on each connector and check every wire against the pinout.
Check the supply-selector jumpers and logic levels with a meter.
Apply the settings under Configuration, then power up.
A contact on switch input 1 (PB1) and a digital test of one output on PG0. See switch and endstops. Syntax checked against firmware commit 2a21c0108b1d095ecd8b2b9358e94055f053c003.
[endstops]
pwmboard_contact_diagnostic.enable = true
pwmboard_contact_diagnostic.pin = PB1-
pwmboard_contact_diagnostic.axis = X
pwmboard_contact_diagnostic.homing_direction = none
pwmboard_contact_diagnostic.limit_enable = false
[switch]
pwmboard_sink_diagnostic.enable = true
pwmboard_sink_diagnostic.input_on_command = M42
pwmboard_sink_diagnostic.input_off_command = M43
pwmboard_sink_diagnostic.subcode = 18
pwmboard_sink_diagnostic.output_pin = PG0
pwmboard_sink_diagnostic.output_type = digital
pwmboard_sink_diagnostic.startup_state = false
pwmboard_sink_diagnostic.halt_set_to = false
pwmboard_sink_diagnostic.ignore_on_halt = false
Each output is a 2N7002 that connects its output to ground when the PWM signal is high; a selectable pull-up raises it again. Without the pull-up the output is open drain. The probe input is compared by an LMV331 with a clamp network on J5. See the LMV331 datasheet.
| Symptom | Check |
|---|---|
| Nothing responds | With power off, check continuity along each lead and board path against the pinout tables. Confirm which end of the connector is contact 1. |
| Output is inverted | Expected: invert the pin in the configuration if your load needs it. |
| Output never rises | Its pull-up jumper is open or the supply is missing. |
| Probe input does nothing | Check the probe jumpers and voltage before connecting a sensor. |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| The upstream source | Design source |
| original circuit | Design source |
| Ccecil upstream project | Design source |
| Original PWMlaserBoard.kicad_sch | Design source |
| Original README.md | Design source |
Outline and holes from the original board file. Millimetres, seen from the component side.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 19.50 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 20.00 | 26.50 | 2.5 mm, not plated | Mounting |
| 3 | 19.50 | 45.00 | 3.2 mm, not plated | Mounting, M3 screw |
Only what the design source states or the circuit fixes. Blank cells are not specified.
| Parameter | Applies to | Lower | Nominal | Upper | Basis and conditions |
|---|---|---|---|---|---|
| Voltage, current and temperature limits | Whole board | — | — | — | Not specified in the source |
Designed by Chris Cecil: original design files. It was drawn for the Smoothieboard V2 Gadgeteer era; check every connection against your own controller. See all boards on the extension boards page.