ADS-B Receiver with Raspberry Pi B+ and RTL-SDR

Ekran Resmi 2015-05-15 20.58.38

This was my Friday night project and the cost was zero except for two beer.

Required Parts

  • Raspberry Pi (B, B+ or Pi2)
  • RTL-SDR dongle (5$ on Ebay) (original antenna is OK)
  • Wifi Dongle (or Ethernet connection)


Run following commands on raspberry pi terminal.

sudo apt-get update
sudo apt-get upgrade
<following 2 lines are the single line, copy them together>
sudo printf 'blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830' > /etc/modprobe.d/nortl.conf
sudo apt-get install git-core
sudo apt-get install git
sudo apt-get install cmake
sudo apt-get install libusb-1.0-0-dev  
sudo apt-get install build-essential 
git clone git://
cd rtl-sdr
mkdir build
cd build
sudo make install
sudo ldconfig
cd ~
sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
sudo reboot 
<It will reboot>
rtl_test -t 
cd ~ 
git clone git://
cd dump1090
sudo apt-get install pkg-config
./dump1090 --interactive --net

You will see the similar output below

Ekran Resmi 2015-05-16 20.15.14


Dump1090 is including a web server.
So, type “http://<yourPI_IP>:8080” and press enter on your web browser.

you can visit my receiver from this link if it is online:

Ekran Resmi 2015-05-15 20.58.38

Thats all, Now find the best position for your antenna.

Run Automaticaly on Startup

It’s looking great, but you have to type

cd dump1090
./dump1090 --interactive --net

these commands after each reboot. So, we need a startup script for our automated ADS-B receiver server.

Type following lines

cd ~ 
sudo nano

copy the following text into the file.

# Provides: fr24
# Required-Start: $remote_fs $syslog $time 
# Required-Stop: $remote_fs $syslog $time 
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start Adsbox and Flightradar24 feeder at boot time 

killall dump1090

cd /home/pi/dump1090/
./dump1090 --interactive --net

press CTRL+X then enter to save this file to the home directory.

Type following lines

sudo chmod +x
sudo crontab -e

copy the following text into the cron. These lines will run the script automatically on startup and refresh continuously.

@reboot sleep 20;/home/pi/
0 */8 * * * /home/pi/

press CTRL+X then enter to save the cron. then reboot with following command.

sudo reboot

If everything is OK, your server will be online automatically in a minute.



Leave a Reply

Your email address will not be published. Required fields are marked *