RS-232 and RS-485 are standards for serial interfaces that each specify the transmission media and a defined set of logic levels, data rates and timings. These are some of the oldest serial interfaces around, yet they are still very widely used in control and measurement equipment, mainly due to their simplicity and low cost.
RS-232 is the simplest of the two interfaces. It is used to connect two devices as illustrated below:
That is, the transmitter of Device 1 is connected to the receiver of Device 2 and vice versa. Both lines are single-ended with a ground reference. The standard specifies a voltage between -3 and -25 V as a logic 1 and a voltage between +3 and +25 V as a logic 0. The cable used to connect Device 1 and Device 2 can be made up of either parallel wires or a twisted pair and should generally not exceed 15 meters.
Most serial devices use a Universal Asynchronous Receiver Transmitter (UART) integrated circuits to implement a communication protocol that transmits portions of data (typically 8 bits) along with a defined set of start-bits, stop-bits, and parity-bits at a specified data rate. The transmitted data is often ASCII characters. Data rates typically range from 4800 to 115.200 baud.
Advantages
Disadvantages
RS-485
While RS-485 and RS-232 have a lot in common regarding the data format, they differ on a very significant parameter: Where RS-232 specifies single-ended connections referenced to ground, RS-485 specifies differential signaling on two lines, called A and B. Up to 32 devices can be connected via the same RS-485 bus, though only one device can “talk” at any given time (half-duplex).
A voltage of -200 mV is specified as a logic 1, while +200 mV is specified as a logic 0. In its nature, the differential format provides common-mode noise cancellation. The differential format along with the lower voltage levels also enable higher data rates and much longer cable lengths than RS-232. Depending on the data rates, cables can be up to 1200 meters long. According to the RS-485 standard, the cables must be twisted pairs.
Advantages
Disadvantages
Generally, RS-232 is the simpler solution for connecting two devices over short distances. RS-485, while allowing connection of several devices on the same bus over greater distances, does require termination resistors. Also, many PCs or PLCs come with one or more RS-232 ports as standard, while RS-485 ports are often sold separately.
Sens4 offers temperature, pressure and vacuum transducers with integrated RS-232 or RS-485 interfaces.
For more information visit our product page.
Do you have questions or need help configuring the right products?
Our passion | Your value™
Copyright © 2024 - Sens4 A/S
Sens4 A/S | Nordre Strandvej 119G | 3150 Hellebaek | Denmark
Tel: +45 8844 7044 | > Email to Sens4
HOME | ABOUT | NEWS | PRODUCTS | SHOP | INDUSTRIES | SUPPORT | CONTACT | KNOWLEDGE | CAREERS | COOKIES | TERMS & CONDITIONS | PRIVACY & LEGAL
CVR: 39389029