harihanv / esp32-modbus-gateway

esp32 port of modbus RTU to TCP Arduino gateway
GNU General Public License v3.0
59 stars 28 forks source link

Can't make it work #2

Closed maufc closed 2 years ago

maufc commented 2 years ago

Hi. I am looking for a functional modbus gateway for esp32. I know it comes from arduino-modbus-gateway but I can't get a working version. The error is the same: SERIAL_PORT_HARDWARE is not define in this scope. I guess arduinors485.h does not work for esp32. I am working with esp32 development board. Thanks!

agisofttm commented 2 years ago

Just download library from other repository of @harihanv and compile it again - it work

maufc commented 2 years ago

Thanks! I did what you @agisofttm said. I tried and make it work after some hardware trials because I am using some Wemos D1 R32 board. There are some bugs well explained by you in the other topic. I think this could be a solution for many cases. Thanks for your job @harihanv !

harihanv commented 2 years ago

please check if this rs485 works

On Sun, May 8, 2022 at 5:24 AM Mauricio Flores Cabral < @.***> wrote:

Hi. I am looking for a functional modbus gateway for esp32. I know it comes from arduino-modbus-gateway but I can't get a working version. The error is the same: SERIAL_PORT_HARDWARE is not define in this scope. I guess arduinors485.h does not work for esp32. I am working with esp32 development board. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/harihanv/esp32-modbus-gateway/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEH5LH62YK7ED24AVZ7FWLVI37CRANCNFSM5VLC3MKA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

maufc commented 1 year ago

Hi. I don't get it. What are yor refering to?