Page 1 of 1

Modbus port for ESP32

Posted: Wed Sep 27, 2017 10:45 pm
by vibnwis
Hi there,

I was wondering if anyone know or has ported Modbus to ESP32?

I have a device that runs MODBUS protocols through I2C or UART. It is not critical to get time immediately.

Any comments?

Cheers!
lim

Re: Modbus port for ESP32

Posted: Tue Oct 03, 2017 12:50 pm
by woofy!
I've not used them, but there are arduino modbus libraries on github. Have you tried those?

Re: Modbus port for ESP32

Posted: Wed Oct 04, 2017 10:28 am
by vibnwis
Thanks for the suggestion. However, I am using FreeRTOS. As such, I am considering to port from the freemodbus-v1.5.zip which has got FreeRTOS for STR71X. By far, from my research, this the closest I could get. There are instructions on how to port to other device. I think it is do able. However, if anyone has any suggestion, feel free to comment.

Thank you
LIm

Re: Modbus port for ESP32

Posted: Mon Oct 23, 2017 2:55 pm
by dkaufmann
Hi,

I was doing exactly the same as you. also landed at libmodbus and freertos libraries. FreeRtos example of freemodbus is also the example I chose to adapt fort ESP32. But until now I did not manage to do it. Do you have any news? still working on it?

Re: Modbus port for ESP32

Posted: Wed Nov 08, 2017 5:12 pm
by shamsul
Hello Gents,
I was wondering if anyone has success to use a Modbus library with esp32. Please share your experience, thanks in advance.