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
212 views 0 comments
by anonymous

Hi,

How do I send Latitude and Longitude live data from RUTX50 to Amazon Web Services (AWS)? I have to configure the map application.

1 Answer

0 votes
by anonymous

Good day

You can look into the following from our AWS IoT Hub where you can install the package to allow this to be done

https://wiki.teltonika-networks.com/view/AWS_MQTT_cloud_connection

The package for the AWS IoT Hub can be downloaded from the below

https://wiki.teltonika-networks.com/view/RUTX50_Package_Downloads

Please navigate to Services -> Package Manager -> Upload
Then you can install the package 

To help along with this, the Modbus on the router will be used to gather the information and send it off
The below can help in terms of sending this off
https://wiki.teltonika-networks.com/view/AWS_MQTT_cloud_connection#Example:_Publishing_RUT_MODBUS_to_AWS_IoT_using_MQTT

For that to work, the router should obtain information from itself via Modbus, meaning both Modbus master and Modbus slave features should be enabled and configured on the router, as per the example, together with Data to Server feature. 
Registers for the Co-Ordinates

Required Value Register Address Register Number  Number Of Registers      Representation
GPS latitude coordinate 143 144 2    32 bit float
GPS longitude coordinate 145 146 2    32 bit float
 

You can do so by checking this wiki article, to help out with Modbus registers 
https://wiki.teltonika-networks.com/view/RUTX50_Modbus#Modbus_Registers

 

And alternatively, the below from Amazon blog post can be of help too
https://aws.amazon.com/blogs/publicsector/creating-a-serverless-gps-monitoring-and-alerting-solution/


Regards
Gage