Mutability

A few summers ago my project was to build an ADS-B receiver and use the data collected to upload to an aircraft tracking website. If you want to see what I see then go to:

360 Radar

I don’t remember the details about how I found this but the project was good fun and I got the Raspberry Pi in the loft with a decent aerial, filter and pre-amp, and it was all working fine. I was using a lovely piece of software called Virtual Radar Server and was able to use this as a web server and people could see the aircraft on web pages served by the Pi.

360 Radar is good because it using multi-lateration to detect the positions on military aircraft. This is pretty handy for spotters like me and it also works well when I take cadets to RAF Wittering for some Air Experience Flying, I can see where my cadets are in the air.

Over the last few months I’d been receiving outage warnings from the 360 guys. It would appear that my Pi had stopped sending them data and while I live in a flight-busy area of the country and there’s plenty of contributors here every little helps. I had the occasional outage and this seemed to be when the router reset and the Pi wouldn’t re-find the existing wi-fi network. I just had to power cycle the Pi and everything worked fine. The outages seemed to be occurring more over the last while with the Pi stopping feeding every few days.

At first I thought it was a wi-fi issue so I bought some new ethernet-over-power adapters and linked the system into the route via a wired connection. This also meant I could ssh in to the Pi even if wifi was the original problem. I tried to work out how to turn the wifi connection off entirely but just ended up changing the SSID the Pi looked for as a simle way of ensuring the wired connection took preference.

After a week of testing I was still getting outages and my initial thought was that the VRS software was making the Pi work too much. I’m not sure why I thought that but I looked up ways to remove VRS. This was not the easiest as I had installed it years ago and couldn’t remember how it ran within the OS. I eventually managed to remove the Mono service and this stopped VRS running.

It was at this point I worked out how to use the log file of the MLAT client and I could see that all the software seemed to be working fine it was the Dump1090 program that didn’t seem to be sending data internally. I figured that Dump1090 had somehow stopped receiving the signal from the aerial. It all worked fine after a reboot and so I decided to replace the USB dongle that was decoding the ADS-B signals. I ordered a FlightAware USB stick and at the same time decided I would rebuild the Pi OS from scratch to have a “clean” build.

Once the new USB stick arrived I turned off all the systems and followed the excellent instructions from the 360 Radar guys to rebuild the OS of the Pi and just run a lite version of what I had been doing before. This took a while as I mistakenly thought the Pi wasn’t uploading to 360 because I was looking at the wrong server details. After an email to the support chaps it turned out I was contributing and a couple of hours of troubleshooting by me hadn’t been worth it!

So, the Pi sits in the loft, chugging away supplying data to 360 Radar, in return for which I get free access to their excellent tracking site. I’m running dump1090-mutability along with the MLAT-Client from 360. I’d really like to be able to allow you all to see the output of this but Mutability doesn’t have an external feed and I am not opening up my 80 port for the world.

Output of dump1090-mutability
Output of dump1090-mutability

Aerial

A short while ago my proper aerial turned up for the ADS-B system I have running in the loft. See this communication and this one also. This new aerial means I should have a better receiver based in the loft. It is currently picking up 47 aircraft flying within range and the Virtual Radar Server gives the following as a webpage output:

VRS3

There is a sidebar which connects to the web and gives me information about the selected aircraft and the others flying within range. This does not show all aircraft, only those with an ADS-B transponder. I also supply my data to a MLAT service for 360Radar.

The above photo shows the system in the loft. The white stick is a surround for the aerial. This connects to a dongle which connects to a Raspberry Pi3 and this, in turn, connects wirelessly to my home network.

I know you really want to know about the splat so here they are. Firstly one from before the new aerial.

Constriction
Constriction

Here’s the latest, all altitudes are in one colour.

splat4

The range is a bit better with two very odd pips into central France. The following is a colour one for you mammals out there.

splat5

The next thing is to try installing a purpose made ADS-B USB stick. After that I think I will stop. It appears to be one of those “who can get the best splat” things online and I’m not interested in taking part.

Sledgehammer

This is an update on the ADS-B device. I have written about this in the previous two communications, here and here. So, on Tuesday 2nd August the Raspberry Pi arrived. Since then I have been setting it all up so the receiver is no longer dependent on the PC being on.

 

The first thing was to install the correct OS on the Pi. The picture shows it in initial phase with monitor, ethernet, keyboard and mouse all connected. Once the OS was installed I had to tell it to not load the GUI and just run a command line. Then, I got it connected to the network and pretty much removed all the cables apart from power.

I can connect to the Pi using SSH and run script from the command line. Next phase was to load the USB stick drivers and software. This was reasonable. Next up was the ADS-B reading software, installing and getting it running seemed easy enough and then I had to adjust some code to make sure this service starts up from boot. Next software to load was the MLAT server program, this was easy enough although initially I couldn’t quite find the correct code to check it was running.

Then, the whole set up was tested in the dining room window.

Today has been the task of moving the unit to the loft. I didn’t have any power sockets up there so one had to be installed and that took the time! Once that was done the system just needed to be secured onto the main beam in the loft. The important thing is to keep the length of the cable from aerial to dongle as short as possible, this increases the signal going into the Pi. The loft set up has been tested and it is running fine.

I have access to the Pi either via the PC using a program called PuTTY or the iPhone using an SSH connection. I can shut down the Pi remotely and monitor the internal temperature of the device. It is running at a range of 50-60 Celsius. Using a Pi to run this software is a bit like taking a sledgehammer to a walnut. But, it is independent and runs remotely. I am happy this procedure was reasonably straight forward!

The next stage is to get a more specialist aerial and maybe a more specific USB Dongle. However, this is one of those things where the amount of money you spend can be unlimited. You know, I could just install a radar up in the loft. However, here is the current splat for the range of the aircraft from my ADS-B receiver.

Loft Splat
Loft Splat

Now that I’ve been reading a bit more about this type of thing I can explain a little more. ADS-B is broadcast by many aircraft and they send this on 1090MHz. These are the signals I receive in the loft and can see on my Virtual Radar Server software. I also send these signals over the internet to a new “radar” website. The ADS-B signals contain bits of information about position and heading, these are sent to a server which can determine positions of other aircraft by using time differences between signals arriving, this is called MultiLateration or MLAT. My Pi is part of this network allowing Radar360 to “see” more aircraft than just ADS-B alone.