This project shows you how to build a cheap ADS-B Aircraft RADAR using a Raspberry Pi and a compatible USB TV tuner.
- Raspberry Pi single board computer  
- USB TV Tuner with RTL-2832U chipset 
- 5V Micro USB power rated to at least 1.2A, although more is probably better. I use one of these .
The following assumes you have a working Raspberry Pi running the Raspian OS. Setup:RPI_Raspian. The RPi must have access to a work internet connection and the current software is up to date. To update the pi run the following 2 commands
sudo apt-get update sudo apt-get upgrade
Install the following support tools
git git-core pkg-config cmake build-essential libusb-1.0-0-dev
sudo apt-get install git git-core pkg-config cmake build-essential libusb-1.0-0-dev
Download and install the driver from http://git.osmocom.org/rtl-sdr/
git clone git://git.osmocom.org/rtl-sdr.git cd rtl-sdr mkdir build cd build cmake ../ -DINSTALL_UDEV_RULES=ON make sudo make install
Enable the udev rules for the device.
cd ~ sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
Restart the RPi and connect the RTL-2832U based USB dongle to your RPi, you should see the light come on.
Dump1090 is a simple Mode S decoder for RTLSDR devices  a recent fork  is also available. Original
git clone git://github.com/antirez/dump1090.git, latest
git clone git://github.com/MalcolmRobb/dump1090.git,
git clone git://github.com/MalcolmRobb/dump1090.git cd dump1090 make
Test the installation a the terminal with
cd ~/dump1090 ./dump1090/dump1090 --interactive
you should see a live update of the available data like this:
A rather more impressive visualisation of the data can be seen via the network interface.
cd ~/dump1090 ./dump1090 --quiet --net &
the & pushes the programme to the background and frees the terminal.
To see the graphical output first find your RPi IP address via
ifconfig | grep 'inet addr:' inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0 inet addr:127.0.0.1 Mask:255.0.0.0
The default port is
8080 so point your webbrowser at
192.168.0.20:8080 and you should see:
Running dump1090 as a Daemon
Based on the instructions here  this is readily achieved by creating an init file.
sudo nano /etc/init.d/dump1090.sh
Paste the example code from the above link, edit the file settings
PROG_PATH="/home/pi/dump1090" PROG_ARGS="--quiet --net"
Make the script executable
sudo chmod +x /etc/init.d/dump1090.sh
Create the runlevel shortcuts with the command:
sudo update-rc.d dump1090.sh defaults
The programme will run automatically on system power up.
To start or stop the new daemon use
sudo service dump1090.sh stop sudo service dump1090.sh start
Broadcast your effort
To make the graphical webpage visible from outside your network, use the port forwarding of your router [TODO].
Contribute to the wider community
Things to check.
- Does your RPi have enough power? Try a powered USB hub for the dongle?