RS232 and RS485 difference - use cases and technology
- What is a serial port?
- What is the difference between RS232 and RS485 serial port.
- Where is the serial data transfer protocol used?
- Software technology in serial communication:
What is a serial port?
A serial port is a communication interface over which serial communication can take place. On IBM compatible computers they are often referred to as COM ports. They allow external devices that transmit data serially to be connected to a host computer and allow two-way communication between the host and device.
What is the difference between RS232 and RS485 serial ports?
RS232 and RS485 are two standards for electrical transmission that were in existence before the introduction of personal computers. They are employed in interfaces that enable serial communication between computers and peripheral devices. While they both serve the purpose of allowing serial data transmission, the RS232 and RS485 protocols have some differences. Let’s see where these protocols differ.
- Number of wires - An RS232 cable is typically comprised of 9 different wires, though in some connectors, 25 wires are used. Each wire serves a distinct purpose in the data transmission. RS485 cables only have three wires, 2 for data transmission and 1 for the ground.
- Two-way transmission - RS232 is fully duplex, meaning that it can transmit data in both directions, both sending and receiving. To achieve duplex communication with RS485 you need another set of wires. Native RS485 is half-duplex, meaning it can only transmit in one direction at a time.
- Voltage - RS485 uses voltages between +5V and -5V. The recommended voltage for RS232 is +12V to -12V, and signals degraded to as low as 3V can still be understood.
- Range - There are significant differences in the cable lengths that can be used with the RS232 and RS485 protocols. RS232 cables are generally restricted to being 50 feet (15 m ) in length. Cables for RS485 can extend up to 4,000 feet (1,200 m).
The differences in these two protocols can make one solution more favorable than the other in certain applications. The existence of RS232 to RS485 converters allow the two protocols to be used together. These converters usually work in both directions, allowing for both RS232 to RS485 and RS485 to RS232 connections.
Where is the serial data transfer protocol used?
Serial data transfer using the RS232 or RS485 protocols are no longer the standard for consumer computer or electronic peripheral devices, having been replaced by USB and other protocols. Serial transmission is still used extensively in industrial monitoring and embedded systems and can be used with converters on USB equipped machines.
RS232 allows direct control of industrial devices like UPS systems without the need for software assistance. Many industrial sensors and monitors employed in the Industrial Internet of Things make use of serial communication. It is also widely used with scientific and medical equipment. The RS485 protocol has found a widespread application in CCTV (Closed Circuit TV) cameras.
Software technology used in serial communication
If you work with serial interfaces and devices you may be in need of some software tools to assist you in carrying out your duties. Eltima software has developed three applications that make it easy to work with serial devices and extend their capabilities.
Virtual Serial Port Driver - This software utility allows you to create an unlimited number of virtual serial port pairs that emulate and behave as if they were physical COM ports.
The tool does not use any of your real serial ports and can be used on machines that do not have any COM ports. Ports are recreated after a system reboot, and higher speed data transfer is possible through the virtual serial ports that when using physical ones. These are just some of the features of this dedicated serial port software application.
Serial to Ethernet Connector - If you have a need to access your remote serial devices over the network, this software application is a perfect solution.
It is designed to let you share an unlimited number of physical and virtual serial ports over any TCP/IP or UDP/IP network. You can create any number of virtual ports and name them in any way you like, and the networked serial ports can be used with virtual machines. It is a complete solution to the problem of controlling and accessing remote serial devices.
RS232 Analyzer - Here is a full-featured tool that has been developed to facilitate monitoring of serial ports and is an indispensable tool for developers of serial applications. It enables you to track and analyze data flowing through all of your serial ports in one convenient log and allows you to look at the data in various display modes. You can monitor ports already opened by other applications, and emulate the sending of data to serial devices. Among its other features is a playback option that lets you send the same data multiple times and will automatically compare the results and display differences.
Eltima has extensive experience in the field of serial communication and these are mature software applications. If you work with serial devices and ports, you owe it to yourself to take a look at how you can benefit from these products.
Serial to Ethernet Connector
Requirements for Linux: Kubuntu 9.10 “Karmic Koala”, openSUSE 11.2, 7.63MB free space , 4.66MB size , 4.66MB size
Version 7.1.876 (27th Jan, 2017) Release notes
Category: Serial Port Software