Best Modbus Relay and I/O Modules: 12 RS485 and Ethernet Relay Boards, Digital and Analog I/O Modules Compared (Buying Guide)

⚠️ Affiliate Disclosure: This post contains Amazon affiliate links. If you purchase through our links, we may earn a small commission at no extra cost to you. Every product below was checked against its live Amazon listing before publishing. Prices change often, so we don’t list them here. Tap any Buy Here button to see the current price on Amazon.
Ultimate Buying Guide

🎛️ Best Modbus Relay and I/O Modules

12 RS485 and Ethernet relay boards, digital I/O and analog modules that let a PLC, Home Assistant, Node-RED or your own ESP32 switch loads and read signals over Modbus.

✅ 12 Modules Reviewed ✅ Modbus RTU & TCP ✅ 8 to 32 Channels ✅ Honest Pros & Cons

Modbus I/O modules are the “remote hands” of an automation system. A Modbus relay board switches pumps, lights, valves, fans and contactors when a controller writes a coil, while digital and analog I/O modules report switch states and sensor signals such as 0-10 V or 4-20 mA. Because they speak a standard protocol, the same module works with a PLC, SCADA software, Node-RED, Home Assistant or an Arduino/ESP32 with an RS485 transceiver.

This guide compares 12 modules on Amazon: RS485 Modbus RTU relay boards, PoE Ethernet relays with Modbus TCP and MQTT, I/O and analog modules, and an ESP32-S3 relay board you can program yourself. Waveshare dominates this category on Amazon, so most picks are from its industrial line, compared honestly by variant.

💡 Reality check before you buy: Reviews in this niche are modest (most listings have under 60 ratings), so pick by interface and features: RS485 (Modbus RTU) modules need a controller or Modbus gateway on the bus, while Ethernet models speak Modbus TCP directly. Check each relay’s contact rating on the listing and never switch loads above it; use a contactor for motors and heavy loads. Switching mains voltage requires a proper enclosure and qualified wiring.

🎛️ Quick Comparison: All 12 Modbus Relay and I/O Modules

ModuleChannelsInterfaceBest ForBuy
🥇 Waveshare 8-Ch Ethernet Relay8 relaysEthernet PoE, Modbus TCP/RTU, MQTTBest OverallBuy Here →
🔌 Waveshare Modbus RTU 8-Ch Relay8 relaysRS485 Modbus RTUBest RS485 RelayBuy Here →
🔁 Waveshare 8-Ch Ethernet Relay (B)8 relays + DIEthernet PoE, Modbus TCP/RTURelays + InputsBuy Here →
🔢 Waveshare 8-Ch Digital I/O8 DI + 8 DORS485 Modbus RTUSignals & PLC I/OBuy Here →
🧩 Waveshare Modbus RTU Relay (D)8 relays + DIRS485 Modbus RTURS485 Relays + InputsBuy Here →
🧠 ESP32-S3 8-Ch Relay Module8 relays + DIWi-Fi, BLE, RS485, EthernetProgrammable / ESPHomeBuy Here →
🔀 Waveshare 16-Ch Ethernet Relay16 relaysDual Ethernet PoE, Modbus, MQTTMid-Size PanelsBuy Here →
🏗️ Waveshare 30-Ch Ethernet Relay30 relaysEthernet PoE, Modbus TCP/RTULarge InstallationsBuy Here →
🗄️ Waveshare Modbus RTU 32-Ch Relay32 relaysRS485 Modbus RTU, rail caseMost Channels (RS485)Buy Here →
📈 Waveshare 8-Ch Analog Output8 AO (12-bit)RS485 Modbus RTUDriving 0-10 V DevicesBuy Here →
🌡️ Taidacent 4-20 mA Analog InputMulti AIRS485 Modbus RTUReading 4-20 mA SensorsBuy Here →
🔹 Waveshare Modbus RTU Relay (B)8 relaysRS485 Modbus RTUAlternate RS485 RelayBuy Here →

Features from each Amazon listing. Check relay contact ratings and power input before buying. Tap Buy Here to see the live price.

🔍 How to Choose a Modbus I/O Module

🔗

RS485 or Ethernet

RS485 Modbus RTU modules daisy-chain many devices on one cable and need a master (PLC, gateway, ESP32). Ethernet modules speak Modbus TCP directly on your LAN, and some add MQTT.

🔢

Channel Count and Type

Count outputs (relays or transistor DO), inputs (dry contact or voltage DI) and analog channels you need, plus spares. Combination boards with relays and inputs save space.

🛡️

Isolation and Power

Industrial modules isolate the power supply, RS485 and I/O to survive noise and surges. Wide 7-36 V inputs suit 12/24 V panels; PoE simplifies Ethernet installs.

