Tagged: rtl2832u

Using the RTL-SDR in the Pothos Dataflow Processing Platform

Pothos is a dataflow processing platform that can be used for signal processing through a graphical GUI that works in a similar way to GNU Radio. Over on YouTube the developers have released a tutorial video that shows how to use Pothos to interact with an RTL-SDR dongle. In the video they create a design which shows an RF spectrum and waterfall display.

Remote SDR with Pothos

Updates to a Month of RTL-SDR by Keenerd

Back in August of this year RTL-SDR code contributer Keenerd aka Kyle Keen ran an Indiegogo campaign to raise funds to pay for him to work on upgrading RTL-SDR related code for one month. As Kyle only counts the days he manages to put a good effort in towards the upgrades, the coding is still ongoing. He recently put out an update which we quote below.

Programming Report – Week 3

Hey all, sorry about dropping off the radar there.  There were several large unexpected events in recent months, but nothing bad.  I’ve still been hacking on the project.  An anonymous donor gave me a Lyons DSP textbook, which I’ve been working through for more solid foundations.  But studying doesn’t generate any new code for you to play with, so hasn’t been counted towards the project.

I’ve also been working on a very ambitious ADS-B related side project.  It is something no one has ever done before with the RTL-SDR, but mathematically it is feasible and progress is steady.  Not anywhere near for a release (and might yet be impossible in practice), and thus also hasn’t been counted towards the project.

So what has been completed since the last report?

* Automatic audio gain.  Crucial for AM/SSB listening.

* Audio padding (constant rate audio).  If you are streaming rtl_fm, this will prevent stutters when the tuner is busy hopping.

* Heatmap fixes.  The font is downloaded automatically and image slicing is completed.  Run rtl_power 24×7 but render a heatmap of only the last hour, for example.

* Rtl_power fixes.  Including one tricky corner case that caused crashes.

Also a big thank you to Kacper Michajłow who fixed and fleshed out a couple of Windows issues that were giving me trouble.

25 days remain.  As always, if you have comments or suggestions you can reach me by email or in ##rtlsdr.

The latest feature requests and links to the GitHub repositories and Windows builds can be found at http://igg.kmkeen.com/.

monthrtlsdr

Sniffing and Analyzing GSM Signals with GR-GSM

Over a year ago we wrote a tutorial on how to analyze GSM cellular phone signals using a RTL-SDR, a Linux computer with GNU Radio, Wireshark and a GSM decoder called Airprobe. With this combination it is possible to easily decode GSM system messages. Setting up Airprobe is can be difficult as it is unmaintained and incompatible with the new version of GNU Radio without patches.

Now a new software package called gr-gsm has been released on GitHub which seems to be a newer and improved version of Airprobe. The gr-gsm software is also much easier to install, uses the newer GNU Radio 3.7 and seems to decode the system data with much less trouble than Airprobe did. We will soon update our tutorial to use gr-gsm, but the instructions on the GitHub are already quite good. The author of gr-gsm also appears to be actively adding new features to the software as well. The video below shows gr-gsm in action.

Sniffing GSM data with gr-gsm and cheap RTL-SDR receivers

New R820T Driver with LNA/Mixer/VGA Gain Settings

A few weeks ago we posted about an unreleased modified RTL-SDR driver for SDR# by mm6dos which had controls for the three separate gain stages available in the R820T and some extra controls for controlling software decimation and the IF filter. While that particular driver has not yet been released, a modified driver from randaller, another driver coder has been released. His modified driver enables the LNA/Mixer/VGA gain controls, but does not enable any IF filter or decimation settings.

In the standard R820T driver one of the gain stages is locked to a pre-specified value and the the gain slider is a function of the other two gain values. Having full manual control over all three gain stages may help with optimizing signal SNR levels and reducing noise.

To install the driver simply extract the contents of the zip file from the sourceforge download into the sdrsharp folder. Then open the SDRSharp.exe.Config file in a text editor and add the line  in the section. Then in SDR# you can choose “RTL-SDR / GUSB” from the source menu to use the new driver.

Modded Driver with Extra Gain Controls
Modded Driver with Extra Gain Controls

Recording Video of Passing Aircraft with A Raspberry Pi and RTL-SDR

Electronics experimenter Simon Aubury has recently made a write up on his blog about a project he has been working on. His project is the use of a Raspberry Pi with servo mounted video camera and RTL-SDR to automatically track and record video of passing aircraft.

Simon’s project works by using the RTL-SDR connected to the Raspberry Pi as an ADS-B receiver. From the ADS-B signals the current coordinates of nearby aircraft can be determined. Then by using some coordinate math, the Raspberry Pi can be told to point its camera in the direction of the aircraft. As well as videoing the passing aircraft, the Raspberry Pi also overlays text on to the video showing information such as flight number, source and destination airports, aircraft type, elevation and distance and date of observation.

