Close

Getting the first setup working

A project log for FOXlink mk I – Off-Grid Digital Communication Term

Standalone off-grid communication and navigation terminal for analog radios, powered by Rattlegram and Raspberry Pi.

old4meadowsold4meadows • a day ago•0 Comments

Getting the first setup working

Once the first parts arrived, I started assembling them and getting the Raspberry Pi ready. I connected the screen HAT and USB sound card. Before soldering the microphone and speaker in place, I tested the sound card with a headset.

I made a simple test: one button recorded five seconds of audio, and another played it back. The first steps were about getting sound in and out of the Pi and making sure the screen and controls worked. It took some experimenting, but gradually the basic setup started to come together.

For these early tests, I used Rattlegram CLI, a basic C++ command-line version of the Rattlegram app. The CLI project is available on GitHub, and the original Rattlegram project is also on GitHub.

Once the audio test worked, I asked ChatGPT to help me write a program that used Rattlegram CLI to decode a message sent from the Rattlegram mobile app. After that, I asked ChatGPT to help me write a program that encoded a message as Rattlegram audio and played it through the sound card. The Rattlegram app on my phone could then decode the message. I ran these tests in the terminal over SSH.

Once that was working, I wanted to add a graphical interface. I pictured an inbox where I could see all the messages, and a compose screen with a virtual keyboard for writing new ones. I also knew I needed a settings menu where I could enter my callsign.

Discussions