Category: Applications

Tracking Tagged Orangutans in the Bornean Jungle with Drones, GNU Radio and an Airspy Mini

Due to various human activities causing the environmental destruction of it's habitat, the Orangutan is now classed as a critically endangered species. In addition to being endangered, Orangutans face another problem in that they are often captured and sold as pets due to their intelligence and cuteness.

To combat these problems, NGOs, charities and rescue centers have been using RF tags on rehabilitated Orangutans that have released back into the wild. The RF tag regularly transmits a data-less pulse at VHF frequencies which is then typically tracked using direction finding equipment such as a directional Yagi antenna. The range is only approximately 200-400m. 

In order to try and alleviate the range issue Dirk Gorissen has been working on creating a drone based system that could detect the VHF transmission and create a heatmap of Orangutan positions. The first iteration of his system uses an RTL-SDR, Odroid and lightweight loop antenna. A simple Python script then monitors the spectrum and logs the drones current location, altitude, speed and heading when a pulse is detected. Tests confirmed that the signal was able to be detected from the sky, but unfortunately the drone was eventually crashed and lost before it could be properly used.

In his second try a few years later, Dirk used a larger drone and switched SDRs to an Airspy Mini with preamp. The pulse detection code was also improved by using GNU Radio to create a DSP algorithm combining peak detection, cross correlation with a known template of the signal, and a phase locked loop. Visualization and data transfer is achieved through react.js and a Flask web server running on the drones WiFi hotspot. This time with the new drone and system Dirk was able to successfully detect and locate several Orangutan's on various flights, despite noting that some RF tags appeared to be glitchy.

Orangutan Detected with Drone, Airspy Mini and GNU Radio.
Orangutan Detected with Drone, Airspy Mini and GNU Radio.
Drone used in the experiment
Drone used in the experiment

Using an RTL-SDR to Monitor A Tire Pressure Sensor used in Home Brewing

Over on YouTube Andreas Spiess has been helping his friend create a pressure monitoring system for his home brew beer bottles. In order to do this, Andreas uses an externally mounted after market wireless tire pressure sensor whose data can be received with an RTL-SDR and the rtl_433 decoder software. Modern vehicle tires contain a TPMS (tire pressure monitoring system) sensor, which keeps track of tire pressure, temperature and acceleration. The data is wirelessly transmitted via 433 or 315 MHz to the cars dashboard and computer for safety monitoring.

In the first video Andreas discusses tire pressure monitors and how they could be used for other non-tire applications, talks a bit about the wireless protocol used, and how to reverse engineer it. He notes that the author of rtl_433 was able to implement his particular tire pressure sensor brand's protocol into the rtl_433 database, so now anyone can decode them. Finally in this video he also shows that he can easily spoof a flat tire signal using a HackRF and GNU Radio which might cause a modern high end car to refuse to move.

The second video shows how to continuously monitor that TPMS data for the home brew set up. Andreas uses an RTL-SDR and Raspberry Pi running rtl_433, which outputs it's data into Mosquitto, Node-Red, InfluxDB and the Grafana. These programs help to read, manage, log and graph the data. The rtl_433 program is also monitored by Supervisord which automatically restarts rtl_433 if the program crashes.

If you are interested, there is a related video that was uploaded in between the two shown below which shows how he created a 3D printed cap to mount the valve and tire pressure sensor on the beer bottles.

#261 Measure Pressure Remotely (including TPMS Hacking / Attack) for Beer Brewing

#270 Safely Monitor and Alarm with Supervisord and Telegram

NOAA-APT Software Decoder: Users Guide Now Available

Back in August, 2018 we posted about NOAA-APT, which back then was a new NOAA APT image decoder program. Recently Martin, the author of NOAA-APT has written in and wanted to note that he's now created a guide and video tutorials for his software, and for NOAA APT reception in general.

NOAA weather satellites broadcast an Automatic Picture Transmission (APT) signal, which contains a live weather image of your area. With an RTL-SDR and antenna they can be received and downloaded every time one of the satellite's passes overhead which could be multiple times a day.

Our standard NOAA weather satellite tutorial makes use of SDR#, audio piping and the WXtoIMG to receive NOAA satellite images. Martin's guide and software might be slightly easier for newbies as it only involves recording an audio WAV file, then loading it up into his software. The disadvantage is that the image is not colorized, and not displayed in real time as it is in WXtoIMG.

As you may already know, the old standard software in NOAA image decoding, WXtoIMG, is now considered abandonware, and the only place to get it is from a third party mirror rehosting the now defunct WXtoIMG website. As WXtoIMG is closed source no further development can occur on it. Martin's NOAA-APT still misses a lot of the advanced features of WXtoIMG but it is fully open source and multiplatform, and so it is a very promising program.

Receiving NOAA satellite images with noaa-apt and SDR#

SignalsEverywhere: P25 Trunking with Just One RTL-SDR and DSDPlus Fastlane

Over on YouTube Corrosive from the SignalsEverywhere channel has uploaded a new video showing us how to set up P25 trunking and decoding with DSDPlus Fastlane and only a single RTL-SDR.

