Search found 3 matches

by rjrajbir7178
Fri Sep 03, 2021 8:16 am
Forum: ESP-IDF
Topic: how to run Modbus RTU On ESP IDF
Replies: 9
Views: 14789

Re: how to run Modbus RTU On ESP IDF

Here is output of master and slave when tested the default code of master and slave from esp-idf

Master output:
E (20579) MB_CONTROLLER_MASTER: mbc_master_get_parameter(111): SERIAL master get parameter failure error=(0x108) (ESP_ERR_INVALID_RESPONSE).
E (20579) MASTER_TEST: Characteristic #0 ...
by rjrajbir7178
Fri Sep 03, 2021 6:15 am
Forum: ESP-IDF
Topic: how to run Modbus RTU On ESP IDF
Replies: 9
Views: 14789

Re: how to run Modbus RTU On ESP IDF

Yes, I have tried the sample code but I want to send slave data to the master

I want to connect the temp and humid sensor to slave( ESP32--->2) and want to get its data to master( ESP32--->1), but I don't know how to configure the GPIO pins in the code to connect the sensor. The code is very ...
by rjrajbir7178
Thu Aug 05, 2021 9:08 am
Forum: ESP-IDF
Topic: how to run Modbus RTU On ESP IDF
Replies: 9
Views: 14789

how to run Modbus RTU On ESP IDF

Hello, newbie here,

I have worked on Modbus on Arduino IDE and also on raspberry pi, Now I am exploring the ESP IDF.

But the https://github.com/espressif/esp-idf/tree/master/examples/protocols/modbus/serial given in the ESP IDF is a bit confusing.

Could anyone please help how to use this lib to ...

Go to advanced search