Extension board · Signal interfaces
Two boards that carry an I2C bus from the controller to sensors, displays and expanders several metres away. The bus travels as two differential pairs in an ordinary Cat5e cable and needs no address or setting of its own.
| Purpose | Reach an I2C device mounted far from the controller: toolhead, gantry, enclosure wall or operator panel |
| Link | PCA9615 differential I2C buffer on each board; SCL on cable contacts 1 and 2, SDA on 3 and 6 |
| Clock and length | Datasheet figure: up to 1 MHz over 3 m of cable; longer runs need a lower clock |
| Logic level | 3.3 V I2C on both boards. Do not connect a 5 V I2C bus |
| Pull-ups | 3.3 kΩ on SDA and SCL on each board, removable |
| Host connectors | Ten-pin socket in (I IN), ten-pin socket on (CHAIN), Qwiic, 12 V in, 12 V out, link jack |
| Remote connectors | Two ten-pin sockets in parallel (OUT A, OUT B), Qwiic, 12 V in, link jack |
| Power | 12 V into the host, two wires on to the remote |
| Protection | Electronic fuse (TPS26600) on both boards for reverse polarity, undervoltage, overvoltage and overload, with fault lights; ESD array (TPD4E1U06) on the cable pairs |
| Remote supplies | AP63205 5 V converter, AP2112K 3.3 V regulator, TPS2553 current-limited 5 V output |
| Works with | Ten-pin type I sockets of the Smoothieboard V2 Prime (G_B and G_G carry I2C); no firmware driver |
Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.
The numbers on each drawing match the list below it. Boards are shown from the component side. The solder links are on the back.
1Input socket I IN — Ribbon cable from the controller.
2Chain socket — Continues the controller’s socket to a further local board.
312V IN — Supply for both boards. Plus is the upper terminal.
412V OUT — Two wires to the remote. Plus is the lower terminal.
5Link buffer — PCA9615: turns SDA and SCL into two differential pairs and back.
6Link jack — Cat5e cable to the remote. Not Ethernet.
7Qwiic socket — The same I2C bus at 3.3 V. The four empty pads on the right take a 2.54 mm pin header instead: GND, 3.3 V, SDA, SCL from the top.
8Lights — From the top: FAULT, OVER V, REVERSE, 12V and 5V. See the table below.
9Socket OUT A — A ten-pin socket for a board at the far end.
10Socket OUT B — A second socket on the same bus and supplies.
1112V IN — Two wires from the host. Plus is the upper terminal.
12Link buffer — PCA9615: rebuilds SDA and SCL from the cable.
13Link jack — Cat5e cable from the host.
14Supplies — AP63205 with this coil makes 5 V from the 12 V; below it, TPS2553 limits the 5 V output and AP2112K makes 3.3 V.
15Qwiic socket — The remote bus at 3.3 V. The four empty pads on the right take a pin header instead: GND, 3.3 V, SDA, SCL from the top.
16Lights — From the top: FAULT, OVER V, REVERSE, 3V3 and 5V. See the lights table below.
| FAULT | OVER V | REVERSE | Host 12V | Remote 3V3 | 5V | |
|---|---|---|---|---|---|---|
| Where | Both boards | Both boards | Both boards | Host | Remote | Both boards |
| Lit means | The fuse is off | Supply above about 13.8 V | 12 V connected backwards | 12 V present | 3.3 V present | 5 V present |
| Disable it | Cut SJF1 | Cut SJF2 | Cut SJF3 | Cut JP10 | Cut JP10 | Cut JP12 |
| Contact | Signal | Host I IN | Host CHAIN | Remote OUT A and OUT B |
|---|---|---|---|---|
| 1 | 3.3 V | From the controller; powers the buffer’s I2C side | Passed on | Made on the board |
| 2 | 5 V | From the controller; powers the link driver | Passed on | Switched 5 V, current limited |
| 3 | I/O | Passed to CHAIN (can be wired to enable, see links) | Passed on | Not connected |
| 4 to 7 | I/O | Passed to CHAIN | Passed on | Not connected |
| 8 | SDA | I2C data | Through link JP8 | I2C data |
| 9 | SCL | I2C clock | Through link JP9 | I2C clock |
| 10 | GND | Ground | Ground | Ground |
Only SDA and SCL cross the cable: an interrupt or reset line of a far board cannot be returned to the controller.
| Pin | Signal |
|---|---|
| 1 | GND |
| 2 | 3.3 V |
| 3 | SDA |
| 4 | SCL |
| Jack contact | Signal | Twisted pair in the cable |
|---|---|---|
| 1 | SCL + | First pair |
| 2 | SCL − | First pair |
| 3 | SDA + | Second pair |
| 6 | SDA − | Second pair |
| 4, 5, 7, 8 | Unused | — |
Use a straight-through cable, wired the same way at both plugs (T568A or T568B). No power and no ground travel in it. The metal shield is joined to ground through a resistor and capacitor on each board.
| Terminal | Board | Connect to |
|---|---|---|
| 12V IN + and − | Host | A 12 V DC supply |
| 12V OUT + and − | Host | 12V IN of the remote, plus to plus |
| 12V IN + and − | Remote | 12V OUT of the host |
The positions of plus and minus differ between 12V OUT and 12V IN: read the printed signs at each terminal.
All links are on the back. Open a closed link by cutting the copper between its two pads; close an open one with a blob of solder.
| Link | Board | As delivered | What it does |
|---|---|---|---|
| JP1, JP2 | Both | Closed | The 3.3 kΩ pull-ups on SDA and SCL |
| JP8, JP9 | Host | Closed | Pass SDA and SCL to the CHAIN socket |
| JP11 | Host | Closed | The link runs only while 12 V is present at the host |
| JP7 | Host | Open | Lets socket contact 3 switch the link instead. Open JP11 first |
| SJ2 | Host | Closed | Connects the protected 12 V to 12V OUT |
| SJ1 | Both | Open | Joins the cable shield directly to ground |
| SJF1, SJF2, SJF3 | Both | Closed | FAULT, OVER V and REVERSE lights |
| JP10 | Both | Closed | 12V light on the host, 3V3 light on the remote |
| JP12 | Both | Closed | 5V light |
Do all wiring with power off.
Supply plus and minus to host 12V IN. Host 12V OUT plus to remote 12V IN plus, minus to minus.
A multimeter on the loose wires shows the right polarity before they go into the terminals.
Plug the straight-through Cat5e cable into both link jacks.
Ribbon cable from socket G_G or G_B to host I IN.
Look at both boards.
Host: 12V and 5V lights on. Remote: 3V3 and 5V lights on. No FAULT, OVER V or REVERSE light.
Switch off, connect your I2C board to OUT A, OUT B or Qwiic, and switch on again.
Your driver finds the device at its normal address.
The extender is transparent: a device at the far end keeps its address. Each example uses the host wiring shown above and needs your own driver.
Put a 9-axis IMU or any other I2C sensor board on the gantry or toolhead, as in the wiring figure. Keep the clock at 100 kHz at first and raise it only when it works.
A character LCD (address 0x27 as delivered) and a 16-key keypad (set it to 0x20) share the remote bus. The LCD takes both 5 V and 3.3 V from its socket; its estimated backlight current of about 80 mA is most of the 100 mA allowed for 5 V, and both boards are limited to 100 kHz. A keypad is never an emergency stop.
Two 3-axis accelerometers, one left at 0x18 and one with JP4 closed for 0x19, measure vibration at two places of the same machine. Open the pull-up links on the added boards so that the remote keeps one set.
The boards have nothing to configure in the firmware and use no pin other than SDA and SCL (plus contact 3 if you move the enable function to it with JP7). Smoothieware has no module for I2C devices, so there is no configuration block to paste.
| You want | What to set | Where |
|---|---|---|
| Talk to a far device | Its normal address | Your driver |
| A longer cable | A lower I2C clock | Your driver |
| Switch the link off from the controller | Open JP11, close JP7, drive contact 3 low to disable | Host solder links |
| Use pull-ups elsewhere | Open JP1 and JP2 | The board concerned |
An ordinary I2C bus is one wire for data and one for clock, each compared with ground. Noise and ground differences along a long cable upset it. The PCA9615 sends each signal as the voltage difference between two twisted wires, and the receiver at the other end only looks at that difference. Both signals stay bidirectional, so devices can answer and can slow the clock down.
Resistors on both boards (604, 120 and 604 Ω) end the cable and hold an idle line in its resting state, including when the cable is unplugged.
The I2C sides of the buffer pull a low signal down to about 0.47 to 0.6 V rather than to zero, and treat only signals below 0.4 V as a new low. This is how the chip knows which side started a signal. Normal I2C devices are unaffected; a second buffer that does the same thing must not be placed in series.
The host buffer is enabled only while 12 V is present at the host, so with the supply off the controller’s own bus is left alone. This does not cover a remote that loses power on its own: see troubleshooting.
Five board pairs carry signals over a distance. Pick by what you need to carry.
| Differential signal | Differential I2C | Differential SPI | Differential STEP/DIR/EN | Long-distance | |
|---|---|---|---|---|---|
| Specifications | |||||
| Carries | One logic signal | One I2C bus | One SPI peripheral | STEP, DIR and ENABLE of one axis | Three one-way logic signals |
| Transceivers | THVD1451 | PCA9615 differential I2C buffer | THVD1451, four channels | THVD1451, three channels | THVD1451, three channels |
| Far-end power | 5 V on the same cable | Separate 12 V lead | Separate 12 V lead | Not carried to a motor drive; see the board’s supply warning | 5 V on the same cable |
| Features | |||||
| Signals return from the far end | |||||
| Made for a common-anode stepper drive input | |||||
The host has a second socket, CHAIN, that carries the controller’s socket on to a further board close to the controller. All contacts go straight through; SDA and SCL pass through the links JP8 and JP9, which you cut to give the chained board neither signal. A board on CHAIN shares the I2C bus, so it needs an address that no far device uses, and a pin used by one board is not free for the next. The remote does not chain: its two sockets are in parallel.
| Arrives on I IN | Leaves on CHAIN | How |
|---|---|---|
| Pins 1, 2 and 10 (power and ground) | Pins 1, 2 and 10 | Direct |
| Pins 3 to 7 | Pins 3 to 7, same numbers | Direct |
| Pin 8, SDA | Pin 8 | Link JP8, closed |
| Pin 9, SCL | Pin 9 | Link JP9, closed |
| What you see | What it means | What to do |
|---|---|---|
| No device answers at the remote | No 12 V at the host, so the host buffer is switched off | The host 12V light must be on. Check the supply and polarity at 12V IN |
| No device answers, all power lights on | A crossover cable swaps SDA and SCL | Use a straight-through cable |
| No device answers, remote lights off | The 12 V lead is missing or reversed, or link SJ2 on the host is cut | Check plus to plus and minus to minus between the two 12 V terminals |
| Works with a short cable, errors with a long one | The clock is too fast for the cable | Lower the I2C clock, for example to 100 kHz |
| Errors after adding several boards at the remote | Every added board brought its own pull-up resistors | Keep one set of pull-ups on that side: open the pull-up links on the added boards, or JP1 and JP2 on the remote |
| One device answers wrongly or not at all | Two devices use the same address | Change the address link on one of them |
| The whole controller bus stops when the remote loses power | The host is still powered and drives a dead far end | Power both boards from the same switch |
| Bus stuck low with another I2C buffer in the path | Two buffers that both shift the low level are in series | Remove the other buffer, or use one without a raised low level |
| Red FAULT light | The electronic fuse switched off: voltage too low or too high, overload or overheating | Check the supply voltage and what the board is powering |
| Red OVER V light | Supply above about 13.8 V | Use a 12 V supply |
| Red REVERSE light | Plus and minus swapped at 12V IN | Swap the two wires |
If the remote alone loses power while the host stays powered, the cable is no longer held firmly in its resting state: the simulated idle voltage falls to 0.12 V, below the 0.2 V the receiver needs, and up to about 5 mA flows back into the dead board. The controller’s I2C bus may then be held low. Powering the remote from the host’s 12V OUT avoids this in normal use.
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | Board |
|---|---|
| Host schematic (PDF) | Host |
| Host parts list (CSV) | Host |
| Host board drawing (PNG) | Host |
| Remote schematic (PDF) | Remote |
| Remote parts list (CSV) | Remote |
| Remote board drawing (PNG) | Remote |
For drilling a mounting plate or designing an enclosure. Positions are hole centres, in millimetres, measured from the top-left corner with the board seen from the component side. The terminals and the link jack need room for wires and the plug on their side of the board.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 5.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 55.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 3 | 5.00 | 55.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 55.00 | 55.00 | 3.2 mm, not plated | Mounting, M3 screw |
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 5.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 55.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 3 | 5.00 | 55.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 55.00 | 55.00 | 3.2 mm, not plated | Mounting, M3 screw |
Each figure is a design, calculated, simulated or manufacturer’s datasheet value, as the last column says. A dash means no figure is given.
| Parameter | Applies to | Lower | Nominal | Upper | Basis and conditions |
|---|---|---|---|---|---|
| Supply voltage at 12 V IN | Both boards | 9.8 V to start | 12 V | 14.3 V cutoff | Simulated thresholds; turns off again below 9.0 V |
| Overvoltage light threshold | Both boards | — | 13.8 V | — | Simulated |
| Input current limit | Each board | — | 0.5 A | — | Calculated; the host’s limit also covers everything it passes to the remote |
| Current from controller 5 V | Host | — | 70 mA | 91 mA | Datasheet, link driver supply |
| 3.3 V for your boards | Remote | — | — | 100 mA | Design target |
| 5 V for your boards | Remote | — | — | 100 mA | Design target |
| 5 V switch current limit | Remote | 155 mA | 178 mA | 207 mA | Calculated from the datasheet equations |
| I2C clock | Link | — | — | 1 MHz | Datasheet, on 3 m of cable; longer cable needs a lower clock |
| I2C low output level | Each I2C side | 0.47 V | — | 0.6 V | Datasheet |
| I2C low input level required | Each I2C side | — | — | 0.4 V | Datasheet |
| Receiver threshold, differential | Link | — | 200 mV | — | Datasheet, with 30 mV hysteresis |
| Idle line voltage, differential | Link | — | 0.45 V | — | Simulated, both boards powered or cable unplugged |
| Added delay | Each direction | — | 150 ns | — | Datasheet, approximate |
| Bus rise time with 3.3 kΩ | Each I2C side | — | 280 ns at 100 pF | 839 ns at 300 pF | Simulated; 400 kHz needs 300 ns or less, 100 kHz needs 1000 ns or less |
| Board size | Each board | — | 60 × 60 mm | — | Design |
These are limits of single parts, not operating conditions of the boards.
| Circuit | Pin or device stress | Absolute limit |
|---|---|---|
| Link buffer, PCA9615 | Either supply, bus and enable pins | −0.5 to 6 V |
| Electronic fuse, TPS26600 | Input pin | −60 to 62 V |
| 5 V converter, AP63205 | Input pin | 35 V continuous |
| 3.3 V regulator, AP2112K | Input pin | 6.5 V |
| 5 V switch, TPS2553 | Input and output pins | 7 V |
A circuit simulation of the resistor networks, the supply thresholds and the bus rise time. It does not model the chips’ switching behaviour, the cable, noise or electrostatic discharge, and it is not a measurement of a board.
| Quantity | Simulated | Limit | Verdict |
|---|---|---|---|
| Idle differential, both ends powered (receiver threshold 0.2 V) | 0.452 V | at least 0.2 V | Within |
| Idle differential, cable unplugged | 0.452 V | at least 0.2 V | Within |
| Idle differential at the powered end, unpowered rail held at ground | 0.12 V | at least 0.2 V | Outside |
| Positive line voltage, unpowered rail held at ground (datasheet "connected" test needs above 0.5 V) | 0.693 V | — | — |
| Negative line voltage, unpowered rail held at ground (needs below 4.5 V) | 0.573 V | — | — |
| Voltage fed back onto the unpowered 5 V rail, unpowered rail held at ground | 0.00523 V | — | — |
| Current fed back through the pair, unpowered rail held at ground | 5.23 mA | at most 10 mA | Within |
| Idle differential at the powered end, unpowered rail loaded by 1 kohm | 0.271 V | at least 0.2 V | Within |
| Positive line voltage, unpowered rail loaded by 1 kohm (datasheet "connected" test needs above 0.5 V) | 1.63 V | — | — |
| Negative line voltage, unpowered rail loaded by 1 kohm (needs below 4.5 V) | 1.36 V | — | — |
| Voltage fed back onto the unpowered 5 V rail, unpowered rail loaded by 1 kohm | 1.06 V | — | — |
| Current fed back through the pair, unpowered rail loaded by 1 kohm | 1.06 mA | at most 10 mA | Within |
| Idle differential at the powered end, unpowered rail loaded by 100 kohm | 0.31 V | at least 0.2 V | Within |
| Positive line voltage, unpowered rail loaded by 100 kohm (datasheet "connected" test needs above 0.5 V) | 1.87 V | — | — |
| Negative line voltage, unpowered rail loaded by 100 kohm (needs below 4.5 V) | 1.56 V | — | — |
| Voltage fed back onto the unpowered 5 V rail, unpowered rail loaded by 100 kohm | 1.86 V | — | — |
| Current fed back through the pair, unpowered rail loaded by 100 kohm | 0.0186 mA | at most 10 mA | Within |
| Host buffer enable pin at the lowest running 12 V rail (needs 2.31 V) | 2.77 V | 2.31 to 5.5 V | Within |
| Host buffer enable pin at the overvoltage cutoff (limit 5.5 V) | 4.48 V | 2.31 to 5.5 V | Within |
| Host buffer enable pin with no 12 V (needs below 0.99 V) | 0.318 V | at most 0.99 V | Within |
| Input turn-on voltage | 9.76 V | 9.4 to 10.2 V | Within |
| Input turn-off voltage | 9.02 V | 8.6 to 9.4 V | Within |
| Input overvoltage cutoff | 14.3 V | 13.8 to 14.8 V | Within |
| Overvoltage lamp threshold | 13.8 V | 13.4 to 14.2 V | Within |
| I2C rise time at 100 pF (400 kHz limit 300 ns) | 280 ns | at most 300 ns | Within |
| I2C rise time at 300 pF (100 kHz limit 1000 ns) | 839 ns | at most 1000 ns | Within |
See all boards on the extension boards page.