RS-485 wiring is a twisted pair (A and B, plus a signal common) run as a daisy-chain bus. A 120 Ω termination resistor goes across A and B at each physical end of the trunk only, and every node connects through a short stub. Avoid star or ring layouts. A segment supports 32 unit loads, up to 256 devices with 1/8-UL transceivers. Cable length can reach about 4,000 ft at 100 kbps but falls at higher speeds. Bias (failsafe) resistors hold the idle bus in a known state. Modbus RTU and Profibus both run on RS-485.
How to Wire an RS-485 Network
- Topology: daisy chain (bus). Run the trunk from device to device; star and ring layouts cause reflections (Wikipedia).
- Cable: twisted pair, Z₀ about 120 Ω, 22–24 AWG (TI). Use one pair for A/B and keep it twisted to the terminals.
- Termination: one resistor equal to Z₀ (typically 120 Ω) across A and B at each end of the trunk. Do not add it at intermediate nodes.
- Stubs: keep drop length short, under one tenth of the driver rise time in electrical length (TI).
- Common: run a signal common (SC/G) so all receivers stay within −7 V to +12 V, with current limiting to avoid joining disparate grounds (Wikipedia).
- Biasing: fit failsafe bias where the bus idles or transceivers lack built-in failsafe (see calculator).
Termination and Failsafe Biasing
Without termination resistors, signal reflections from the unterminated cable end can corrupt data. Termination also lowers impedance and so reduces noise sensitivity. Each resistor should equal the cable’s characteristic impedance, typically 120 Ω (Wikipedia). TI adds that in noisy environments each 120 Ω resistor can be split into two 60 Ω resistors with a capacitor to ground. Match those resistors closely, 1% preferred, so common-mode noise is not converted to differential noise.
With nothing driving the bus, an undriven pair floats and receivers can read noise as data. TI notes modern transceivers have built-in failsafe, but with only about 10 mV noise margin. External bias resistors, a pull-up on A and a pull-down on B, create an idle differential voltage of at least 200 mV plus expected noise. TI’s example, 4.75 V minimum supply and 250 mV target with 120 Ω terminations, gives RB ≈ 528 Ω, implemented as two 523 Ω resistors. The RS-485 standard itself does not specify bias or termination values.
RS-485 Bus Calculator
Speed, Distance and Node Count
| Parameter | Value | Source |
|---|---|---|
| Common-mode range | −7 V to +12 V | TI, Wikipedia |
| Unit loads per segment | 32 UL (≈12 kΩ each) | TI |
| Devices with 1/8 UL transceivers | 256 (96 with external failsafe) | TI |
| Max data rate | 10 Mbps at 40 ft | TI |
| Max cable length | 4,000 ft at 100 kbps | TI |
| Receiver threshold | ±200 mV | TI, Wikipedia |
Repeaters extend length and node count beyond one segment, and RS-485 to RS-232 or USB converters connect a PC (Wikipedia). For the protocols that ride on RS-485, see Modbus RTU vs Modbus TCP and DB9 pinout for serial connectors.
Frequently Asked Questions
Do I need a termination resistor on RS-485?
At higher data rates or long cables, yes: without termination, reflections from the unterminated end can corrupt data. Fit one resistor equal to the cable impedance (typically 120 Ω) across A and B at each physical end of the trunk only (Wikipedia; TI).
What happens if I don’t put termination resistors on RS-485?
Signals reflect from the open cable ends and can be misread as data, especially on long runs or at high baud rates. Short, slow links sometimes work without, but it is not reliable practice.
Where do RS-485 termination resistors go?
Across A and B at the two devices at the extreme ends of the daisy chain, not at every node. Extra terminators overload the drivers.
What are RS-485 bias (failsafe) resistors?
A pull-up on one line and pull-down on the other that hold the bus in a known idle state when no driver is active, so receivers do not read noise as data. The RS-485 standard does not specify values; TI’s example gives about 523 Ω each with 120 Ω terminations at 5 V.
How many devices can be on an RS-485 bus?
32 unit loads. With 1/8-unit-load transceivers that is up to 256, or 96 if external failsafe biasing (worth up to 20 unit loads) is fitted (TI).
What is the maximum RS-485 cable length?
About 4,000 ft (1,200 m) at 100 kbps; at 10 Mbps only about 40 ft (TI). Length falls as data rate rises.
What cable should I use for RS-485?
Twisted pair with about 120 Ω characteristic impedance, 22–24 AWG, such as industrial RS-485 or Cat 5-type cable, preferably shielded in noisy plants (TI).
Can RS-485 be wired in a star?
Not recommended: star and ring topologies create long stubs and reflections. Use a daisy chain (bus) with short stubs (Wikipedia; TIA TSB-89A).
Do I need a ground wire with RS-485?
The standard requires a common return path between circuit grounds; a signal common (SC) conductor keeps nodes within the −7 V to +12 V common-mode range. Add current limiting so you do not tie disparate grounds together through it (Wikipedia).
Which is A and which is B?
Manufacturers disagree: some label the inverting line A, others B. If a two-wire bus does not communicate, swapping A and B at one device is a common fix (Wikipedia).
Sources and Further Reading
- Texas Instruments: The RS-485 Design Guide (SLLA272D): cable, termination, stubs, failsafe, unit loads, length vs data rate.
- Wikipedia: RS-485: topology, termination and biasing, signal common, A/B polarity.
