Serial Communication:
Even the serial standard is an older communication protocol it is still used by many modern and legacy devices and applications both in industrial and commercial industries and also often used for personal and office devices.
More recently most new computers do not contain a serial RS232 COM port which makes the use of a USB to RS232 or RS485 adapter / converter useful for connecting equipment such as printers, scanners, scales and GPS devices, but also most industrial and commercial equipment.
RS232:
RS-232 stands for Recommend Standard number 232 and C is the latest revision of the standard, also referred to as EIA232. It is a telecommunications standard used for binary serial communications between devices, the devices are usually referred to as a DTE (Data Terminal Equipment) and a DCE (Data Circuit-terminating Equipment). Since the transmit data and receive data are separate circuits it can operate with a full-duplex protocol meaning that it can send and receive data at the same time.
In general, many modern applications for RS232 use only the electrical standard (3-wires, TDX, RXD and Common), however some devices makes use of handshake signals but are often left out or disabled.
The cable length limit for RS232 is 50 feet and the valid signals for RS232 are plus or minus 3 to 15 volts, however signal levels of ±5 V, ±10 V, ±12 V, and ±15 V are all commonly seen depending on the power supplies available within a device. Usually a D-subminiature (DB9) connector is used for connecting RS232.
RS485:
EIA-485, also known as TIA/EIA-485 or RS-485 is a standard defining the electrical characteristics of drivers and receivers for use in balanced digital multipoint systems. Even RS485 is not commonly as popular as RS232 it is extremely useful in industrial and commercial environments. RS485 is a often used interface in data acquisition and control applications where multiple nodes communicate with each other.
The advantage of RS485 over RS232 is that RS485 can transfer data over longer distances, up to 4000 feet, and have up to 32 nodes per single network, whereas R232 cannot be used for multi-point networks.
RS485 uses two wires for communication, one for transmitting and one for receiving data, which is referred to as half-duplex communication. The common-mode voltage range for RS485 is -7V to +12V.
RS422:
4-wire, full-duplex, differential with multi-drop capabilities and a recommended distance limit of 3600ft. ANSI/TIA/EIA-422-B is the American national standard for RS422. RS422 provides for data transmission, using balanced or differential signaling, with unidirectional/non-reversible, point to point or multi-drop, and is terminated only on the end of the line opposite the transmitter. In contrast to EIA-485 (which is multi-point instead of multi-drop), EIA-422/V.11 does not allow multiple drivers but only multiple receivers. Due to loading limitations one of the best uses of RS422 might be in point-to-point communications, such as RS232 extension cords.
UART:
A universal asynchronous receiver/transmitter (abbreviated UART), is the key component of the serial communications subsystem. An UART controller takes bytes of data and transmits the individual bits in a sequential fashion and at the destination, a second UART re-assembles the bits into complete bytes. The common physical apperance of the UART is a plastic molded micro chip such as FTDI or MAX232. Most modern UART’s are version 16550 and more recently 16650.
USB to serial RS232 adapter:
Since most newer computers does not come with a serial RS232 COM port the use of USB to serial RS232 adapters and converters has become popular. A USB to serial adapter can be either a USB to RS232, USB to RS485 or USB to RS422 adapter, wither way is simply converts RS232, RS485 or RS422 serial data to USB data signals. It’s a very easy, useful and effective way to connect any serial device to a computer. There are however some limitations and common challenges by using a USB to serial adapter, click here for more information. USB to serial adapters are used both in industrial, commercial and private environments.
Serial over Ethernet:
With a serial Ethernet server, also called a Serial Device server or Serial over Ethernet converter, you can connect any serial device remotely to a computer over a LAN or Ethernet network. It simply converts all serial data to packets which can be sent over a CAT5 cable. It does this bi-directional which means that it can communicate both ways, serial to Ethernet and Ethernet to serial. A Serial Device Server is mostly used in commercial and industrial environments.
Wireless serial:
Common ways of sending Serial RS232, RS485 and RS422 data are by RF (Radio Frequency), Wi-Fi or Bluetooth. RF is often used for long communication distances of up to 10 km or even more. Serial communication by Wi-Fi is very effective and easy to install if you already have Wi-Fi available at your facility. Communication distances are however of the shorter than RF. Wireless serial communication by Bluetooth is becoming more and more popular and is a very good and reliable way at distances under 300 feet.
| Charasteristics of serial RS232, RS485 and RS422 |
|
RS232 |
RS422 |
RS485 |
| Differential |
No |
Yes |
Yes |
Max number of drivers
Max number of receivers |
1
1 |
1
10 |
32
32 |
| Protocol |
half duplex
full duplex |
half duplex
|
half duplex
|
| Mode of operation |
point-to-point
single ended |
multidrop
differential |
multipoint
differential |
| Max cable length |
15 m |
1200 m |
1200 m |
Max speed at 12 m
Max speed at 1200 m |
20 kbs
(1 kbs) |
10 Mbs
100 kbs |
35 Mbs
100 kbs |
| Max slew rate |
30 V/μs |
n/a |
n/a |
| Receiver input resistance |
3..7 kΩ |
≧ 4 kΩ |
≧ 12 kΩ |
| Driver load impedance |
3..7 kΩ |
100 Ω |
54 Ω |
| Receiver input sensitivity |
±3 V |
±200 mV |
±200 mV |
| Receiver input range |
±15 V |
±10 V |
–7..12 V |
| Max driver output voltage |
±25 V |
±6 V |
–7..12 V |
| Min driver output voltage (with load) |
±5 V |
±2.0 V |
±1.5 V |
|