Extension board · Signals
Translates fourteen digital signals between 3.3 V and 5 V in both directions.
| Function | Bidirectional level translation |
| Transistors | Seven BSS138PS pairs |
| Pull-ups | 4.7 kΩ to 3.3 V and to 5 V |
| 3.3 V side | J1, J2 host ports; J8, J9 rows |
| 5 V side | J3, J4 rows |
| Power rows | J5–J7: 5 V, 3.3 V, 3.3 V, ground, ground |
| Size | 45 × 50 mm |
1Port J1 — Seven 3.3 V signals.
2Port J2 — Seven more.
35 V row J3 — High side.
45 V row J4 — High side.
5Transistor pairs — Q1–Q7, two channels each.
6Power rows — 5 V, 3.3 V and ground.
7Transistor Q2 — Transistor Q2, marked BSS138PS in the board file. Connects to 1P5, +3V3, Shifter/3H, 1P6, Shifter/2H.
8Resistor J6 — Resistor J6. Connects to +5V, +3V3, GND.
BSS138PS in the board file. Connects to 1P5, +3V3, Shifter/3H, 1P6, Shifter/2H.+5V, +3V3, GND.
| J1 contact | Connected to |
|---|---|
| 1 | +3V3 |
| 2 | +5V |
| 3 | 1P3 |
| 4 | 1P4 |
| 5 | 1P5 |
| 6 | 1P6 |
| 7 | 1P7 |
| 8 | 1P8 |
| 9 | 1P9 |
| 10 | GND |
| J2 contact | Connected to |
|---|---|
| 1 | +3V3 |
| 2 | +5V |
| 3 | 2P3 |
| 4 | 2P4 |
| 5 | 2P5 |
| 6 | 2P6 |
| 7 | 2P7 |
| 8 | 2P8 |
| 9 | 2P9 |
| 10 | GND |
| J3 contact | Connected to |
|---|---|
| 1 | Shifter/0H |
| 2 | Shifter/1H |
| 3 | Shifter/2H |
| 4 | Shifter/3H |
| 5 | Shifter/4H |
| 6 | Shifter/5H |
| 7 | Shifter/6H |
| J4 contact | Connected to |
|---|---|
| 1 | Shifter/7H |
| 2 | Shifter/8H |
| 3 | Shifter/9H |
| 4 | Shifter/10H |
| 5 | Shifter/11H |
| 6 | Shifter/12H |
| 7 | Shifter/13H |
| J5 contact | Connected to |
|---|---|
| 1 | +5V |
| 2 | +3V3 |
| 3 | +3V3 |
| 4 | GND |
| 5 | GND |
Check the order of J3 and J4 with a meter: the channel numbering does not run in the same order as the port contacts (J1.3 reaches J3.1).
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.
Supply both 3.3 V and 5 V from the host and verify each lead.
Apply the settings under Configuration, then power up.
A mechanical contact read as an input that does not limit motion. See endstops. Syntax checked against firmware commit 2a21c0108b1d095ecd8b2b9358e94055f053c003.
[endstops]
translated_contact.enable = true
translated_contact.pin = PB1-
translated_contact.axis = X
translated_contact.homing_direction = none
translated_contact.limit_enable = false
This example reads a 5 V-side contact through channel 1 on PB1.
Each channel is the usual single-MOSFET translator: gate on 3.3 V, one pull-up per side. Either side can pull the line low; a high level comes from the resistor, so edges rise slowly on long or capacitive wires. See the BSS138PS 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 never goes high | Check that both 3.3 V and 5 V are present, and ground is shared. |
| Slow or corrupt signals | The pull-ups limit speed; shorten the wires or lower the rate. |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| original source | Design source |
| original circuit | Design source |
| schematic | Design source |
| Ccecil upstream project | Design source |
| Original LevelShifter.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 | 20.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 40.00 | 25.00 | 2.5 mm, not plated | Mounting |
| 3 | 20.00 | 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 |
|---|---|---|---|---|---|
| Pull-up resistance | Each side of each channel | — | 4.7 kΩ | — | Design file value |
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.