harihanv / esp32-modbus-gateway Goto Github PK
View Code? Open in Web Editor NEWesp32 port of modbus RTU to TCP Arduino gateway
License: GNU General Public License v3.0
esp32 port of modbus RTU to TCP Arduino gateway
License: GNU General Public License v3.0
Hello,
I have an error while compiling on Serial.println(info.disconnected.reason), an error message 'union arduino_event_info_t' has no member named 'disconnected'; did you mean 'eth_connected'?
Can you help me?
Cordially,
Harish bro , do you have update of the code ?
Hello,
I'm really interested in this project, but have issues.
The standard Lib ArduinoRS485.h is nor build for ESP32, and there is no Pin definition.
So there I get direct an error message.
How does it work for you, Is there a solution?
Do you still work on this project?
I`m really like forward to build this wird an ESP32 and afterwords on an WT32-ETH01 Borad (only small changes needed)
Thanks in advance.
Dieter
Compilation error: ArduinoRS485.h: No such file or directory
added ArduinoRS485.h from harhanv repository, but no success.
please guide me i am new to this.
i have compiled an run on an esp32. Wifi connection is o.k., but the webpage ist empty if i call via browser http://.
Serial Debug shows :
[arduino] Starting...
[web] Data from client [web] webInBuffer=GET / HTTP/1.1
[web] uri=/
[web] POST data=
URI
[web] 200 response send
[web] Stop client
could anybody help?
Hi,
I'm working with the olimex esp-poe board and trying to get the gateway working.
the test setup is the following:
i use modbus poll to send the requests on tcp and I use the PyModSlave to simulate the slave with a USB to rs485 cable.
I see that the requests and answers are passing on the RS485. the writing commands are working well (I send writing command from modbus poll, and it is well changed on the slave).
However, the reading requests are ending with "Gateway Target Device Failed to Respond" (on the raw data from the slave everything looks great- so in rtu).
and on the serial monitor i get:
Check Request error code : 0
Inside Recv processing
I see in the code the command with the "Gateway Target Device Failed to Respond" but not sure I understand it well...
Could you indicate little more info on what could cause this?
thanks in advance for your support!
br,
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!
ESP32 - I had to add a define into ArduinoRS485 ArduinoRS485.h, globally in *.ino it didn't work
#define SERIAL_PORT_HARDWARE Serial2
and I had to comment out the flush in StreamLib TeePrint.h since "Print" for ESP32 doesn't need/have a flush
virtual void flush() {
// out1.flush();
// out2.flush();
}
Hi, I'm new to coding and was wondering if it is possible to set this up over WiFi instead of Ethernet. I'm on ESP32. Thanks
Hi,
for me is it not possible to compile this files. Witch libraries are should be linked. The streaming and wifi lib generates errors
thanks
Dirk
Hi harihanv (https://github.com/harihanv) i'm new to this and are trying an industrial modbus TCP RTU bridge, i'm using ESP32 wemos R3 board and W5500 ethernet shield but i get the following compile error in arduino IDE platform.
exit status 1
Compilation error: variable or field 'WiFiDisconnected' declared void
Thank you for a great project
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.