Cookie
Electronic Team, Inc. uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.

Hardware and Software Solutions for UART over Ethernet communication

Editorial Team Editorial Team
Updated: Feb 2, 2023

Definition and characteristics of UART

A universal asynchronous receiver/transmitter (UART) shouldn’t be confused with communication protocols like I2C or SPI. As a rule, it's a self-contained IC or a physical circuit in a microcontroller, the main mission of which is serial data transferring and receiving.

UART over Ethernet software solution

There is no better software for sharing distant UART over Ethernet than Serial to Ethernet Software. Installing this program on each computer within the network will connect UART to network and make the device attached to the serial port, together with its data and functionality, accessible for all the people in the network.
Serial over Ethernet Connector
Operating serial port devices with the help of UART to Ethernet converter is the same thing as managing them when they are physically plugged into your computer.

Quick start guide on utilizing Serial to Ethernet Connector:

1
Download the software;
2
Install UART to Ethernet converter on all the machines in your network and virtual computers with programs requiring access to COM ports;
Install UART to Ethernet converter on all the machines
3
Choose “Create Server Connection” in the software main pane;
Choose Create Server Connection
4
Adjust connection settings;
5
Establish a client connection on a distant machine.
Establish a client connection
You are all set. Now you can freely use the remote serial ports over network.

Serial to Ethernet Connector is fully compatible with Windows and Linux. Remark: UART to Ethernet Linux app is a command-line software at the moment.

To start working with a UART port, download and install the app, it will display a list of devices available to you, find the one you need and connect to it. Serial to Ethernet Connector enables access to UART over network, being the most comfort solution for your needs.
logo
Serial to Ethernet Connector
4.9 Rank based on 372+ users reviews
Try for Free Free Trial available for 14 days
Serial to Ethernet Connector
One of the primary advantages of UART is that it utilizes only 2 cables for data transfer between devices. UART communication is quite simple: UART1, after converting parallel data from a controlling device (e.g.: CPU) into a serial format, transfers it to UART2, which in its turn transforms the serial data back into parallel form for the receiving device. Therefore, data streams from the Tx pin of UART1 to the Rx pin of UART2 (see Fig 1). UARTs interact with each other directly, requiring only two wires for data transmission between them.
UART Converter Software
Data is transferred asynchronously by UARTs, that’s why there won’t be any clock signal for synchronization neither of the output of bits from the transmitting UART nor of the sampling of bits by the receiving UART. As a substitute for a clock signal, the transmitting UART adds start and stop bits to the transferred data packet to designate its beginning and end, thus letting the receiving UART know when it can start reading the bits.

Once the receiving UART spots a start bit, it begins reading incoming bits at a certain frequency, referred to as a baud rate. The baud rate measures data transmission speed in bits per second (bps). UARTs should both work at almost identical baud rate. At least, the difference between baud rates of receiving and transmitting UARTs shouldn't exceed 10 percent before the timing of bits gets too far off.

So, is it possible to share UART data over Ethernet? If yes, how to do it best?

When using UART protocol, you can easily track all the passing streams and save them into a file. However, if you need to work with a remote UART device, located within the Ethernet network coverage area, you can do nothing but utilize additional hardware or software.

Hardware UART to Ethernet Converter

UART TO ETH module, mostly utilized for transparent data transmission, seems to be a simple solution for communicating between UART and Ethernet. It is a serial TTL to Ethernet module that can be customized via web page. For TCP or UDP socket data to serial UART conversion a data transparent transmission appliance (USR-TCP232-T) is used.

Capabilities and characteristics of Ethernet serial module:

  • 10/100M auto detect interface;

  • Automatic MDI/MDI-X support. Possibility of utilizing parallel cable connection or a crossover cable;

  • Different work modes available: UDP Client, UDP Server, TCP Server, TCP Client;

  • Possibility to adjust working model settings via a COM port or network;

  • Supports 3.3V TTL level (module products);

  • Support of virtual COM port;

  • Ensures reliable connection due to its exclusive heartbeat package mechanism, eliminating connect feign death;

  • No packet broadcasting in UDP mode, has better anti-interference ability; through the gateway/switches/routers;

  • Works in LAN/Internet (external network) and so on.

To sum up, the aforementioned converter is an ideal solution for local networks and nearby devices. However, what should you do to access UART over Ethernet being far away, let's say, from some other part of the world? How can you employ UART via network?

What is UART?

A UART (Universal Asynchronous Receiver/Transmitter) is the programmable microchip used to control a computer's interface to its attached serial devices. It allows the computer to communicate and exchange data with serial devices by providing the RS-232C Data Terminal Equipment (DTE) interface. As part of that interface the UART also performs other functions.

  • It converts the bytes received in parallel from the computer into a single serial bit stream required for successful outbound transmission.

  • On inbound transmission, the serial bit streams received from devices is converted into bytes that the computer understands.

  • A parity bit is added to the outgoing transmission and parity bytes are checked and discarded on incoming transmissions if parity and parity checking have been selected.

  • Start and stop delineators are added to outbound transmissions and stripped from inbound ones.

  • Handles the special interrupts generated from the keyboard and mouse and their dedicated ports.

  • Can be used to handle additional interrupts and device management tasks related to the coordination of the speed of the computer and associated devices.

Conclusions

There it is, a quick overview of UART. For remote UART access, there are basically two options. You can employ a hardware UART to ethernet converter or adapter. The second option involves achieving UART over Ethernet access by way of the Serial to Ethernet Connector software. This method of enabling access to your UART over LAN offers the benefit of not requiring any additional hardware. You can get UART to Ethernet connectivity without the need of any extra cabling, making it a more efficient solution.
Serial to Ethernet Connector
Access remote serial port over IP Network for Windows
14-day Free Trial available
License price starts at $259.95
Available for