This project aims to provide a simple Ground Station to ease development of the PoCat PockeQubes and provide easy debugging and data reception coordinated with the COMMS Subsystem. This is then an Arduino script to control an AB01 Dev-Board (V2) to provide simple reception and transmission of data as well as a script to decode information from the PoCat-1 Payload.
This Arduino sketch implements the main logic for sending and receiving telecommands over LoRa, including:
- Packet interleaving for error resilience
- Telecommand handling via serial interface
- LoRa radio configuration (frequency, spreading factor, coding rate, etc.)
- Callbacks for transmission and reception
- Support for a wide range of telecommands (see
telecommandIDSenum in the code)
The code is documented throughout for clarity and ease of modification.
The sketch makes use of the Cubecell Framework (https://docs.heltec.org/en/node/asr650x/asr650x_general_docs/quick_start/cubecell-use-arduino-board-manager.html). This should be installed in order to communicate with the board.
This tool decodes raw LoRa data received from the PoCat 1 VGA Camera and reconstructs the original JPEG image taken by the satellite.
- A
.txtfile containing the raw messages sent by the satellite.- Each line should represent a received message in hexadecimal format, as output by your LoRa receiver.
- A
.jpgfile containing the decoded image.- The script processes the input file and reconstructs the original JPEG image captured by the PoCat 1 camera.
- Run the provided
Filter.pyscript or use the includedFilter.exefile for a graphical interface. - Select your raw input
.txtfile when prompted. - Preview the file contents in the application.
- Click "Save as JPG" and choose the output location and filename.
- The decoded JPEG image will be saved to your chosen location.
- The
.exefile provides the same functionality as the Python script, without requiring Python to be installed. - Make sure your input file is in the correct format (raw hex messages from the satellite).
- The
Filter_exe_code.pyfile provides the source code for building the executable.
PoCat_LoRaArduinoGS/PoCat_LoRaArduinoGS.ino— Main Arduino ground station codeImage Decoding/— Tools for decoding and reconstructing images from received LoRa data