Page 1 of 1

Modbus RS485 RTU - Slave

Posted: Mon Aug 12, 2019 5:07 pm
by renanpaiva
Hi everyone,

I'm getting started with NodeMCU.

At this point, I'm trying to read a Modbus RTU RS485 meter. With Arduino works ok, but when I put the same code to work with ESP 32 nothing happens. I can't get any value.

Has someone a good example for a beginner with NodeMCU for the above scenario?

Best regards,
Renan Paiva

Re: Modbus RS485 RTU - Slave

Posted: Wed Sep 18, 2019 6:19 am
by ESP_alisitsyn
Hi Renan Paiva,

ESP-IDF supports communication over RS485 as master and slave. If it is ok to use pure C code for communication with your device please try to use the examples in the ESP-IDF examples/protocols folder.

--
Alex