RS-485#
Differential multidrop serial. A twisted pair carries every byte as the difference between two lines, so the wire survives long runs through noisy industrial environments. Up to 32 standard nodes share a bus (more with low-load receivers), at speeds up to 10 Mbps on short runs or 100 kbps over 1200 m. The backbone under Modbus RTU, BACnet MS/TP, DMX-512, and a fair share of building automation.
Wires#
Signal |
Direction |
Purpose |
|---|---|---|
|
Bidirectional |
Non-inverting line of the differential pair. |
|
Bidirectional |
Inverting line. |
|
Reference |
Signal ground; runs alongside the pair on long buses to limit common-mode swing. |
Both ends of the bus terminate with a 120 Ω resistor between
A and B. Some installations bias the lines with pull-up /
pull-down resistors so the bus holds an idle 1 when no
transmitter is active.
Wire format#
The differential voltage between A and B encodes the bit.
Logical 1 (mark):
Ais positive relative toB(typically +2 V or more).Logical 0 (space):
Ais negative relative toB.
Framing on top of RS-485 is whatever the application layer chooses (usually UART-style, 8N1, with an application protocol like Modbus RTU layered on top). Half-duplex is the common topology; full-duplex needs four wires (sometimes called RS-422).
Pads#
Label |
Meaning |
|---|---|
|
Non-inverting line. |
|
Inverting line. |
|
Ground; sometimes called |
Labels are not consistent across vendors. The operator confirms polarity with a multimeter (idle voltage with a known transmitter holding the line) before assuming.
Tools#
Tool |
Effect |
|---|---|
USB-to-RS-485 adapters ( |
Provide |
|
Transceiver ICs; convert a CMOS UART to differential RS-485. |
|
Modbus master clients that drive an RS-485 adapter. |
|
Scripted Modbus RTU master / slave in Python. |
Logic analyzer with differential probe |
Decode the line. |