RS-485 Explained: Wiring, Termination, Cable Length and Common Mistakes
RS-485 is the wiring standard behind Modbus RTU and many industrial sensor networks. This guide explains differential signalling, correct bus wiring, termination and biasing, cable length versus speed, and the mistakes that cause most communication faults.
RS-485 (formally TIA/EIA-485) is one of the most common ways to connect industrial sensors, meters and controllers. It is cheap, robust against electrical noise and reaches over a kilometre. It is also the most frequent source of "the sensor works on the bench but not in the plant" problems, almost always because of wiring rather than electronics.

How RS-485 works
RS-485 sends each bit as the difference in voltage between two wires, usually called A and B (or D- and D+). Electrical noise from motors and drives tends to hit both wires equally, so it cancels out when the receiver looks only at the difference. This differential signalling is why RS-485 survives in factories where single-ended signals such as RS-232 fail.
RS-485 defines only the electrical layer: voltages, loads and timing. It says nothing about message format. Protocols such as Modbus RTU, PROFIBUS DP and many proprietary sensor protocols run on top of it.
Key figures from the standard
- Devices: a standard driver can drive 32 unit loads. Modern transceivers often present only 1/4 or 1/8 of a unit load, so more devices can share a bus.
- Distance: up to about 1,200 m (4,000 ft) at around 100 kbit/s.
- Speed: up to 10 Mbit/s over short distances (about 12 m).
- Rule of thumb: cable length in metres multiplied by data rate in bit/s should stay below about 10⁷.
- Common-mode range: receivers tolerate -7 V to +12 V between grounds, which is why a reference ground connection still matters.
How to wire an RS-485 bus
- Use a line, not a star. Run the cable from device to device (daisy chain). Keep stubs from the main line to each device as short as possible. Star and tree layouts cause reflections.
- Use twisted pair cable with a characteristic impedance of about 120 Ω, preferably shielded. Twist A and B together; do not split them across different pairs.
- Terminate both ends with a 120 Ω resistor across A and B, and only at the two physical ends of the line. Many devices have a built-in termination switch: turn it on at the ends and off everywhere else.
- Add failsafe biasing (pull-up on one line, pull-down on the other), usually at the master, so the bus sits in a defined state when no one is talking. Many masters and converters include it.
- Connect a common reference (signal ground or 0 V) between devices, often using the third conductor of the cable, and connect the shield to earth at one point.
- Use isolated transceivers or repeaters when devices are far apart or in different electrical systems, to avoid ground loops.
Common RS-485 mistakes
| Symptom | Likely cause | Fix |
|---|---|---|
| No communication at all | A and B swapped (labels differ between makers) | Swap the two wires at one device |
| Works at low speed, fails at high speed or long length | Missing or extra termination, star wiring | Terminate only the two ends; rewire as a line |
| Random errors when motors start | Ground potential differences, unshielded cable | Add signal ground, shielded twisted pair, isolation |
| Garbage when the bus is idle | No failsafe biasing | Enable bias resistors at the master |
| Some devices answer, others do not | Too many unit loads, duplicate addresses | Check loads, add a repeater, set unique addresses |
RS-485 vs RS-232 vs RS-422
| RS-232 | RS-422 | RS-485 | |
|---|---|---|---|
| Signalling | Single-ended | Differential | Differential |
| Devices | 1 to 1 | 1 driver, up to 10 receivers | Multi-drop, typically 32 unit loads |
| Typical distance | About 15 m | Up to about 1,200 m | Up to about 1,200 m |
| Typical use | PC serial ports, configuration cables | Point-to-point long links, encoders | Sensor networks, Modbus RTU, fieldbuses |
Frequently asked questions
Is RS-485 two-wire or four-wire?
Both exist. Two-wire (half-duplex) RS-485 uses one pair for both directions and is by far the most common for sensors and Modbus. Four-wire (full-duplex) uses separate transmit and receive pairs.
Do I need termination on a short cable?
On short cables at low baud rates, many systems work without it. Terminating the two ends is still good practice and avoids problems if the network grows.
Can I use Ethernet cable for RS-485?
Yes. Cat5e and Cat6 twisted pair are widely used for RS-485 because their impedance is close to the recommended value. Use one twisted pair for A and B.
Related guides: Modbus RTU vs TCP, 4-20 mA current loop and our overview of types of sensors used in industrial automation.
Find suppliers of RS-485 sensors and converters in the Sensor Times directory.