Getting PlutoTRX to run smoothly on the Raspberry Pi 5 took a fundamental redesign of the program structure. As in all my projects, Claude Code did the programming. I provided the requirements, the testing and feedback from real-world operation.
On Windows and macOS, all functions used to run in a single Python process. For the Raspberry Pi 5, Claude Code split them into several independent processes:
- LogRunner
- PlutoTRX
- Monitoring of the middle beacon
- Reception of the multimedia beacon
Further optimizations were added:
- Waterfall display: It updates less often while transmitting.
- Transmit path: Claude Code optimized the signal processing and moved compute-intensive functions into C libraries.
Despite all these measures, the transmit buffer still has to be set to 500 ms to keep dropouts to a minimum. The connected monitor should also run at no more than 1920 × 1080 pixels, since any higher resolution puts extra load on the Raspberry Pi 5.
Since version 0.9.6b63, LogRunner and PlutoTRX on the Raspberry Pi 5 use PyQt6/QtWebEngine instead of GTK/WebKit. Claude Code made this switch because PyQt6/QtWebEngine needs considerably less CPU time, which adds headroom for load peaks. While transmitting, the waterfall displays now update at 5 frames per second instead of 2.
Claude Code later carried the same redesign over to Windows and macOS. This leaves enough performance headroom even on less powerful Windows machines.
Splitting the functions into separate Python processes also laid the groundwork for the next project: the PlutoTRX Bridge.
PlutoTRX Bridge (in development)
The PlutoTRX Bridge reduces the amount of data that has to travel between the ADALM-Pluto or Pluto+ and the station computer. This makes a Wi-Fi connection possible.
The bridge runs on a Raspberry Pi 5 that is connected directly to the Pluto by LAN cable. The actual data processing now happens on the Raspberry Pi. Only a fraction of the data that would normally go over the network interface still has to travel over Wi-Fi between the Raspberry Pi and the station computer.
The idea came from my own setup: my QO-100 station sits on my balcony, and there is no wired network connection from there to the shack. Until now, my workaround was to run a network cable through the apartment. With the PlutoTRX Bridge, which Claude Code is currently building, the RJ45 cable is no longer needed, because the link now works reliably over Wi-Fi.
VY 73, Robert – DL1EGL