Looking for 16ch modbus/tcp

Hi everyone,

I am new to the forum, but I have been working with Home Automation (HA) for many years. Here is my current setup and what I am looking for:

I am looking for a 16-channel Modbus device that can:

  1. Read the status of LEDs
  2. Turn LEDs on/off via modbus
  3. Have 16 input channels for momentary switches to control the LEDs


I do not need or want any wireless functionality — all wires are collected in one place on DIN rails.

Thanks for any advice!

Modbus is protocol, not a device, not hardware.
So what are you looking for?

Thanks, i have many devices on modbus, weather station, power meter + esp32 and so on, i need device, which has modbus protocol :slight_smile: thank you.

I repeat, modbus is protocol, not device. Any programmable device with serial interface can use modbus.
So please explain what you are after. Some rtu / tcp bridge?

Once again. I know rs485 modbus rtu is not a device.

I looking for 16ch relay device with modbus RTU. - is now correct? :slight_smile: I think you understand everything but you love to teach new members.

if you know device i looking for - thank you for advice.

need to replace 16 momentary contactors with 16ch device which has modbus rtu bridge

Rs485 is device standard.

No the case with me.

So you are looking for 16ch relay module with Rs485 converter onboard?
Or to connect common Rs485 converter to Esp which controls 16ch relay module?
Looking for something like this?

1 Like

thanks, i know this device, but does it has any possibility to connect 16 existing momentary switches to work parallel to rs485?

this device is good but need extra option :slight_smile: to connect existing momentary switches too.

Look, read carefully.
Rs485 is serial standard using differential signaling for long distance communication.
Modbus rtu is common serial protocol commonly used in automation.
Rs485 can be used without modbus, modbus can be used without Rs485.

So to get best help here, just try to describe what you are after.
You need 16 relays and 16 buttons? With long wiring?
Post some simple scheme.

1 Like

yes, 16 momentary buttons, 16 relays for LEDS and to connect to esp32 /raspberry. 16 momentary buttons has separate circuit and 16 leds has separate circuit on 220vac.
that is all. i can make it with some more devices, but I need one box device.
Thank you.

Serial communication is done between what?

Of course…

1 Like

serial comm will be with esp32 or raspberry pi, i will write soft. need only relay box :slight_smile:

I’m not following…

almost same as on first post.

I see only one MCU here. What’s the whole point of modbus??

XY problem? :thinking:

https://xyproblem.info/

Welcome on board…

If schematics are not your preferred tools, write what you want to accomplish. Not how you think to do it, just what you need to do. Presenting all the devices that are actually on this setup, describing what you would like to keep or substitute.

If I read correctly you want

  • 16 inputs
  • 16 outputs
  • Ability to communicate over RS485 using Modbus protocol

Not sure you would get a ready made board with so many interfaces but you could look at using an i2c bus and MCP23017 IO expanders. You can use multiple of these so 2 would give you 32 channels of IO and there are some with 16 relays and an ESP32 eg

https://a.aliexpress.com/_EjwyHz6

Interfacing to RS485 using a serial to RS485 board. All this would work with ESPHome if that is what you want. This would be three separate boards but I think would do what you want. If you are familiar with ESPHome have a look at

1 Like

How about 2 of these?
8-ch Ethernet Relay Module (B) With Digital Input, Modbus RTU/Modbus TCP Protocol, PoE Port Communication, With Various Isolation And Protection Circuits, Industrial Grade Rail-Mount Case | Modbus POE ETH Relay (B)

or 2 of these?
Industrial Modbus RTU 8-ch Relay Module (D) With Digital Input and RS485 Interface, Multi Isolation Protection Circuits, 7~36V Power Supply | Modbus RTU Relay (D)

or 1 of these?
JY-MODBUS-IO16R Modbus RTU Digital IO Module 16DI 16DO RS485 – AMSAMOTION

1 Like

I’m not using a standard system. I already have part of it built. I was only looking for one specific device, because if I needed more than one, I could have figured out a solution myself. Thank you, everyone.

You are correct. thanks.

Thank you so much. It’s exactly what I was looking for.

1 Like