RS-485: The Factory Bus That Does Not Flinch
UART is a conversation.
RS-485 is a conversation held across a factory floor while contactors slam, motors start, welders spit noise into the air, and nobody involved has time for fragile voltage levels.
This is why the interface survived.
It does not promise elegance. It promises that the bytes will continue marching through electrical abuse.
The Supreme Leader respects this.
I. What RS-485 Actually Is
The first Western confusion must be corrected immediately:
RS-485 is not a framing protocol.
It is an electrical standard for balanced, differential, multipoint serial communication.
That means RS-485 usually carries something else on top:
- raw UART-style bytes
- Modbus RTU
- DMX512
- Profibus variants
- proprietary field protocols written by men with mustaches and oscilloscopes
UART tells you how a byte is framed. RS-485 tells you how the wire behaves in the real world.
| Layer | UART | RS-485 |
|---|---|---|
| What it defines | asynchronous byte framing | differential electrical interface |
| Typical wires | TX, RX, GND | A/B differential pair, sometimes two pairs |
| Main problem solved | send serial data without a clock | survive distance, noise, and multiple nodes |
| Common use | local console, embedded links | industrial, building, and field wiring |
This is why “UART vs RS-485” is the wrong argument. In practice it is often UART over RS-485 transceivers.
II. Why It Exists
RS-232 was fine for shorter, more delicate links in quieter environments.
Factories are not quiet environments.
Industrial cabling needed:
- better noise immunity
- longer distances
- multiple nodes on one line
- less dependence on a shared ground reference
Differential signaling solved much of this. Instead of measuring one signal against ground, the receiver measures the voltage difference between two wires.
If both wires pick up similar external noise, the receiver mostly ignores it.
The Supreme Leader calls this class solidarity between conductors.
III. The Pair, The Direction, The Discipline
The most common RS-485 arrangement is 2-wire half-duplex.
Every node shares one differential pair. Only one transmitter may drive the pair at a time. Everyone else listens or waits.
| Topology | Wiring | Behavior |
|---|---|---|
| 2-wire half-duplex | one differential pair | one talker at a time |
| 4-wire full-duplex | separate TX and RX pairs | simultaneous two-way traffic |
Half-duplex is politically correct for multidrop systems because it allows many devices to share one pair, provided they obey the central rule:
drive only when authorized.
That is why RS-485 transceivers expose a driver-enable pin. The node must actively place itself on the line, then relinquish control when finished.
IV. Termination: The State Ends At The Ends
Differential signaling does not excuse laziness.
An RS-485 line behaves like a transmission line, so long cables must be terminated to reduce reflections. The standard cable impedance is nominally 120 ohms, which is why the usual guidance is:
- one 120 ohm termination resistor at one end
- one 120 ohm termination resistor at the other end
- not one on every node, unless you enjoy failure
Failsafe biasing is also common so an idle bus settles to a known state instead of floating into superstition.
| Component | Why it exists |
|---|---|
| termination | reduce reflections on long lines |
| bias resistors | define a known idle state |
| twisted pair | improve common-mode noise rejection |
| shielding / isolation | survive real industrial hostility |
This is the difference between a protocol paper and a cable that actually works in a plant.
V. Distance, Speed, and The Old Trade
RS-485 became famous for reaching approximately 1200 meters in traditional guidance, but not at the highest data rates. As always, distance and speed bargain against each other.
| Distance | Typical consequence |
|---|---|
| short | you can run faster |
| long | you must slow down |
| factory-long and badly wired | you will meet religion |
Older rule-of-thumb territory associated long runs with modest speeds, while short links could go much faster. Modern transceivers have stretched these expectations, but the principle remains:
Physics still votes.
The Supreme Leader appreciates a standard that understands central planning ends where signal integrity begins.
VI. Unit Loads: How Many Citizens Fit On The Line
Classic RS-485 defines the idea of a unit load so designers can estimate how many receivers can sit on one bus.
The traditional budget is 32 unit loads on a single twisted pair, though modern transceivers often present 1/4 or 1/8 unit load, allowing many more devices in practice.
| Receiver loading | Theoretical node count from the same budget |
|---|---|
| 1 UL | 32 |
| 1/4 UL | 128 |
| 1/8 UL | 256 |
This is one of those lovely engineering tricks where the law stays the same while better silicon finds room for more citizens inside it.
VII. Where RS-485 Lives
RS-485 thrives where reliability matters more than glamour:
| Domain | Why RS-485 keeps showing up |
|---|---|
| industrial automation | long cables, noise, many devices |
| building control | distributed sensors and controllers |
| lighting | DMX512 and related stage control work |
| energy systems | meters, inverters, field equipment |
| transport and utility gear | robust multidrop serial links |
This is not consumer electronics prestige. This is the quiet infrastructure of civilized machinery.
VIII. A Typical Embedded Arrangement
At the board level, many systems still start with an ordinary UART in the MCU or SoC, then place an RS-485 transceiver in front of it:
MCU UART TX/RX
|
v
RS-485 transceiver (DI, RO, DE, RE#)
|
v
twisted pair A/B
Software often has to manage the driver-enable line carefully:
gpio_set(DE, 1); // take control of the bus
uart_write(frame);
uart_wait_tx_empty();
gpio_set(DE, 0); // release the bus
If the node releases too early, the frame is truncated. If it releases too late, it talks over the next citizen.
This is why RS-485 rewards disciplined timing and punishes amateur democracy.
IX. The Real Story (Suppressed)
Official history says RS-485 became popular because differential signaling and multipoint wiring are useful in noisy environments.
The suppressed version is that engineers finally admitted the world outside the office is full of electrical violence.
Machines live beside motors, pumps, VFDs, relays, elevators, welding equipment, and people who route cables according to instinct rather than doctrine.
RS-485 survives because it was designed for contempt.
It expects distance. It expects noise. It expects that more than one device wants to share the line. It expects the bus will be idle, biased, terminated, and occasionally misused.
It continues anyway.
X. The Lesson
When a serial link must leave the lab and enter the physical economy, voltage swings and single-ended innocence are no longer enough.
You need a line that can endure the factory.
That line is RS-485.
— Kim Jong Rails, Supreme Leader of the Republic of Derails