In the AV Bay, the Raspberry Pi 4B program collects the temperature (MCP9600), pressure (ADS1115), and load cell(NAU7802) sensor data using an I2C data bus on the Raspberry Pi. This sensor data is compiled and sent via serial to the GS over 9600Bd to achieve a theoretical transmitting distance of 33,000ft.
On the ground station, the multithreaded program uses serial communication with a baud rate of 9600Bd to read and write commands to the AV Bay. All serial data read through the GS is parsed through an algorithm to separate the sensor data into a CSV file and output terminal statuses to a GUI.
One of the largest obstacles in this program was the parallel sending of sensor data and terminal output information. Both of these data outputs are sent through and received through the same serial port, meaning that data gets jumbled into a big mess. This was overcome by wrapping the sensor and terminal output data in special symbols. An extractor class then isolates either, allowing the program to access both values independently.