SDR OGN flarm: Difference between revisions

From regional-training
No edit summary
Line 65: Line 65:
[[category:SDR]]
[[category:SDR]]
[[category:OGN]]
[[category:OGN]]
[[category:flarm]]
[[category:FLARM]]
[[category:index]]
[[category:index]]
[[category:public]]
[[category:public]]

Revision as of 14:25, 2 December 2025

instructions

How to Run OGN FLARM and PiAware on the Same Raspberry Pi

To run OGN FLARM and PiAware on the same Raspberry Pi, you need to use a standard Raspberry Pi OS image and install the software packages for each application separately, as the dedicated PiAware image is designed for a single purpose.

Hardware Requirements

Two RTL-SDR Receivers: PiAware (for ADS-B at 1090 MHz) and OGN (for FLARM at 868 MHz in Europe, frequencies vary elsewhere) operate on different frequencies. Two Antennas: One for 1090 MHz and one for the OGN frequency. A Power Supply: A strong power supply is needed to power the two SDRs and the extra load on the CPU. Optional: A diplexer/splitter can be used with a single antenna if an appropriate LNA and filters are used, but using two separate antennas and SDRs is simpler for beginners.

basic instructions

sudo apt install git cmake build-essential libusb-1.0-0-dev librtlsdr-dev procserv telnet -y
cd ~
git clone https://github.com/glidernet/ogn-receiver.git
cd ogn-receiver
cmake .
make
  • service ?
sudo wget http://download.glidernet.org/common/service/rtlsdr-ogn -O /etc/init.d/rtlsdr-ogn
sudo wget http://download.glidernet.org/common/service/rtlsdr-ogn.conf -O /etc/rtlsdr-ogn.conf
sudo chmod +x /etc/init.d/rtlsdr-ogn
sudo update-rc.d rtlsdr-ogn defaults
  • serialise dongles

This is crucial. You need to ensure each software uses a different SDR dongle. Find the serial numbers of your dongles by running: bash rtl_eeprom -t Use code with caution.

You can change the serial number of one dongle using rtl_eeprom -s <new_serial_number>. Then, configure dump1090-fa and rtlsdr-ogn to use specific serial numbers in their respective configuration files (/etc/default/dump1090-fa and /etc/rtlsdr-ogn.conf) by adding the device-index or serial option.

Both services should now run concurrently, each using its dedicated SDR hardware. You can check their status via sudo systemctl status piaware and sudo service rtlsdr-ogn status.

links

repos

ESP32