🏷️

Addressing

Each RS485 device needs a unique Modbus address. Waveshare modules support configurable addresses (1-255 per the listings), so many boards share one bus.

🗄️

Mounting

Rail-mount cases clip into DIN enclosures beside breakers and power supplies. Bare boards suit prototypes but need a proper enclosure before switching mains.

🏆 Detailed Reviews: All 12 Modules

🥇 BEST OVERALL

Waveshare 8-Ch Ethernet Relay Module

⭐ 4.5/5 · Modbus TCP/RTU, MQTT, PoE
8
RELAY CHANNELS
PoE
ETHERNET
MQTT
+ MODBUS TCP
59
AMAZON RATINGS
Buy on Amazon →
Waveshare 8-channel Ethernet relay module with Modbus RTU/TCP and PoE

Waveshare’s 8-channel Ethernet relay is the most-reviewed board in this category (59 ratings, about 4.2 stars) and the easiest to integrate: it plugs into your LAN with PoE and supports Modbus TCP and Modbus RTU protocols, plus relay control over MQTT per the listing. Optocoupler isolation protects the logic from relay-side interference, and a flash-on/flash-off command can pulse a relay for a set time, handy for gate openers and door strikes. No separate gateway is needed.

✅ Pros
  • Modbus TCP + MQTT
  • PoE powered
  • Timed pulse commands
  • Most reviews
❌ Cons
  • No inputs on this version
  • Check relay ratings
🎯 Verdict: Network relays with no gateway needed.

👉 Check Price on Amazon →

🔌 BEST RS485 MODBUS RTU RELAY

Waveshare Modbus RTU 8-Ch Relay (Enclosed)

⭐ 4.8/5 · RS485, Isolated, ABS Case
8
RELAY CHANNELS
RS485
MODBUS RTU
1-255
ADDRESSES
4.8★
TOP RATED
Buy on Amazon →
Waveshare industrial Modbus RTU 8-channel RS485 relay module in ABS enclosure

The highest-rated module here (about 4.8 stars from 28 ratings), this Modbus RTU 8-channel relay ships in an ABS enclosure with isolated power and RS485 circuits. A configurable address (1-255) lets many boards share one RS485 bus, so a single ESP32, PLC or Modbus gateway can drive dozens of relays. It’s ideal for irrigation valves, lighting circuits and pump control.

✅ Pros
  • Highest rated
  • Enclosed and isolated
  • Multi-drop RS485
  • Simple Modbus coils
❌ Cons
  • Needs a Modbus master
  • No inputs
🎯 Verdict: The go-to RS485 relay board.

👉 Check Price on Amazon →

🔁 RELAYS + INPUTS · ⭐ 4.4/5

3. Waveshare 8-Ch Ethernet Relay (B) with Digital Input

PoE · Modbus TCP/RTU · MQTT · 58 ratings
Buy Here →
Waveshare 8-channel Ethernet relay module (B) with digital inputs and PoE

The (B) version adds digital inputs to the PoE Ethernet relay, so the same board can read door contacts, buttons or limit switches as well as switch loads. It uses a dedicated relay driver chip with flyback diode protection per the listing. It averages about 4.1 stars from 58 ratings.

✅ Pros: Inputs + outputs; PoE.
❌ Cons: Slightly lower rating.
🎯 Verdict: One board for control and feedback.
🔢 SIGNALS & PLC I/O · ⭐ 4.5/5

4. Waveshare 8-Ch Digital Input & Output Module

RS485 Modbus RTU · 7-36 V · magnetic isolation · 42 ratings
Buy Here →
Waveshare industrial 8-channel digital input and output Modbus RTU module

For signal-level I/O rather than relays: 8 digital inputs and 8 digital outputs over RS485 Modbus RTU, with a wide 7-36 V supply and onboard magnetic isolation per the listing. It’s a compact way to add PLC-style I/O to an ESP32 or Raspberry Pi controller. It averages about 4.5 stars from 42 ratings.

✅ Pros: 16 I/O; isolated; well rated.
❌ Cons: Outputs aren’t relays.
🎯 Verdict: Remote PLC I/O on a budget.
🧩 RS485 RELAYS + INPUTS · ⭐ 4.2/5

5. Waveshare Modbus RTU 8-Ch Relay (D) with Digital Input

RS485 · 7-36 V · isolated · 32 ratings
Buy Here →
Waveshare Modbus RTU 8-channel relay module (D) with digital inputs and RS485

