Skip to content

Instantly share code, notes, and snippets.

@rberg2
Last active February 12, 2022 16:26
Show Gist options
  • Save rberg2/f87d6758fe84f526f609b45ff47f0ede to your computer and use it in GitHub Desktop.
Save rberg2/f87d6758fe84f526f609b45ff47f0ede to your computer and use it in GitHub Desktop.
LimeSDR and Flightaware / dump1090
# Create a named pipe. Otherwise this file will grow very large.
$ mkfifo /tmp/1090.dump
# Use rx_sdr to tune to 1090Mhz setting a sample rate, gain, and hopefully nchan1 is LNAH
# rx_sdr will pause waiting for the other end of the fifo to connect.
# Note change or remove this 'serial=' paramater
$ rx_sdr -f 1090000000 -s 2400000 -g 75 -d driver=lime,soapy=0,serial=00000,nchan1 /tmp/1090.dump
# for the dump1090 CLI
$ dump1090-fa --interactive --fix --dcfilter --stats --ifile /tmp/1090.dump
# or use the web UI
# edit /etc/default/dump1090-fa and use
RECEIVER_OPTIONS=" --gain -10 --ppm 0 --net-bo-port 30005 --ifile /tmp/1090.dump"
# stop dump1090-fa, restart rx_sdr, then start dump1090-fa agian
# I still need to setup a systemd service that will start create the fifo, start rx_sdr while starting dump1090-fa
# Note if either side of the fifo disconnects both sides will need to be restarted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment