Modbus port for ESP32

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Modbus port for ESP32

Postby vibnwis » Wed Sep 27, 2017 10:45 pm

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

woofy!
Posts: 21
Joined: Tue Oct 03, 2017 12:02 pm

Re: Modbus port for ESP32

Postby woofy! » Tue Oct 03, 2017 12:50 pm

I've not used them, but there are arduino modbus libraries on github. Have you tried those?

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: Modbus port for ESP32

Postby vibnwis » Wed Oct 04, 2017 10:28 am

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

dkaufmann
Posts: 24
Joined: Wed May 17, 2017 9:06 am

Re: Modbus port for ESP32

Postby dkaufmann » Mon Oct 23, 2017 2:55 pm

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?

shamsul
Posts: 4
Joined: Tue Jul 25, 2017 6:11 pm

Re: Modbus port for ESP32

Postby shamsul » Wed Nov 08, 2017 5:12 pm

Hello Gents,
I was wondering if anyone has success to use a Modbus library with esp32. Please share your experience, thanks in advance.

Who is online

Users browsing this forum: Bing [Bot] and 80 guests