
Radikant-ADS-C is a source agnostic ADS-B Library for tracking aircraft on 1090 Mhz
Radikant-ADSB-C is IQ source ignorant C library for demodulating and decoding Mode-S and ADS-B messages from raw SDR baseband samples so aircraft can be tracked offline with a laptop and SDR. It features a built-in I/Q demodulator with adaptive signal gating and fully decodes 56/112-bit frames, resolving CPR positions, velocities, and altitudes. Built with the Inversion of Control paradigm, it functions as a deterministic state machine that processes pushed samples synchronously and emits real-time aircraft updates via an event-driven API. In order to test the library a small antenna was build from scraps and tuned to the resonant frequency with a Vector Network Analyzer.

Figure 1 - Dipole Antenna from Scraps
ADS-B C operates on 1090 Mhz, I built a dipole antenna using scrap materials I had lying around. At 1090 Mhz, the wavelength (λ) is approximately 27.5 cm. Since a standard dipole is a half-wavelength long, each element needed to be roughly 6.8 cm. I intentionally cut the elements slightly long so I could trim them down later using a VNA to tune the antenna to the exact resonant frequency.

Figure 2 - Calibrating the VNA
I set up the Vector Network Analyzer for a 500 MHz to 1.6 GHz sweep, keeping our 1090 MHz target roughly in the center. After also increasing the measurement points to 2004 for higher resolution, the antenna was ready to be tuned.

Figure 4 - Tuning the Antenna
After trimming the antenna elements one millimeter at a time, I achieved a VSWR of 1.2, making the antenna resonant at 1090 MHz. During testing, I observed that the antenna is highly sensitive to nearby mass. In the worst-case scenario, moving the antenna around caused the VSWR to increase to 1.7. However, this still equates to an efficiency of approximately 93%, which remains entirely acceptable.
After trimming the antenna elements one millimeter at a time, I achieved a VSWR of 1.2, making the antenna resonant at 1090 MHz. During testing, I observed that the antenna is highly sensitive to nearby mass. In the worst-case scenario, moving the antenna around caused the VSWR to increase to 1.7. However, this still equates to an efficiency of approximately 93%, which remains entirely acceptable.
Figure 5 - Library Example Truncated
Notice how the on_sample function callback is RTL-SDR library callback that feeds the statemachine with push_samples. The other callbacks fired if the statemachine makes detections.
Figure 6 - Library Example Truncated
A typical terminal output, recordered in Tokyo

Figure 4 - Tuning the Antenna