Category: Tutorial

Tutorial on using an RTL-SDR for ADS-B on a BeagleBone Black from Make Magazine

Make magazine has recently released a tutorial and uploaded a video showing a nice overview on how to get an RTL-SDR set up for ADS-B decoding on a BeagleBone Black embedded Linux computer. In the tutorial and video they show you the parts you will need and show you how to compile and install the RTL-SDR drivers and dump1090 ADS-B decoder on the BeagleBone.

ADS-B decoding allows you to receive GPS and other information from aircraft in your vicinity. We also have a tutorial about ADS-B decoding available here.

The BeagleBone Black is a small embedded Linux computer, similar to the Raspberry Pi. It has enough computational power to run the RTL-SDR and ADS-B decoder. 

RTL-SDR Tutorial: Decoding Meteor-M2 Weather Satellite Images in Real-Time with an RTL-SDR

Update 02 August 2019: Please use Happysats tutorial which is available here. Happysats tutorial will work for Meteor M-N2-1 and Meteor M-N2-2.

Back in September last year we posted a tutorial written by RTL-SDR.com reader Happysat which showed how to receive and decode high resolution Meteor-M2 LRPT satellite images. The tutorial required several offline manual processing steps to be performed and therefore could not decode the image in real time.

Now Vasili, a SDR# plugins programmer, and Oleg who is the coder of Lrptdecoder have combined ideas to create a new QPSK demodulator plugin for SDR# that allows the real time reception and decoding of Meteor-M2 LRPT images (in Russian use Google translate). The demodulator also offers the advantage of faster and longer signal locking, and also works much better with weak signals compared to the old method. 

At the same time Vasili has also released another plugin called DDE Tracker which allows a satellite tracking program such as Orbitron to interface with and control SDR#. The plugin can be downloaded on the same page as the QPSK plugin. This is similar to the already existing DDE plugins, but now also comes with a scheduler which allows users to automatically schedule recordings of Meteor-M2 and NOAA satellite passings.

NOTE: Meteor M1 has come alive again, so the frequency of Meteor M2 was changed from 137.1 MHz to 137.9 MHz. Meteor M1 is now at 137.1 MHz and can be received using the same steps as in this tutorial, though please note that images from Meteor M1 are not perfect since the satellite is tumbling. Meteor M1 is gone again.

Tutorial

To help users get set up with this new method, Happysat has again come forth with another tutorial which can be downloaded here (.pdf) (.docx) (.txt w/ images in .rar). At first glance the tutorial may seem more complicated than the old method, but in the end it is a much faster and more efficient way at decoding LRPT images. The basic steps involve setting up Orbitron and the DDE plugin to automatically track the Meteor-M2 LRPT satellite and signal, and then setting up the QPSK plugin and the new version of Lrptdecoder (if that link is down, try this mirror) to talk to one another in real time via a local TCP connection.

Real time decoding of Meteor-M2 with two new SDR# Plugins.
Real time decoding of Meteor-M2 with two new SDR# Plugins.
QPSK Decoder SDR# Plugin
QPSK Demodulator SDR# Plugin
DDE Orbitron Interface SDR# Plugin.
DDE Orbitron Interface SDR# Plugin.

AMIGOS

One more Meteor-M2 related thing to look forward to in the future is the AMIGOS project which stands for Amateur Meteor Images Global Observation System. This will be a system where users around the world can contribute LRPT images through the internet to create a worldwide LRPT receiver. Oleg of LrptDecoder writes:

There is an idea to merge LRPT receive amateur radio stations in a network through the Internet and create a super LRPT receiver.

I see the benefit of professionals from the control center in the operational monitoring of the condition of the equipment MSU-MR, and for fans of the fullest reception of images from Meteor-M.

All is in testing phase and need some setup for the servers,  data is beeing shared thru a VPN connection to a central server which will have a continous flow of images from all over the world.

Users can join and share in realtime the data more info on:
http://meteor.robonuka.ru/for-experts/amigos/

What is Meteor-M2?

If you don't understand what all this is about: The Meteor-M N2 is a polar orbiting Russian weather satellite that was launched on July 8, 2014. Its main missions are weather forecasting, climate change monitoring, sea water monitoring/forecasting and space weather analysis/prediction.

