Connect your controller's serial port to a spindle drive with a three-wire RS-232 interface, using a nine-pin cable or individual wires.
| Feature | Specification |
|---|---|
| Serial link | Isolated, full duplex, one controller and one drive |
| Drive connectors | Male DE-9 (often called DB9), three-position 5 mm screw terminal, and parallel 2.54 mm pin-header footprint |
| Host connector | Keyed ten-pin Gadgeteer ribbon connector, type U or K with hardware serial |
| Flow control | Three-wire link, with hardware handshaking disabled |
| Chaining | Same pin numbers on IN and CHAIN. Transmit and receive stop at this board by default. |
| Transceiver | Analog Devices ADM3251E |
| Logic translator | Texas Instruments TXU0202 |
See the electrical specifications for the component limits and their conditions.
The directions in this table are from the board’s point of view. Use one connector for one drive. The DE-9, screw terminal, and pin header share the same lines.
| Board signal | Typical drive terminal | Screw terminal | Alternate pin header | Male DE-9 |
|---|---|---|---|---|
| Transmit output | RX or RXD | 1 | 1 | 3 |
| Receive input | TX or TXD | 2 | 2 | 2 |
| Isolated signal ground | SG or signal common | 3 | 3 | 5 |
Check your controller’s socket chart for a type U or K socket with hardware serial on contacts 4 and 5. Pin 1 powers the 3.3 V logic translator, and pin 2 supplies the transceiver and its isolated converter.
| Contact | IN | CHAIN as wired |
|---|---|---|
| 1 | 3.3 V | 3.3 V |
| 2 | 5 V | 5 V |
| 3 | Pass-through signal | IN 3 |
| 4 | Host transmit | Open by default |
| 5 | Host receive | Open by default |
| 6 | Pass-through signal | IN 6 |
| 7 | Pass-through signal | IN 7 |
| 8 | Pass-through signal | IN 8 |
| 9 | Pass-through signal | IN 9 |
| 10 | Host ground | Host ground |
Confirm RS-232 and three-wire operation before attaching a cable. A nine-pin connector can also carry RS-485 or manufacturer-specific signals.
Use your meter's continuity mode to trace board transmit to drive receive, board receive to drive transmit, and board pin 5 to drive signal ground.
Each of the three paths has continuity only to its intended contact at the other end.
Set the baud rate, data bits, parity and stop bits from your drive’s manual. Turn hardware flow control off. The board passes serial data in both directions. The host software supplies the commands and interprets the drive’s replies.
SmoothieV2 has no spindle-drive configuration for this interface. Use the drive maker’s serial software or an application that implements the drive protocol. For PWM speed control and a run contact, see the analog spindle control breakout. For differential serial, see the RS-485 spindle control breakout.
| Drive port | Board connection | What to check |
|---|---|---|
| Screw terminals marked TX, RX and signal ground | Connect TX OUT to drive RX, RX IN to drive TX, and isolated signal ground to drive signal ground. | Match actual terminal names to the manual. |
| Nine-pin serial port with DCE wiring | Use a straight-through cable carrying 2→2, 3→3 and 5→5. | The drive sends on pin 2 and receives on pin 3. |
| Nine-pin serial port with PC-style DTE wiring | Use a three-wire null-modem cable carrying 2→3, 3→2 and 5→5. | The drive sends on pin 3 and receives on pin 2. |
DTE means data terminal equipment, the wiring used on a PC serial port. DCE means data communication equipment, with complementary wiring. Cable names and connector gender alone cannot tell you which pin carries transmit.
The TXU0202 translates the controller’s 3.3 V serial signals to and from 5 V logic. The ADM3251E converts these signals to RS-232 and supplies isolated power to the drive side of the circuit.
The drive’s serial return goes to isolated signal ground. Keep it separate from the controller ground, and use the connector shell for shielding.
Connect a second board to CHAIN to share the same host socket. Compare its required pins with the IN and CHAIN table first. The power rails and ground are wired through. Individual underside links pass pins 3 and 6–9. Leave the transmit and receive links on pins 4 and 5 open whenever the second board could drive either line.
| What you see | Possible cause | What to check |
|---|---|---|
| Commands go out, without a reply | The cable connects two transmit pins or misses the signal return | With power off, verify the three cable paths against the drive manual. |
| The reply is garbled | The host and drive use different serial settings | Match baud rate, parity, data bits and stop bits. |
| The drive waits before sending | Hardware flow control is enabled | Select the drive’s three-wire mode and turn handshaking off on the host. |
| Nothing arrives from SmoothieV2 | The firmware sends no drive commands | Try the drive maker’s software over a compatible serial interface. |
| The link stops working when you add another board | The chain draws too much power or shares a driven contact | Check the header’s power budget and the links on pins 4 and 5. |
When asking for help, include your controller revision, drive model, terminal labels, cable continuity readings and serial settings. See how to ask for help.
| Parameter | Applies to | Lower | Nominal | Upper | Basis and conditions |
|---|---|---|---|---|---|
| Logic supply | Controller side | — | 3.3 V | — | Gadgeteer supply specification |
| Transceiver supply | Transceiver supply pins | 4.5 V | 5 V | 5.5 V | Component datasheet, with the isolated converter enabled |
| Transceiver supply current | Transceiver only | — | — | 145 mA | Component datasheet, 5.5 V supply and 3 kΩ line load. Allow separately for other board loads and startup. |
| Board isolation rating | Complete assembly | — | — | — | Open |
The transceiver datasheet specifies an RS-232 receiver input range of −30 V to +30 V. Use a documented RS-232 source on the receive input. The range applies to the component and does not establish a board rating.