SDR OGN flarm
This page is a preliminary release until I build a unit.
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.
bias-T
- Version 3 (only) https://github.com/mypiaware/rtlsdr_bias_tee
- using rtl_bias_tee
sudo apt update sudo apt install libusb-1.0-0-dev git cmake build-essential git clone https://github.com/rtlsdrblog/rtl_biast.git cd rtl_biast mkdir build cd build cmake .. make sudo make install # This installs the executable to /usr/local/bin, making it accessible from anywhere
- enable /disable
rtl_biast -b 1 rtl_biast -b 0
replace the rtlsdr driver
- purge the previous driver:
sudo apt purge ^librtlsdr sudo rm -rvf /usr/lib/librtlsdr* /usr/include/rtl-sdr* /usr/local/lib/librtlsdr* /usr/local/include/rtl-sdr* /usr/local/include/rtl_* /usr/local/bin/rtl_*
- Install the RTL-SDR Blog drivers:
sudo apt-get install libusb-1.0-0-dev git cmake git clone https://github.com/rtlsdrblog/rtl-sdr-blog cd rtl-sdr-blog mkdir build cd build cmake ../ -DINSTALL_UDEV_RULES=ON make sudo make install sudo cp ../rtl-sdr.rules /etc/udev/rules.d/ sudo ldconfig
Blacklist the DVB-T TV drivers
echo 'blacklist dvb_usb_rtl28xxu' | sudo tee --append /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf
- Reboot
(alternative) Installation If you rely on FlightRadar24 or FlightAware
Using ADSBExchange images you can update them directly using this method:
sudo apt update sudo apt install libusb-1.0-0-dev git cmake sudo apt install debhelper git clone https://github.com/rtlsdrblog/rtl-sdr-blog cd rtl-sdr-blog sudo dpkg-buildpackage -b
links
- https://hub.balena.io/apps/2130406/balena-ogn
- https://www.glidernet.org/
- https://github.com/pjalocha/ogn-tracker
- tracker RTL-SDR installation http://wiki.glidernet.org/wiki:manual-installation-guide
- http://wiki.glidernet.org/wiki:raspberry-pi-installation
- https://osmocom.org/projects/rtl-sdr/wiki/Rtl-sdr
- https://blog.jokielowie.com/en/blog/sledzimy-szybowce-samoloty-helikoptery-i-balony-cz-3-flarm
- OGN-R https://uploads-ssl.webflow.com/5d56c24810fbfdbe08b488cd/5f82ea92f07fa33286a10c4c_Upgrading%20OGN%20to%20OGN-R.pdf
repos
- https://github.com/VirusPilot/ogn-pi34
- https://github.com/ketilmo/balena-ogn
- https://github.com/snip/OGN-receiver-RPI-image
- https://gitea.osmocom.org/sdr/rtl-sdr.git
- https://gitea.osmocom.org/sdr/gr-osmosdr
- https://github.com/glidernet
- ogn-rf source code https://github.com/glidernet/ogn-rf
- https://github.com/tobiz/OGN-Flogger
- APRS https://github.com/glidernet/ogn-aprs-protocol
- https://github.com/pjalocha/ogn-frb-search
- https://github.com/cedric-dufour/pi-station