Extension board · Serial
Converts host UART and handshake signals to RS-232 levels on a DE9 connector.
| Function | UART to RS-232 level conversion |
| Headers | J2 (2 × 5), J3 (1 × 10) |
| Connector | J1 DE9: 2 transmit, 3 receive, 5 ground, 7 CTS, 8 RTS |
| Chip | U2 MAX3232 |
| Size | 40 × 40 mm |
1DE9 connector — RS-232 side.
2MAX3232 — Level converter.
3Header J2 — Host side.
4Row J3 — Same signals in one row.
5Capacitor C1 — Capacitor C1, marked .47uf in the board file.
6Capacitor C5 — Capacitor C5, marked .1uf in the board file. Connects to +5V, GND.
7Capacitor C2 — Capacitor C2, marked .47uf in the board file. Connects to GND.
8Capacitor C3 — Capacitor C3, marked .47uf in the board file. Connects to GND.
.47uf in the board file..1uf in the board file. Connects to +5V, GND..47uf in the board file. Connects to GND..47uf in the board file. Connects to GND.
| J2 contact | Connected to |
|---|---|
| 1 | +3V3 |
| 2 | +5V |
| 3 | CTS |
| 4 | Tx |
| 5 | Rx |
| 6 | RTS |
| 7 | P7 |
| 8 | P8 |
| 9 | P9 |
| 10 | GND |
| J1 contact | Connected to |
|---|---|
| 0 | not connected |
| 1 | not connected |
| 2 | TxD_ |
| 3 | RxD_ |
| 4 | not connected |
| 5 | GND |
| 6 | not connected |
| 7 | CTS_ |
| 8 | RTS_ |
| 9 | not connected |
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.
Know the pinout of your RS-232 device.
Connect any 3.3 V input only through level conversion you have checked.
Apply the settings under Configuration, then power up.
A UART console setup. Connect the receive path only through level conversion that you have checked.
[uart console]
enable = true
console = true
channel = 1
baudrate = 115200
bits = 8
stop_bits = 1
parity = none
On Smoothieboard V2 Prime, channel 1 transmits on PB9 and receives on PH14. See UART. Syntax checked against firmware commit 2a21c0108b1d095ecd8b2b9358e94055f053c003.
Host Tx reaches DE9 contact 2 through the transceiver, and DE9 contact 3 returns to host Rx. CTS and RTS are converted the same way. Check how your instrument or cable assigns transmit and receive. See the MAX3232 datasheet.
| Symptom | Check |
|---|---|
| No data | Swap check: confirm DE9 contacts 2 and 3 against the other device, and match baud rate and framing. |
| Handshake ignored | The Smoothieware UART driver does not use hardware flow control. |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| selected original circuit | Design source |
| SmoothieV2 commit `2a21c0108b1d095ecd8b2b9358e94055f053c003` | Design source |
| Ccecil upstream project | Design source |
| Pinned original source | Design source |
| Original README.md | Design source |
| Original RS232_GDGT.kicad_sch | 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 | 34.31 | 7.10 | 3.2 mm, plated | D-sub connector fixing |
| 3 | 34.31 | 32.10 | 3.2 mm, plated | D-sub connector fixing |
| 4 | 20.00 | 35.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 |
|---|---|---|---|---|---|
| Transceiver supply | U2 pin 16 | — | 5 V | — | Design file connection |
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.