Component guide · Intermediate · 4 min read
Waveshare RS485 to Ethernet and Wi-Fi Serial Servers

Setup and Modbus TCP
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
An RS485 to Ethernet serial server puts an RS485 bus on the network. Software on a PC, a SCADA system or Node-RED can then reach meters and sensors over TCP, either as a virtual COM port, a raw TCP socket or Modbus TCP converted to Modbus RTU. Set its IP address with the maker's tool or web page, match the serial settings to the bus, and choose the working mode.
Key specs at a glance
- Serial
- RS485 (some also RS232), 300 bps to 115200 bps or more
- Network
- 10/100 Ethernet; Wi-Fi on Wi-Fi models; PoE on PoE models
- Modes
- TCP server, TCP client, UDP, HTTP, MQTT on newer models
- Modbus
- Modbus TCP to RTU gateway mode
- Supply
- 5 to 36 V DC typical, or PoE
- Mounting
- Rail or wall mount
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Waveshare Serial Server (RS232 / RS485 to Ethernet)₹4,150
Option 2Waveshare Serial Server (RS232 / RS485 to Wi-Fi and Ethernet)₹4,150
Option 3Waveshare 24962 Dual-Channel RS485 to Ethernet Serial Server₹3,749
Option 4Waveshare 24963 2-Channel RS485 to PoE Ethernet Serial Server₹4,099
Option 5MDIM-485/WL Single-Port RS485 to Ethernet & Wi-Fi Bridge₹3,894
Option 6WIN-CN-1M-1TCP Modbus RS485 to Modbus TCP Converter₹6,555
What the RS485 to Ethernet serial server is
In TCP server mode the device waits on a port (often 4196 or 502) and passes bytes both ways, so a virtual COM driver makes it look like a local serial port. In Modbus gateway mode it accepts Modbus TCP requests and sends Modbus RTU on the bus, which is what SCADA and Node-RED usually expect.
The dual-channel and PoE versions run two independent buses. The WIN-CN-1M-1TCP is a dedicated Modbus RTU to TCP converter, and the MDIM-485/WL adds Wi-Fi to a single RS485 port.
RS485 to Ethernet serial server pinout
The pins on the RS485 to Ethernet serial server and what each one does.
| Pin | Function |
|---|---|
| A+ / B- | RS485 bus |
| GND | Signal ground |
| RJ45 | Ethernet (PoE on PoE models) |
| DC IN | Supply terminal or jack |
| Reload | Hold to restore factory settings |
- A+ / B-
- RS485 bus
- GND
- Signal ground
- RJ45
- Ethernet (PoE on PoE models)
- DC IN
- Supply terminal or jack
- Reload
- Hold to restore factory settings
Wiring the RS485 to Ethernet serial server
Fit termination at the far end of a long bus. Keep the server on a fixed IP address so software can always find it.
| RS485 to Ethernet serial server pin | Serial server | Notes |
|---|---|---|
| A+ / B- | Device bus A+ / B- | - |
| RJ45 | Router or switch | Use a PoE switch for PoE models |
| DC IN | 12 or 24 V supply | Not needed with PoE |
- A+ / B-
- Serial server:
- Device bus A+ / B-
- Notes:
- -
- RJ45
- Serial server:
- Router or switch
- Notes:
- Use a PoE switch for PoE models
- DC IN
- Serial server:
- 12 or 24 V supply
- Notes:
- Not needed with PoE
Example code
This needs the server in Modbus TCP gateway mode. In transparent TCP server mode use a virtual COM driver or send raw RTU frames over the socket instead.
from pymodbus.client import ModbusTcpClient
c = ModbusTcpClient("192.168.1.200", port=502) # server IP, Modbus TCP port
c.connect()
r = c.read_holding_registers(0, count=2, slave=1) # bus device address 1
print(r.registers)
c.close()Setup and tuning
Waveshare's Vircom tool finds the device on the LAN; others open a web page at a default IP.
set a static IP in your network's range, or reserve one on the router.
match baud rate, data bits, parity and stop bits to the RS485 devices.
pick Modbus TCP to RTU for SCADA and Node-RED, TCP server for virtual COM.
run A, B and a ground or shield wire; A to A and B to B on every device.
fit 120 ohm resistors only at the two ends of a long bus.
daisy-chain the devices; avoid stars and long stubs.
every device on one bus needs the same baud rate and parity and a unique Modbus address.
What you need
Shop this list11 of 11 found in our store · ₹38,570
Waveshare Serial Server (RS232 / RS485 to Ethernet): the part this guide coversWaveshare Serial Server (RS232 / RS485 to Ethernet)₹4,150
Waveshare Serial Server (RS232 / RS485 to Wi-Fi and Ethernet): another version this guide coversWaveshare Serial Server (RS232 / RS485 to Wi-Fi and Ethernet)₹4,150
Waveshare 24962 Dual-Channel RS485 to Ethernet Serial Server: another version this guide coversWaveshare 24962 Dual-Channel RS485 to Ethernet Serial Server₹3,749
Waveshare 24963 2-Channel RS485 to PoE Ethernet Serial Server: another version this guide coversWaveshare 24963 2-Channel RS485 to PoE Ethernet Serial Server₹4,099
MDIM-485/WL Single-Port RS485 to Ethernet & Wi-Fi Bridge: another version this guide coversMDIM-485/WL Single-Port RS485 to Ethernet & Wi-Fi Bridge₹3,894
WIN-CN-1M-1TCP Modbus RS485 to Modbus TCP Converter: another version this guide coversWIN-CN-1M-1TCP Modbus RS485 to Modbus TCP Converter₹6,555
SMPS power supply in metal enclosure (5/12/24 V): a 12 or 24 V supply for the deviceSMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
CAT5E Ethernet LAN cable 1 m: to connect the device to a router or switchCAT5E Ethernet LAN Cable, 1 Metre₹120Closest match, check the specs
USB to RS485 converter adapter: to test the bus from a PCUSB to RS485 Converter Adapter₹74
Raspberry Pi 4 Model B 4GB: a small Modbus master or Node-RED hostRaspberry Pi 4 Model B with 4GB RAM₹11,461Closest match, check the specs
DIN rail screw terminal block: to land field wires neatly on the railDIN Rail Screw Terminal Block₹20
Alternatives and when to choose them
- PUSR USR-TCP232 serial servers: similar devices from PUSR.
- Serial device servers: the general idea and other brands.
- RS485 4G MQTT gateways: send the same data over a SIM instead of LAN.
Common mistakes to avoid
- Leaving the server on its default IP in a different subnet.
- Transparent mode when the software sends Modbus TCP.
- Serial settings that differ from the bus devices.
- Two masters polling the same bus at the same time.
Frequently asked questions
What is a virtual COM port?
A driver that makes the network serial port look like a local COM port to old software.
Modbus TCP or transparent mode?
Modbus TCP for SCADA, Node-RED and Home Assistant; transparent for software that expects a COM port.
Can several PCs connect at once?
Most allow a few TCP connections, but only one should poll the bus at a time.
Does PoE power the RS485 devices?
No, only the server.
Can it work over Wi-Fi?
Yes, on the Wi-Fi models, in station or access point mode.
Parts for this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
