A module crossed the bench recently: an RJ45 jack on the outside, an Ethernet chip plus serial to Ethernet firmware inside, a single TTL UART on the host side, 32.5 x 16.5 x 17.3 mm, 3.3 V supply, -40 to 85 degrees Celsius, configurable through a web page, a configuration tool, or AT commands. That form factor settles one question. Adding Ethernet to a device that only has a serial port does not have to mean a box hanging off the enclosure; the conversion can live on the board.
Form factor is the last step, though. The step before it is where things stall. UART, RS232 and RS485 tend to get listed side by side, as if they were three names for one thing. The difference is not in the name. It is in the voltage levels, in the distance one link covers, and in how many devices one line can carry. Miss those three and the serial to ethernet converter that shows up will not match the port, which is a common outcome.
The converter does a narrow job. It moves bytes from the serial port onto the network port, and back again. It does not interpret what those bytes mean.
UART is a conversation between chips. TTL levels, 3.3 V or 5 V, traces measured in centimeters, no differential noise immunity, and effectively unusable once the signal leaves the enclosure. The TX and RX pins brought out on an MCU are this kind of signal.
So UART has two routes. One is to convert to RS232 or RS485 on the board first, then connect outward under the rules of those two. The other is to build the conversion into the board and let the network jack sit directly on the enclosure, which is what the module above does: one less conversion stage, one less box, at the cost of procurement shifting from buying a standalone device to designing in a component, with lead times and firmware versions to manage alongside it.
Board level designs also need to watch the levels. 3.3 V and 5 V TTL do not simply connect to each other, and putting either onto RS232 levels is worse.
RS232 is single ended, referenced to ground, carried on a DB9 connector, one cable between two devices, and the practical distance runs out at ten to twenty meters. Four items need copying off the device side: baud rate, data bits, stop bits, parity. When in doubt, connect straight through with a USB to serial cable and read once; that is faster than cycling through settings on the converter.
One converter next to one device is the most direct arrangement. Where RS232 and RS485 both exist on site, a model whose two ports work at the same time saves trouble. The USR-TCP232-410s carries RS232 on a DB9 male connector with CTS/RTS hardware flow control and XON/XOFF software flow control, and runs the RS485 side at the same time with no switching back and forth; baud rates from 600 bps to 230.4 Kbps, a 10/100 Mbps Ethernet port with 1.5 kV electromagnetic isolation, wide range power input with reverse polarity protection, and -40 to 85 degrees Celsius.
RS485 uses a differential pair, rejects common mode noise, covers several hundred meters, carries multiple devices on one line, needs termination resistors at the ends, talks in master slave polling, and gives each device its own station address.
Those traits decide the wiring: devices on one bus usually share a single converter rather than each getting its own. Once shared, two things get underestimated. One is the polling cycle. The time to read a full round is the sum across devices, not the per device speed multiplied by the count, so adding devices stretches the round noticeably. The other is the station address and register map. Miss one device and the symptom is that one device timing out forever.
For a single device wired nearby, with some uncertainty about whether it later becomes 232 or 422, a one port model such as the USR-N510 comes in two versions, one putting RS232/422/485 on the same port and one pure RS485. It converts between Modbus RTU and Modbus TCP, supports multi host polling and address mapping for up to 128 data points, covers MQTT 3.1 and 3.1.1, allows the four serial parameters to be changed from the network side, and runs on a wide range DC 5-36 V input with reverse polarity protection.
The converter does not parse content; the protocol layer stays on the devices at both ends. The host side usually takes one of three paths: writing directly against sockets, either a TCP Server listening permanently or a TCP Client connecting outward; installing virtual serial port software such as USR-VCOM so older software that only knows a COM port still opens one; or letting the converter act as a Modbus gateway so the host reads registers over Modbus TCP.
Which one applies depends on what the host software recognizes, and has nothing to do with whether the serial port is 232 or 485.
The first three are interface questions. This one is mechanical, and it decides the model just as much. With rail space in a cabinet, a standard box form works. For fitting inside a machine, where the remaining space is often a slot, what matters is size and terminal type: USR-DR134 is lipstick sized at 74 x 24 x 22 mm, has a 5 pin push in terminal on the serial side so wiring needs no tools, runs on DC 5-24 V, clips onto a 35 mm rail or fixes through screw holes, supports up to 16 TCP Server clients, and converts Modbus RTU to JSON as well as to TCP.
When devices cluster on one cabinet panel, a multi port model fits better: one IP, one configuration table, short wiring inside the cabinet.
Six columns: which device it sits next to, whether the interface is UART or 232 or 485, the four serial parameters, the Modbus station address, what reads it, and the target IP and port. Once filled in, the number of ports and the standard on each one are clear, and the model follows.
Two items get underestimated. The polling cycle is counted over the whole round rather than derived from per device speed. And at handover, the parameters and firmware version are worth exporting as a template, so switching customers means changing only the target address and port.
UART, RS232 and RS485 each cover a range of distance and one kind of topology. Confirm which one the port on the device is before talking about converters. A serial to ethernet converter solves the transport segment, not protocol interpretation; what the two ends say to each other still has to be recognized by those two ends.
1. Can UART connect directly to RS232 or RS485?
No. UART runs at TTL levels, 3.3 V or 5 V, RS232 uses single ended positive and negative levels against ground, and RS485 uses a differential pair. Three different electrical standards, so a direct connection either fails to communicate or damages the port. A level conversion stage is needed in between, or a serial to Ethernet module whose host side supports TTL UART directly.
2. How many devices belong on one RS485 bus?
The standard counts unit loads; common transceivers allow 32, and high impedance transceivers allow more. The more practical constraint in the field is the polling cycle. As the count rises, the time for a full round grows linearly, so when the acquisition interval is tight, work out the full round time first and then set the count.
3. Does the converter parse Modbus messages?
In ordinary transparent mode it does not; it only moves bytes. Where the protocol has to be recognized, the model needs Modbus gateway support, so it converts Modbus RTU to Modbus TCP and the host can read registers over Modbus TCP. Multi host polling support and the data point limit vary by model, so confirm before ordering.
4. What if the existing host software only recognizes a COM port?
Use virtual serial port software to map the network connection to a local COM number, and the old software opens that COM port as before, with no code change. What to confirm is the supported Windows version and bitness, and whether it reconnects automatically after a drop; the stability difference mostly lands on the software at that end.
5. How to confirm the four serial parameters when unsure?
Connect the device straight to a PC with a USB to serial cable and read once, then copy whatever works into the converter. Manuals and nameplates are sources too, though measured values win on older equipment. Of the four, baud rate and parity are the easiest to get wrong, and one wrong item usually shows up as garbled data rather than nothing at all.
6. Several devices in one cabinet: one multi port unit or one per device?
Above three devices on the same panel, multi port is cheaper: one IP, one configuration table, short cabinet wiring, and management cost that does not rise linearly with the count. Where two devices sit some distance apart and cannot be strung onto one RS485 bus, giving each its own keeps them independent, and a fault on one does not take the other down.
7. Can RS232 and RS485 run on one converter at the same time?
Depends on the model. Some models run both ports independently at once; others switch between electrical standards and use only one at a time. Where both port types exist on site, pick the kind that runs both, and avoid changing configuration back and forth.
8. Building in versus mounting a box outside: what to watch on power?
A board level module cares about logic voltage and consumption, commonly 3.3 V or 5 V, and it has to match the mainboard. An external box cares about what voltage