The satellite is currently active with a Low Resolution Picture Transmission (LRPT) signal which broadcasts live weather satellite images, similar to the APT images produced by the NOAA satellites. LRPT images are however much better as they are transmitted as a digital signal with an image resolution 12 times greater than the aging analog NOAA APT signals. Some example Meteor weather images can be found on this page and the satellite can be tracked in Orbitron or online.

A software defined radio such as the low cost RTL-SDR, or the higher end Airspy and Funcube dongles can be used to receive these signals.

An Example LRPT Image Received with an RTL-SDR from the Meteor-2 M2.
An Example LRPT Image Received with an RTL-SDR from the Meteor-2 M2.

Updates

The DDE plugin can also be used for tracking NOAA satellites. Some people have been having trouble with set up. Happysat writes a solution:

Download TLE from: http://www.celestrak.com/NORAD/elements/noaa.txt. Make sure the names are the same in DDE Sat Tracking Client schedule. https://dl.dropboxusercontent.com/u/124465398/NOAA_Setup.jpg. Same one as i post in the howto - https://dl.dropboxusercontent.com/u/124465398/DDESchedule.rar

Tutorial on Combining and Rebroadcasting ADS-B Feeds with ModeSMixer2

Last week we posted about how the author of the SonicGoose.com blog had written a tutorial on the use of ModeSDeco2 for decoding ADS-B with an RTL-SDR. Now the same author has continued his tutorial by writing how to use the ModeSMixer2 software to combine multiple ADS-B datastreams into a single stream. This is useful for example if you have several RTL-SDR’s at different locations receiving ADS-B data. ModeSMixer2 can also combine data even if you are using different ADS-B decoding software such as dump1090, RTL1090 or ADSB#.

The author’s tutorial goes over setting up ModeSDeco2 to broadcast data over the network, setting up ModeSMixer2 to receive data, and also setting up the basestation.sqb file to add airline logos and silhouettes to the web based GUI of ModeSMixer2.

Screenshot of the ModeSMixer2 web based GUI.
Screenshot of the ModeSMixer2 web based GUI.

Decoding Differential GPS Beacons with an RTL-SDR, Speclab and SDR#

Over on his blog “RTL-SDR DX” dewdude has been exploring the reception and decoding of Differential GPS (DGPS) signals. DGPS signals are transmitted by government authorities in the long wave band at around 300 kHz. These beacons are used to dramatically improve the accuracy of GPS (Global Positioning System) devices from their default accuracy of about 15 m down to about 10 cm. Unlike GPS signals which originate from satellites, the DGPS signal is terrestrial based and is broadcast from multiple known fixed positions. The signal itself contains information about the difference between the DGPS stations received GPS position and it’s known exact position. These differences can be used to correct other GPS receivers that receive DGPS signal.

By using his RTL-SDR (with upconverter or HF modification) dewdude was able to receive the DGPS beacon in SDR#. Then by piping the output audio into SpectrumLab’s DGPS decoder he was able to decode the data contained within the DGPS signal. His post contains a tutorial showing how to set up SpectrumLab to decode DGPS. If you’re interested in hearing what a DGPS signal sounds like, dewdude has uploaded a sound sample at the bottom of another post of his.

Decoding Differential GPS (DGPS) signals in SpectrumLab
Decoding Differential GPS (DGPS) signals in SpectrumLab

A Faster Method for Decoding Meteor M2 Weather Satellite Images

Over on YouTube user max30max31 aka IZ5RZR has uploaded a video that shows a faster method for decoding Meteor M2 weather satellite images on a Windows system.  The Meteor-M N2 is a Russian weather satellite that transmits images using the LRPT protocol at around 137.1 MHz with can be received with an RTL-SDR. Compared to NOAA satellite APT images, LRPT images are much higher in resolution.

Normally, decoding Meteor M2 LRPT images requires a post processing step which involves the use of Audacity, an audio editing suite to reduce the recorded IQ files sample rate. However, with the recently released decimation SDR# drivers the Audacity step can be avoided by using a an appropriate decimation factor (8 at 1.024 MSPS) when recording the LRPT signals IQ data.

