ESP8266 Modbus TCP Server, Node-RED as Client, Control Relay in Coils and DHT-11 in Holding Register
HTML-код
- Опубликовано: 26 авг 2024
- ESP8266 Modbus Server, and Node-RED as Client, Control Relay in Coils and DHT-11 in Holding Register
Required file: drive.google.c...
If you find this content useful, please send me "Super Thanks"
Don't forget to like and subscribe my channel
super cool
thanks
yaser ali huseyin
Не понятно где прописать ID устройства, тот который идет первым байтом кадра modbus.
nice can I use esp32 instead of 8266 same program?
Yes, You can use ESP32
Download the code
Hi Sir,
Is that possible to use without internet connection
No need internet connection,
Just wifi connection in same network
@@YaserAliHusen You mean only Wifi router required... Right
@@karthikvhiremath1886 , Yes correct
@@YaserAliHusen Thank you so much Sir.....
where to download the modbus client X?
You can download here: sourceforge.net/projects/modbusclientx-modbus-tool/
THXxxx@@YaserAliHusen
how can this be done with wires??
Using ethernet cable?
You can use Arduino with ethernet shield and use ArduinoModbus library
I probably didn't express myself correctly. I'm interested in ways to connect ESP32 to SBS with Nodered via wire directly, use the device without a Wi-Fi router. I'm thinking about the possibility of exchanging data via UART, but have not yet tested it in practice...@@YaserAliHusen
Hi, how to get or set port number please?
default port is 502, if you want to change, maybe you can change it in library
My system not detect while using node red / modbus poll, is it need any gateway fr rs485 to tcp