The RS485 counterpart to the Ethernet (B) board: 8 relays plus digital inputs on Modbus RTU, with multiple isolation circuits and a 7-36 V supply. Choose it when your controller already sits on an RS485 bus. It averages about 4.2 stars from 32 ratings.

✅ Pros: Relays + inputs; isolated.
❌ Cons: Needs a Modbus master.
🎯 Verdict: Full I/O on one RS485 node.
🧠 PROGRAMMABLE / ESPHOME · ⭐ 4.5/5

6. Industrial ESP32-S3 8-Ch Relay Module

Wi-Fi, BLE, RS485, Ethernet port, digital inputs · 25 ratings
Buy Here →
Industrial 8-channel ESP32-S3 Wi-Fi relay module with RS485, digital inputs and Ethernet

An industrial relay board built around an ESP32-S3, with 8 relays, digital inputs, an RS485 port and an Ethernet port, plus Wi-Fi and Bluetooth control per the listing. Because you can flash it with Arduino, ESP-IDF or ESPHome, it can act as a Modbus master for other boards on its RS485 bus, or as a standalone Home Assistant relay controller. It averages about 4.5 stars from 25 ratings.

✅ Pros: Fully programmable; RS485 master.
❌ Cons: You write the firmware.
🎯 Verdict: The maker’s industrial controller.
🔀 MID-SIZE PANELS · ⭐ 4.1/5

7. Waveshare 16-Ch Ethernet Relay

Dual Ethernet · PoE · Modbus RTU/TCP · MQTT · 16 ratings
Buy Here →
Waveshare 16-channel Ethernet relay module with dual Ethernet, Modbus RTU/TCP and PoE

Sixteen relays with dual Ethernet ports (for daisy-chaining) and PoE support, speaking Modbus RTU/TCP and MQTT per the listing. It fits lighting panels and greenhouse controllers with more circuits. It averages about 4.1 stars from 16 ratings.

✅ Pros: 16 channels; cascadable.
❌ Cons: Fewer reviews.
🎯 Verdict: Twice the relays, same simplicity.
🏗️ LARGE INSTALLATIONS · ⭐ 4.2/5

8. Waveshare 30-Ch Ethernet Relay

PoE · Modbus RTU/TCP · isolation circuits · 20 ratings
Buy Here →
Waveshare 30-channel Ethernet relay module with Modbus RTU/TCP and PoE

Thirty relays on one networked board with PoE and Modbus RTU/TCP. It’s built for big lighting panels, test rigs and multi-zone irrigation where one IP address controlling many circuits simplifies the setup. It averages about 4.2 stars from 20 ratings.

✅ Pros: 30 channels; one IP.
❌ Cons: Large footprint.
🎯 Verdict: Big panels, one board.
🗄️ MOST CHANNELS (RS485) · ⭐ 5.0/5

9. Waveshare Modbus RTU 32-Ch Relay

RS485 · rail-mount case · isolated · 5 ratings
Buy Here →
Waveshare Modbus RTU 32-channel RS485 relay module in rail-mount case

The highest channel count here: 32 relays on RS485 Modbus RTU in an industrial rail-mount case with multiple isolation circuits. It’s the RS485 choice for large control cabinets. Very few reviews so far (5 ratings).

✅ Pros: 32 relays; rail case.
❌ Cons: Few reviews.
🎯 Verdict: Maximum relays per RS485 node.
📈 DRIVING 0-10 V DEVICES · ⭐ 4.3/5

10. Waveshare 8-Ch Analog Output Module

12-bit DAC · 8 simultaneous voltage outputs · 7-36 V · 20 ratings
Buy Here →
Waveshare industrial 8-channel 12-bit analog output Modbus RTU module

Eight 12-bit analog voltage outputs over RS485 Modbus RTU, for driving VFD speed inputs, dimmable LED drivers, damper actuators and other 0-10 V control signals. It shares the same addressing and isolation design as Waveshare’s other modules. It averages about 4.3 stars from 20 ratings.

✅ Pros: 8 analog outputs; isolated.
❌ Cons: Voltage output only.
🎯 Verdict: Analog control for VFDs and dimmers.
🌡️ READING 4-20 MA SENSORS · ⭐ 4.4/5

11. Taidacent 4-20 mA Analog Input to RS485 Modbus

10/12-bit · 4-20 mA, 0-5 V, 0-10 V · 9 ratings
Buy Here →
Taidacent multi-channel 4-20mA and 0-10V analog input to RS485 Modbus RTU module

A multi-channel analog input module that converts 4-20 mA (or 0-5 V / 0-10 V, depending on variant) sensor signals to RS485 Modbus RTU, with 10/12-bit resolution per the listing. It lets you read industrial pressure, level and flow transmitters from any Modbus master. Few reviews (9 ratings), so choose the signal variant carefully on the listing.