In addition to all that, his software also automatically uploads the recorded videos onto his website. Here you can see the latest and closest video captures his system has performed.

[Discovered on Hackaday]

Raspberry Pi RTL-SDR Plane Tracker Video Capture
Raspberry Pi RTL-SDR Plane Tracker Video Capture

Comparisons between the R820T and R820T2 RTL-SDR Tuners

Over on the hamradioscience blog the author has uploaded a post showing a comparison between the R820T and the R820T2 tuners.

Recently Nooelec began selling RTL-SDR dongles with the R820T2 tuner chip in them. The R820T2 tuner has been anecdotally reported as having slightly better sensitivity (~2-6 dB better). It also works much better with Oliver Jowetts experimental RTL-SDR driver which enables HF reception without any hardware modifications.

In the post the author compares the two tuners by simultaneously running both with SDR# and the same antenna type and comparing the results. From his results the author writes that although not night and day, there is a noticeable difference in sensitivity between the two tuners. He also writes that for ADS-B the R820T2 performed much better, reporting significantly more packets and further distances compared to the R820T.

Comparison between the R820T2 and R820T on a NOAA weather station. (R820T2 Top, R820T Bottom)
Comparison between the R820T2 and R820T on a NOAA weather station. (R820T2 Top, R820T Bottom)

RTL-SDR Tutorial: Listening to TETRA Radio Channels

NOTE: There is now a plugin available for SDR# that will decode TETRA fairly easily. It is still in beta and misses a few features found in telive. Check it out in this post.

TETRA is a trunked radio communications system that stands for "Terrestrial Trunked Radio". It is used heavily in many parts of the world, except for the USA. Recently, a software program called Tetra Live Monitor (telive) was released on GitHub. This software can be used along with the (patched) Osmo-TETRA software to monitor and listen to unencrypted TETRA communications.

Below we show a tutorial on how to listen to TETRA communications using a RTL-SDR RTL2832U software defined radio. This tutorial is based heavily on the telive_doc.pdf file that is written by the author of telive and included in the telive git download. Please refer to that pdf file for further details on how the software works. We have modified their tutorial slightly to make it a little easier to understand. As this code is still under heavy development if you have trouble please check their PDF file for modifications to the procedures.

Again, we reiterate: This tutorial is not a substitute for a thorough reading of the documentation. If you have trouble setting this software up, please refer to the telive documentation first, before asking any questions. It contains a comprehensive FAQ section which solves most of the common problems. The documentation can be found directly at https://github.com/sq5bpf/telive/raw/master/telive_doc.pdf. There is also a discussion at http://forums.radioreference.com/digital-voice-decoding-software/302347-tetra-decoding.html.

Decoding and Listening to TETRA Tutorial

Most of this tutorial is performed in Linux and we assume that you have some decent Linux experience. We also assume you have some experience with the RTL-SDR dongle and have a decent antenna capable of picking up TETRA signals in your area. If you don't have a RTL-SDR dongle yet see our Buy RTL-SDR dongles page.

Note: As of October 2016 there is now a Windows port of the Telive decoding software available. This may be an option for you if you prefer to run in Windows. More information here.

First, we will need to find some TETRA signals. The easiest way to do this is to open SDR# or another program like GQRX and look for them. TETRA signals are continuously broadcasting with a bandwidth of around 25 kHz. In most European countries they can be found at 390 - 470 MHz. In some countries they may be found around 850 MHz or 915 - 933 MHz. There may be several TETRA signals grouped in close proximity to one another. See the example images below.

 
A Zoomed in TETRA Signal
A Zoomed in TETRA Signal
 
TETRA Signals Zoomed Out
A Grouping of TETRA Signals Zoomed Out

An example audio clip of a TETRA signal recorded in NFM mode is shown below.

Once you have found some TETRA signals, record their frequencies. Now close SDR#, or whatever software you were using and boot into Linux. In this tutorial we use a 32-bit Ubuntu 14.04 virtual machine running on VMWare Player as our Linux system. Some of the commands may vary if you are using a different system.

Continue reading

RTL-SDR Based Passive Aircraft Radar

Over on YouTube we’ve discovered a video from earlier in the year showing the RTL-SDR being used as a passive aircraft radar. This is different to ADS-B which is a type of active radar. A passive radar works by using a very strong radio signal from a readily available source such as a TV or FM radio transmitter and detecting the reflections from aircraft.

A RTL-SDR based passive radar system can be built by connecting two RTL-SDR dongles to a single clock source and by using two directional antennas.

We’ve also posted about RTL-SDR based passive radar being used to track aircraft here and here in the past. Another post about coherent multichannel RTL-SDR receivers can be found here.