Friday, August 10, 2018

Simple ADS-B Monitoring

I tried out some Linux software tools on a x86 box with my old USB SDR dongle recently and wondered if I could do the same things with a Raspberry Pi ZeroW since the power requirements are much less than a PC or Laptop.

The SDR tools I was interested in are rtl_433 and dump1080 .

I stumbled across a web resource that was basically using dump1080 on a Raspberry Pi Zero just like I wanted. The difference was that this was a modified version of dump1080 for use with flightaware.

In the end this was a benefit since running a ground station for flightaware gives you free access to a Enterprise account on their site.

I am running this basically 24x7 now with the simple hardware below. The USB battery is constantly being charged from the line as a basic UPS. Unfortunately this USB battery drops the output when charge power is removed or inserted so it is really not a UPS (so the Pi reboots)  but since I am using a dietpi image for the Raspberry Pi, Dietpi is configured to put all the logs in memory and not on the SD card and I believe corruption is minimized. I have observed excellent uptime.


The basic recipe to get this up and running with the above hardware is to install DietPi --> HERE you can script the setup of the Wifi so it can be completely "headless" and no need to fumble with a keyboard and monitor. Then after about 30 minutes you can SSH in and run the below commands and you will be operational.
       

wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.3.0_all.deb
sudo dpkg -i piaware-repository_3.3.0_all.deb
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get install -y piaware fail2ban libio-socket-ssl-perl
sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
sudo apt-get install dump1090-fa -y
sudo reboot

       
 

No comments:

Post a Comment