FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12078 questions

14373 answers

22645 comments

36197 members

0 votes
278 views 0 comments
by
Hello,

we are considering using the RUT955 for a high-frequency monitoring application. The sensor we want to monitor is a device that continuously sends 10Hz data through RS232 as plain text, it does not have Modbus or similar interfaces. It should be easy to implement a small shell script that reads this data, sends it to a MQTT broker, and stores a text backup in the internal microSD card, as long as the router allows hardware access for the scripts. Also, we hope to be able to access the GPS position from scripts. ¿Is this kind of access possible?

Thanks.

1 Answer

0 votes
by

Hello,

You can read incoming data to RS232, by executing the command: cat /dev/rs232

And for GPS you can run the command: cat /dev/gps