So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Stulander
#83663 I have a modbus device that I'd like to be able to talk to over the internet using an ESP. I've had success doing this with two Raspberry Pis and nodered. Rather than using modbus TCP, I simply send the data via MQTT to a cloud broker and then connect to the broker with another raspberry pi. I did this using an RS485 shield but it's also possible to connect with TTL serial.

Ideally, I'd like to be able to replace the rpi connected to the modbus device with an ESP. The ESP would be preconfigured or configured through a little i2c keypad shield or whatever to connect to wifi, and then automatically connect to a cloud broker and act as a transparent or "blind" transceiver.

It looks like this is a good place to start: https://www.instructables.com/id/Wirele ... RS485-to-/

I suppose I just need to try, but I am a noob fraught with uncertainty so thought I'd do a post in case it's just not possible for whatever reason I'm unaware of.

Thanks