May-11th-2020, 11:08 AM
(This post was last modified: May-11th-2020, 12:19 PM by Armin@netPI.)
Yes this is possible in any case.
The arduino just has to get a valid ip address that is reachable by netPI and also it needs a TCP/IP based protocol to transport this information. In best case it supports an MQTT client for example and in netPI there is running an MQTT broker and the arduino is then publishing the data to the netPI MQTT broker where the netPI application is subscribing to and receive the data whenever it changes.
If I were you, I would do all this with the IoT tool Node-RED plus a MQTT broker Mosquitto.
Of course you could also use Modbus TCP and install on arduino side a Modbus TCP server and on netPI a Modbus TCP client. But how you solve it is up to you.
Thx
Armin
The arduino just has to get a valid ip address that is reachable by netPI and also it needs a TCP/IP based protocol to transport this information. In best case it supports an MQTT client for example and in netPI there is running an MQTT broker and the arduino is then publishing the data to the netPI MQTT broker where the netPI application is subscribing to and receive the data whenever it changes.
If I were you, I would do all this with the IoT tool Node-RED plus a MQTT broker Mosquitto.
Of course you could also use Modbus TCP and install on arduino side a Modbus TCP server and on netPI a Modbus TCP client. But how you solve it is up to you.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)