User avatar
scrishton
Posts: 49
Joined: Mon May 07, 2012 8:48 pm
Location: Settle, in the Yorkshire Dales
Contact: Website

Portable ADS-B low flying aircraft alarm

Sat Apr 01, 2017 8:27 pm

I have a Pi in my loft receiving ADS-B aircraft signals and sending them to the Planefinder website. All works very well. Most of the transmissions have location data, but some aircraft, including military ones, only give their altitude.

I have recently started flying a drone. I am very careful to only fly in uncontrolled airspace and below 400 feet where I should be both legal and safe. Unfortunately some of the low flying planes around my home area fly below their supposed minimum altitude of 500 feet.

It should be fairly simple to build a portable low flying aircraft alarm based on Dump1090 which alerts me if there are any ADS-B signals showing low altitude and good signal reception.

I am reasonably familiar with Python, and with GPIO stuff, but don't know how to read the Dump1090 output into a Python script. Any suggestions would be most welcome.

Killer_Hacker
Posts: 1
Joined: Tue Sep 08, 2020 5:19 am

Re: Portable ADS-B low flying aircraft alarm

Tue Sep 08, 2020 5:26 am

I also searching for this kind of ' Low Altitude Flight Alerts ' using my Raspberry pi with Dump 1090 !
Please ...
any suggestions ?



:roll: :?

nliviu
Posts: 51
Joined: Tue Jun 23, 2020 1:24 pm
Location: Romania

Re: Portable ADS-B low flying aircraft alarm

Tue Sep 08, 2020 12:08 pm

The easiest way would be to connect to port 30003 from dump1090 and parse the data.
Example output:

Code: Select all

MSG,6,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,,,,,,,4701,0,0,0,
MSG,6,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,,,,,,,4701,0,0,0,
MSG,5,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,43000,,,,,,,0,,0,
MSG,5,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,43000,,,,,,,0,,0,
MSG,6,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,,,,,,,4701,0,0,0,
MSG,5,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,43000,438,301,,,,,0,,0,
MSG,4,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,,439,301,,,0,,,,,0
MSG,3,1,1,424776,1,2020/09/08,15:03:23.465,2020/09/08,15:03:23.465,,43000,,,44.11766,26.85295,,,0,,0,0
MSG,5,1,1,424776,1,2020/09/08,15:03:23.465,2020/09/08,15:03:23.465,,43000,,,,,,,0,,0,
MSG,4,1,1,424776,1,2020/09/08,15:03:23.465,2020/09/08,15:03:23.465,,,439,301,,,0,,,,,0
MSG,5,1,1,424776,1,2020/09/08,15:03:24.504,2020/09/08,15:03:24.504,,43000,,,,,,,0,,0,
MSG,6,1,1,424776,1,2020/09/08,15:03:24.504,2020/09/08,15:03:24.504,,,438,301,,,,4701,0,0,0,
MSG,5,1,1,424776,1,2020/09/08,15:03:24.504,2020/09/08,15:03:24.504,VPCCN   ,43000,,,,,,,0,,0,
The format of the data is described here

pidd
Posts: 1288
Joined: Fri May 29, 2020 8:29 pm
Location: Birkenhead, Wirral, UK
Contact: Website

Re: Portable ADS-B low flying aircraft alarm

Tue Sep 08, 2020 1:14 pm

scrishton wrote:
Sat Apr 01, 2017 8:27 pm
Unfortunately some of the low flying planes around my home area fly below their supposed minimum altitude of 500 feet.
Report them to ATC, they usually fob you off on the first couple of reports (sometimes outright denial along with maps that disagree with what you know is fact - one I was was given showed the aircraft didn't go directly over my house - I saw it!) but if you show a pattern they eventually start to take action and run out of excuses. There's a minimum height for safety reasons (eg not to destroy any Raspberry Pis), there's only so often they can claim that is was an operational safety requirement to fly below.

Great idea for a project.

Any recommends on one ADS receiver over others?

nliviu
Posts: 51
Joined: Tue Jun 23, 2020 1:24 pm
Location: Romania

Re: Portable ADS-B low flying aircraft alarm

Wed Sep 09, 2020 10:54 am

pidd wrote:
Tue Sep 08, 2020 1:14 pm
Any recommends on one ADS receiver over others?
Currently I use RTL-SDR Blog V3 R820T2 RTL2832U 1PPM TCXO SMA Software Defined Radio

Other options might be the FlightAware sticks, eg. FlightAware Pro Stick Plus

bls
Posts: 877
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA
Contact: Twitter

Re: Portable ADS-B low flying aircraft alarm

Wed Sep 09, 2020 2:02 pm

nliviu wrote:
Wed Sep 09, 2020 10:54 am
pidd wrote:
Tue Sep 08, 2020 1:14 pm
Any recommends on one ADS receiver over others?
Currently I use RTL-SDR Blog V3 R820T2 RTL2832U 1PPM TCXO SMA Software Defined Radio

Other options might be the FlightAware sticks, eg. FlightAware Pro Stick Plus
I'm using one of the RTL-SDR USB dongles as well, with FlightAware24. Works well on the Pi. Not surprisingly, it does run a bit on the warmish side. I wasn't ready to make a big antenna investment, so got one on Amazon with a pair of rabbit ears mounted on a tripod indoors, and picks up signals average range 22nm and up to 40nm.
Pi tools:
Quickly and easily build customized-just-for-you SD Cards: https://github.com/gitbls/sdm
Easily run your network's DHCP/DNS on a Pi: https://github.com/gitbls/ndm
Easy strongSwan VPN installer/manager: https://github.com/gitbls/pistrong
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo

pidd
Posts: 1288
Joined: Fri May 29, 2020 8:29 pm
Location: Birkenhead, Wirral, UK
Contact: Website

Re: Portable ADS-B low flying aircraft alarm

Wed Sep 09, 2020 4:36 pm

bls wrote:
Wed Sep 09, 2020 2:02 pm
nliviu wrote:
Wed Sep 09, 2020 10:54 am
pidd wrote:
Tue Sep 08, 2020 1:14 pm
Any recommends on one ADS receiver over others?
Currently I use RTL-SDR Blog V3 R820T2 RTL2832U 1PPM TCXO SMA Software Defined Radio

Other options might be the FlightAware sticks, eg. FlightAware Pro Stick Plus
I'm using one of the RTL-SDR USB dongles as well, with FlightAware24. Works well on the Pi. Not surprisingly, it does run a bit on the warmish side. I wasn't ready to make a big antenna investment, so got one on Amazon with a pair of rabbit ears mounted on a tripod indoors, and picks up signals average range 22nm and up to 40nm.
Thanks for both replies.

Return to “Other projects”