✅ Pros: Reads industrial transmitters.
❌ Cons: Basic docs; few reviews.
🎯 Verdict: Bring 4-20 mA sensors onto Modbus.
🔹 ALTERNATE RS485 RELAY · ⭐ 4.4/5

12. Waveshare Modbus RTU 8-Ch Relay (B)

RS485 · 7-36 V · isolated · 7 ratings
Buy Here →
Waveshare industrial Modbus RTU 8-channel relay module (B) with RS485

The (B) variant of Waveshare’s RS485 relay board, with multiple isolation circuits and a wide 7-36 V supply. It’s a good alternative to the enclosed version when you’ll mount the board inside your own cabinet. Few reviews yet (7 ratings).

✅ Pros: Wide supply; isolated.
❌ Cons: Few reviews.
🎯 Verdict: A solid cabinet-mount option.

🛒 Which Module for Which Job?

🏠

Home Assistant relays over LAN

Waveshare 8-Ch Ethernet Relay (Modbus TCP or MQTT).

💧

Irrigation valves on a long cable

Waveshare Modbus RTU 8-Ch Relay on RS485.

🧠

Custom firmware / ESPHome

ESP32-S3 8-Ch Relay Module.

🔢

Read switches and sensors

Waveshare 8-Ch Digital I/O.

🌀

Control a VFD’s speed

Waveshare 8-Ch Analog Output.

🏗️

Large lighting panel

Waveshare 30-Ch Ethernet or 32-Ch RS485 Relay.

⚙️ Modbus Data Types for I/O Modules

Modbus ObjectAccessTypical UseCommon Functions
CoilsRead/write (1 bit)Relay and digital outputs ⭐FC01 read, FC05/FC15 write
Discrete InputsRead-only (1 bit)Digital inputs ⭐FC02
Input RegistersRead-only (16 bit)Analog input valuesFC04
Holding RegistersRead/write (16 bit)Analog outputs, settings, addressFC03 read, FC06/FC16 write

Standard Modbus function codes. Check each module’s manual for its exact register map.

❓ Frequently Asked Questions

Can I control a Modbus relay with Home Assistant?

Yes. Ethernet models connect directly through Home Assistant’s Modbus integration (Modbus TCP) or via MQTT. RS485 models need a Modbus gateway or an ESP32 running ESPHome with an RS485 transceiver as the bus master.

How do I control an RS485 relay from Arduino or ESP32?

Add an RS485 transceiver (see our RS485 modules guide), use a Modbus master library, set the matching baud rate and slave address, and write coils to switch relays.

Can these relays switch motors or heaters directly?

Only within the relay’s rated current and voltage, which you should check on each listing. For motors, compressors and large heaters, use the relay to drive a properly rated contactor, and add suppression for inductive loads.

How many modules can share one RS485 bus?

Typically up to 32 unit loads (more with low-load transceivers), each with a unique address. Daisy-chain the bus and terminate both ends with 120 Ω resistors on long runs.

Can I monitor power use alongside relay control?

Yes. Put a Modbus energy meter on the same RS485 bus and poll it from the same master. See our energy monitors and Modbus meters guide.

🏁 Final Verdict: Best Modbus Relay and I/O Modules

The right module for every control job:

🥇 Best Overall: Waveshare 8-Ch Ethernet Relay
Buy Here →
🔌 Best RS485 Relay: Waveshare Modbus RTU 8-Ch (Enclosed)
Buy Here →
🔁 Best Relays + Inputs: Waveshare 8-Ch Ethernet Relay (B)
Buy Here →
🔢 Best Digital I/O: Waveshare 8-Ch DI/DO Module
Buy Here →
🧠 Best Programmable: ESP32-S3 8-Ch Relay Module
Buy Here →
📈 Best Analog Output: Waveshare 8-Ch Analog Output
Buy Here →

For most projects, the Waveshare 8-Ch Ethernet Relay is the simplest Modbus relay to integrate, with Modbus TCP, MQTT and PoE and no gateway required. On an RS485 bus, the enclosed Waveshare Modbus RTU 8-Ch Relay is the top-rated choice, and the 8-Ch Digital I/O and Analog Output modules complete a low-cost remote I/O system. Makers who want full control should start with the ESP32-S3 relay module. See also our Modbus gateways, Modbus energy meters and RS485 modules guides.

💬 What are you automating with Modbus? Share your project in the comments below.

All Amazon links above use our affiliate tag (microlab05-20). Purchasing through them supports microcontrollerslab.com at no extra cost to you. Prices and availability change frequently, so always confirm the current price on Amazon before buying.

Leave a Comment