Post processing still involves the use of the Lrptrx.exe software, Oleg’s LRPToffLineDecoder to produce the image and SmoothMeteor to remove distortion from the image..

IZ5RZR - Fast decode Meteor M2 satellite - 2015

RTL-SDR Tutorial: Measuring filter characteristics and antenna VSWR with an RTL-SDR and noise source

By using an RTL-SDR dongle together with a low cost noise source it is possible to measure the response of an RF filter. Also, with an additional piece of hardware called a directional coupler the standing wave ratio (SWR) of antennas can also be measured. Measuring the response of a filter can be very useful for those designing their own, or for those who just want to check the performance and characteristics of a filter they have purchased. The SWR of an antenna determines where the antenna is resonant and is important for tuning it for the frequency you are interested in listening to.

These tutorials are based heavily on information learned from Adam Alicajic's (9A4QV), videos which can be found at [1], [2], [3], [4]. Adam is the creator of the LNA4ALL and several other RTL-SDR compatible products. Recently Tim Havens also posted some experiments with characterizing home made filters on his blog.

Characterizing Filters

Using just a noise source and RTL-SDR dongle it is possible to determine the properties of an RF filter. In our experiments we used the following equipment:

Equipment

The BG7TBL noise source is a wideband noise source that can provide strong noise over the entire frequency range of the RTL-SDR. It requires power from a 12V source which can be obtained from a common plug in power supply. It also uses an SMA female connector, so you may need some adapters to connect it to your filter under test (adapters can be found cheaply on Ebay). Finally a quick warning: be careful when handling the circuit board after it has been powered for some time as some of the components can get very hot. Note that if the Ebay store runs out of these there is also a seller on Aliexpress with some available, just type "noise source" in the search bar.

The BG7TBL Noise Source
The BG7TBL Noise Source

If you have a ham-it-up upconverter and are good at soldering small surface mount components you might instead consider purchasing the noise source kit add on. Here is a video showing how to build and test the ham-it-up noise source. Continue reading

SDR Capture The Flag Competition Tutorial

During several hacker and security themed conferences (Shmoocon, Bsides, Derbycon, Defcon, etc) organizers from Wireless Village have been setting up competitive WiFi and SDR themed capture the flag (CTF) games. In the competition the organizers broadcast a signal and the competitors are required to complete various tasks (capturing flags) such as determining the centre frequency of the transmission, demodulating the signal and finding any meta data contained within the signal such as codec flags in DVB-T signals and RDS data in FM signals. The team which captures the most flags wins a prize. The process of capturing flags often requires the use of some sort of software defined radio like the RTL-SDR, HackRF or BladeRF.

Recently, Russell one of the CTF organizers wrote in to let us know about a SDR CTF training resource that he has put together. The site contains various exercises/tutorials that allow participants to practice the skills needed to compete in the competition. Most exercises involve using a Raspberry Pi together with PiFM for transmitting a simulated competition signal, then receiving and demodulating the signal with a SDR. The exercises include running rtl_power, setting the PPM offset, decoding morse code, AFSK, RDS, ASK/OOK, DVB-T, POCSAG, MotoTRBO, SSTV and decoding numbers stations.

village-sq

Compressing and Filtering I/Q Data

One great feature of SDR software like SDR# is the ability to make I/Q recordings of the entire received bandwidth for later analysis. The problem is that these recordings can take up massive amounts of hard disk space. Jay Moore, the author of the RTL-SDR DX blog has recently been experimenting with methods for compressing I/Q files (2021 UPDATE: Jay's site has been abandoned, please use this archive.org link).

Jay tried compressing a test I/Q file with 7-Zip LZMA, Zip Deflate and FLAC. His results showed that FLAC compression was by far the fastest and also compressed the most in a test I/Q file with low amounts of redundant information.

Jay also discovered that it is possible to record "filtered" I/Q recordings using the RAW setting in SDR#. The RAW setting allows you to record an I/Q file from the tuned bandwidth selected within SDR# which allows for a much smaller file size.

I/Q Data interpreted by an audio editor
I/Q Data interpreted by an audio editor