FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
67 views 0 comments
by anonymous
Hello

I have a RUT950, and I have a sensor that I would like to receive data from and send it to Azure IoT hub (or anoter destination)

The sensor is RS485 / Modbus

Can the RUT950 capture this information and send it via MQTT?

1 Answer

0 votes
by anonymous

Hello,

The link below will open a file with instructions on how to configure the router to send MODBUS data to Amazon Web Services MQTT broker:

https://kaunas.teltonika.lt:444/f/d525870cfa654dbf8dcc/

Basically, it uses the router itself as a MODBUS slave, which can be any MODBUS device, to query data from and master and utilizes Data to server functionality to send it to AWS.

Guide here, shows how to use Azure IoT package, to send some data from the device to Azure IoT HuB. In order to apply it to your application to send MODBUS data, you would need to follow instructions how to setup the device in the Azure webpage, as provided in the wiki example. The difference is in how the device should be configured. As with the AWS example, you would need to configure MODBUS slave and master with requests from slave. Next you would need to use Data to server application with protocol set as Azure MQTT. Another important option is URL / Host / Connection string, where you would need to paste Primary connection string from the device, created in Azure.

Example of Data to server configuration for Azure data to server is provided below:

Best regards,