RS232 & RS485 differences

Sens4 Knowledge content

HOME > SUPPORT > RS-232 AND RS-485

RS-232 AND RS-485 DIFFERENCES

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

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) IC 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

 

  • Very widely used
  • Low complexity
  • Supports full duplex

 

Disadvantages

 

  • Only supports communication between two devices
  • Only works over short distances
  • Relatively susceptible to noise

 

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).

 

RS232 connection

Vacuum measurement products from Sens4

with RS232 and RS485 interface

■ Ultra-wide range pirani

■ 1.0E-6 to 1000 mbar

■ Programmable features

■ Setpoint for controlling

■ Precision performance

 

 

> Watch the SmartPirani video

RS485 network

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

 

  • Supports several devices on the same bus (multi-drop)
  • Less susceptible to noise than RS-232
  • Works over longer distances
  • Supports faster transfer speeds than RS-232

 

Disadvantages

 

  • Not as widely used as RS-232
  • Requires termination resistors
  • Only supports half-duplex

 

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?

Sens4 on facebook
Sens4 on LinkedIn
Sens4 on Twitter
Sens4 on Youtube

Our passion | Your value™

Copyright © 2019 - Sens4 A/S

Sens4 A/S | Nordre Strandvej 119G | 3150 Hellebaek | Denmark

Tel: +45 8844 7044 | > Email to Sens4

CVR: 39389029