Last updated 2022/05/01 on commit ee37ed4d4c176eab1cd72d50df63b91d229a02f5
Overview
ST PATS is a device the shows the location, direction, and distance of the rocket. In the center, there are 3 buttons, 2 LEDs, and 1 screen. On the right, there’s a reset button and a power switch.
...
The radio and serial mode can be toggled using the right button. At the time of writing, the live telemetry is not done yet, so I used an Arduino to send fake coordinates at 57600 baud to test serial reading and parsing. In theory, plugging in configured live telemetry breakout should just work. In reality, who knowsIn radio mode, it parses the serialized CAN messages sent from the rocket and decodes the GPS locations. The UART of radio is set at 57600 baud.
Serial Telemetry
As an alternative to radio telemetry, USB serial can also be used to send GPS coordinate to stpats. The serial mode can be switched to using the right button. The GPS message has the format of [0-9]+.[0-9]*[NSEWM]
, for example: 12.34N56.78W90M
means 12.34 degrees north, 56.78 degrees west, 90m high. The altitude information is not used in the calculations so it’s optional.
...