Normally two dongles are required to follow a P25 trunking system. One dongle continuously receives the trunking channel, and a second tunes to the voice channel chosen by the trunking channel. However, the latest DSDPlus Fastlane has a feature that allows one only dongle to be used. It works by tuning back and forth between the control and voice channel. The disadvantage is that trunking information could be missed while tuned to a voice channel, so some calls could be missed.

RTL SDR Setup P25 Trunking With 1 SDR and DSDPlus FastLane

Demonstrating HFDL Reception with a Cloud-IQ SDR and MultiPSK

Over on YouTube user Shortwave Bavaria has uploaded a video that demonstrates HFDL reception. HFDL is short for High Frequency Data Link and is a signal used by aircraft to communicate short messages with ground stations over long distances. It is often used in place of VHF ACARS when flying over oceans.

In his video Shortwave Bavaria uses a 26.5m end fed wire, and a Cloud-IQ SDR. But we note that any HF capable SDR can be used to receive HFDL. SDR-Console V3 is used as the receiver, and MultiPSK Professional edition as the decoder. Many HFDL messages contain location data, so aircraft can be plotted on a map and he demonstrates this using Google Earth. In the video he notes how amazing it is that flights from across the globe can be received with his set up.

Amazing Decoding HFDL reception with SDR over central Europe

Vela Pulsar Glitch Detected with RTL-SDR Based Radio Telescope

On February 1st 2019 the HawkRAO amateur radio telescope detected a "glitch" during it's observations of the Vela Pulsar. A pulsar is a rotating neutron star that emits a beam of electromagnetic radiation. If this beam points towards the earth, it can then be observed with a large dish or directional antenna and a radio, like the RTL-SDR. The Vela pulsar is the strongest one in our sky, making it one of the easiest for amateur radio astronomers to receive.

Pulsars are known to have very accurate rotational periods which can be measured by the radio pulse period. However, every now and then some pulsars can "glitch", resulting in the rotational period suddenly increasing. Glitches can't be predicted, but Vela is one of the most commonly observed glitching pulsars.

The HawkRAO amateur radio telescope run by Steve Olney is based in NSW, Australia and consists of a 2 x 2 array of 42-element cross Yagi antennas. The antennas feed into three LNAs and then an RTL-SDR radio receiver. He has been observing the Vela pulsar for 20 months.

His observations indicate that Vela glitched and spun up by 2.5PPM at 14:09 UTC on Feb 1, 2019. He claims that this glitch detection is a first for amateur radio astronomy as far as he is aware.

If you're interested in Pulsar detection, check out a few of our previous posts on the topic.

The HawkRAO Amateur Radio Telescope Vela Glitch Detection
The HawkRAO Amateur Radio Telescope Vela Glitch Detection (Blue graph on the right indicates the glitch detection)

RSGB Talk – The Farnham WebSDR: DC to Microwaves on your Smartphone

Over on YouTube the Radio Society of Great Britain (RSGB) has uploaded a talk by Noel Matthews (G8GTZ) titled "The Farnham WebSDR: DC to Microwaves on your smartphone". The Farnham WebSDR runs 8 (soon to be 10) RTL-SDR dongles in order to cover multiple bands from DC to 2 GHz.

If you're interested in their talks, the RSGB also recently uploaded several other amateur radio related talks from their 2018 convention to their YouTube channel.

This presentation gives an overview of the Farnham WebSDR (http://farnham-sdr.com/) which currently covers the LF bands through to 10GHz. The presentation describes the system architecture and antennas currently used on each band and how the team has used RTL dongle receivers, available for under £10, to give good RF performance on all bands from DC to 10GHz. There is a demonstration of the SDR in use on both PC and smartphone.

RSGB 2018 Convention lecture - The Farnham WebSDR: DC to Microwaves on your smartphone

RTLion: The Multipurpose RTL-SDR Framework

Redditor [K3PWN] has recently released his project called “RTLion”. RTLion is a software framework for RTL-SDR dongles that currently supports various features such as a power spectrum plot and frequency scanning. The software can run on a Raspberry Pi 3 and all features are intended to be accessed via an easy to use web browser interface, or via an Android app. The software can also be run with Docker, making it useful for IoT applications.

RTLion project can be described as a framework due to the implementation of various features other than the frequency scanner. The common structure of the project is appropriate for adding new features too. RTLion Framework has a FlaskSocketIO based Web interface which houses it’s features there. Web interface preferred to the command line interface for facilitating the usage and supporting remote operations. Matplotlib used for creating graphs, more specifically pylabpsd(Power Spectral Density) method mostly used for converting the complex samples (stored in a numpy array) to FFT graphs.

Main purpose of the RTLion Framework is creating a framework for RTL2832 based DVB-T receivers and supporting various features such as spectral density visualizing and frequency scanning remotely. These features are provided on the Web interface and accessible via the RTLion server or the RTLion Android App for RTL-SDR & IoT applications.

RTLion - IoT RTL-SDR

All of his code is open source and available on Github. Currently he’s looking for feedback on improving the framework and we are interested to see where this project may lead in the future.