DesktopSDR MATLAB RTL-SDR Text Book Released

Back in August we posted about an RTL-SDR related text book called DesktopSDR that was due to be released later in the month. The text book discusses technical SDR topics, with the RTL-SDR used as the radio receiver and MATLAB used as the digital signal processing tool. It looks to be very useful to students of radio or communications engineering. There were a few delays with the release, but it is now out at www.desktopsdr.com. The eBook version is free whilst the print version is soon to be released on Amazon for about $68 USD for the paperback and $89 USD for the hard back

To go along with the book they have also released several accompanying videos that are available at desktopsdr.com/videos.

The books blurb reads:

The availability of the RTL-SDR device for less than $20 brings software defined radio (SDR) to the home and work desktops of EE students, professional engineers and the maker community. The RTL-SDR can be used to acquire and sample RF (radio frequency) signals transmitted in the frequency range 25MHz to 1.75GHz, and the MATLAB and Simulink environment can be used to develop receivers using first principles DSP (digital signal processing) algorithms. Signals that the RTL-SDR hardware can receive include: FM radio, UHF band signals, ISM signals, GSM, 3G and LTE mobile radio, GPS and satellite signals, and any that the reader can (legally) transmit of course! In this book we introduce readers to SDR methods by viewing and analysing downconverted RF signals in the time and frequency domains, and then provide extensive DSP enabled SDR design exercises which the reader can learn from. The hands-on SDR design examples begin with simple AM and FM receivers, and move on to the more challenging aspects of PHY layer DSP, where receive filter chains, real-time channelisers, and advanced concepts such as carrier synchronisers, digital PLL designs and QPSK timing and phase synchronisers are implemented. In the book we will also show how the RTL-SDR can be used with SDR transmitters to develop complete communication systems, capable of transmitting payloads such as simple text strings, images and audio across the lab desktop.

Download the book at desktopsdr.com
Download the book at desktopsdr.com

4NEC2 The Definitive Guide Book

4NEC2 is a freeware antenna simulation software program. The program can be used to model an antenna, and then determine through simulation properties such as the radiation pattern and SWR of the modelled antenna. It is very useful for those designing home made antennas for their RTL-SDR or other radio, or for those just trying to understand how antennas work. 

4NEC2 can be a complicated piece of software and to get the most out of it a guide is needed. We’ve recently been informed that Mark Schoonover KA6WKE, is writing an eBook guide on this topic. His guide is currently only 20% complete, but a free sample of his book in its current state can be downloaded from leanpub. The guide already shows what the main windows of 4NEC2 do, and shows you how to model and simulate a simple dipole antenna.

4NEC2: The Definitive Guide
4NEC2: The Definitive Guide

Building an active wideband antenna for your SDR

As the RTL-SDR and other SDRs are wideband, we recommend that people use a wideband antenna if they want to scan over all the frequencies. Normally a discone or a scantenna is suggested as the wideband antenna of choice, however there are alternative designs such as the Dressler ARA-2000 which is a type of log spiral antenna that can receive from 50 – 2000 MHz. This particular product is no longer for sale, but an article detailing the breakdown of its construction can be found online

The dressler ARA-2000
The dressler ARA-2000

The article shows how to build the antenna from scratch. The active element consists of a thin copper sheet (or copper foil) in the shape of a wedge which is rolled into a cylinder around a plastic sheet. It is then connected to a low noise amplifier (LNA), which is powered through a bias tee. For the LNA something like the LNA4ALL could be used if building it yourself.

This antenna may be something to consider if you are thinking about building your own wideband antenna. It has the advantage of being much smaller than a discone and it can also be fully enclosed in a plastic radome to that fully protects it from weather elements. The author of the article also writes that he saw better performance from this antenna than when compared with a discone.

Inside the ARA-2000
Inside the ARA-2000

HAMSPIRIT.DE’s Review on Airspy vs SDRPlay

Over on the hamspirit.de blog author January has just uploaded his latest review comparing the Airspy with the SDRPlay (article in German, so use Google Translate if necessary). These are two mid price range RX only software defined radio receivers that many people see as a first upgrade from an RTL-SDR dongle. Currently, the Airspy sells for $199 USD and the SDRPlay sells for $149 USD.

In his review January uses the SDR# to compare both devices on a wide range of signals include a beacon in the 10M band, broadcast FM stations, another beacon in the 2M band, TETRA signals and trunked radio in the 70cm band. He ran the SDRPlay at a bandwidth of 1.536 MHz and the Airspy at a bandwidth of 2.5 MHz, with decimation set to 2 in order to get comparable bandwidths.

From the results it appears that overall the two SDR’s are quite comparable to one another. But the SDRPlay has the advantage that it’s frequency range covers shortwave frequencies and his results show that the SDRPlay had better SNR in the FM broadcast band (although these results may be incorrect as it appears that his gain settings were not set properly, as the Airspy guide recommends that Airspy gains be adjusted to keep the noise floor near -80 dBFS). On the other hand the Airspy was much better when strong FM overload was present as shown in his TETRA results. In his conclusion he writes (translated from German to English):

If one value to a SDR, which covers with the short wave, it is running out on the SDRplay.

If one is interested in the field below the 70cm amateur radio bands, is in my view the Airspy front.

The Airspy software defined radio    The SDRPlay software defined radio

ADS-B On Android App Now Supports 978 MHz FIS-B NEXRAD Weather and Traffic

The “ADS-B on Android” app has been updated and now supports the reception and display of 978 MHz UAT FIS-B Weather and Traffic data. The app also receives ADS-B data as per normal. To use the app you will need an RTL-SDR dongle and a USB OTG cable.

UAT stands for Universal Access Transceiver and is a protocol similar to ADS-B that is used mainly by smaller aircraft in the USA. UAT has some extra features for pilots compared to ADS-B. In addition to location information UAT provides a Traffic Information Service (TIS-B) which allows pilots in the air to see what ground control sees on their traditional RADAR system. It also provides a Flight Information Service-Broadcast (FIS-B) which includes NEXRAD weather data and other information. NEXRAD is an array of ground station weather radars that are used to provide pilots with accurate maps of precipitation and wind.

The free version of the app has ads and does not display NEXRAD weather radar on the default map. The pro version removes the ads and allows you to display a NEXRAD overlay on the map. It costs $2.50 USD.

Free Version: https://play.google.com/store/apps/details?id=com.wilsonae.android.usbserial

Pro Version: https://play.google.com/store/apps/details?id=com.wilsonae.android.usbserial.pro

NEXRAD FIS-B precipitation data displayed on map.
NEXRAD FIS-B precipitation data displayed on map on the pro version of “ADS-B On Android”

 

New product from FlightAware: A 1090 MHz Bandpass Filter for the RTL-SDR

FlightAware.com have released a new 1090 MHz bandpass filter that is intended for use with the RTL-SDR. FlightAware.com is a website that aggregates ADS-B aircraft location data from various contributors. The contributors are often users with RTL-SDR dongles running their PiAware software. By contributing to their service you gain access to their premium services for free.

The bandpass filter is available on Amazon for US customers for $19.95 USD and on eBay worldwide for $24.95 USD. This is the cheapest ADS-B filter we've seen yet. It comes in a metal case with SMA connectors, passes 980 MHz - 1150 MHz, has an insertion loss of about 1.65 dB at 1090 MHz and has about a 40dB drop outside the pass band. Over on their forums many users are reporting good results.

A bandpass filter blocks all frequencies apart from the range you are interested in, significantly reducing the effects of out of band interference. It is especially useful if you live near cell phone towers as these can easily interfere with the 1090 MHz frequency. 

FlightAware also sell an ADS-B antenna on Amazon for $44.95 USD and worldwide on eBay for $54.99 which may be of interest to some people.

An alternative ADS-B filter for the RTL-SDR is the one made by Adam 9A4QV. Adams filter uses LTCC filter technology which gives lower insertion loss, but a less sharp cutoff.

The FlightAware 1090 MHz ADS-B Filter
The FlightAware 1090 MHz ADS-B Filter
Filter Reponse Test Data
Filter Reponse Test Data

Frequency Manager Suite Plugin for SDR#

Recently the popular Frequency Manager + Scanner plugin set for SDR# has been upgraded and renamed to the “Frequency Manager Suite”. The plugin can be downloaded from their new website at www.freqmgrsuite.com. The plugin suite includes a frequency scanner and manager, a scanner metrics recorder, a scheduler, an activity logger and a frequency entry plugin.

Apart from plugins the suite also now includes a plugin manager program called “Pluginator” which can help you to install and delete plugins without needing to edit the Plugins.xml file directly. There is also a new database manager tool which can help you to import frequency databases from online or other sources.

We have posted the full feature release below:

The Frequency Manager Suite (FMS) adds 4 more plugins to the previous set of 3:

  • Scheduler – allows you to schedule listening activities by date and time.

  • Activity Logger – records scanner activity to a file for later use.

  • Scanner Decisions – now a first-class plugin and also available as the classic stand-alone window. And you can change the position of the plugin without restarting SDR#.

  • Frequency Details – displays details about a frequency from your database. And you can change the position of the plugin without restarting SDR#.

New standalone applications also come with FMS:

  • Data Tools – this significantly upgraded import/export application lets you import data from 6 popular internet databases as well as generically-formatted files, and permits you to export your FMS databases to standard file format.
  • The Pluginator – an application that lets you add, delete, and change the order of plugins without ever having to hand-edit the SDR# file Plugins.xml. Just fill in the blanks.

New features in Frequency Manager + Scanner:

  • The new Preferences dialog allows customization without hand-editing a configuration file.
  • FMS configurations are now kept in a file separate from those of SDR#, permitting easier upgrades to SDR#.
  • You can have multiple frequency databases, and can change to a different database without restarting SDR#.
  • When tuning manually you can optionally change the radio settings (mode, BW, etc.) according to what’s in the database for the tuned frequency.
  • Scan resolution – high-res or low-res to favor speed over accuracy or vice versa.
  • Adjacent Frequency Rejection now displays its bandwidth on the spectrum analyzer.
  • Plus many other improvements and bug fixes.

fms_1v2   fms_3   fms_2   

pluginator

Spoofing GPS Locations with low cost TX SDRs

At this years Defcon 2015 conference researcher Lin Huang from Qihoo 360 presented her work on spoofing GPS signals. Qihoo 360 is a Chinese security company producing antivirus software. Lin works at Qihoo as a security researcher where her main job is to prevent their antivirus software and users from becoming vulnerable to wireless attacks. Her research brought her to the realm of GPS spoofing, where she discovered how easy it was to use relatively low cost SDRs like a USRP B210/BladeRF/HackRF to emulate GPS signals which could allow a wireless attacker to manipulate the GPS on smartphones and cars.

Previous attempts at GPS spoofing have all used more expensive custom hardware. One attempt in 2013 allowed university researchers to send a 213-foot yacht off course, and it is suspected that hackers from the Iranian government have used GPS spoofing to divert and land an American stealth drone back in 2011.

In Lin’s presentation she shows how she was able to trick a smartphone into thinking it was in a different location. In addition she writes how this method could be used to trick the phone into changing it’s time, as many smartphones will periodically refresh the clock accuracy by using GPS satellites. She also shows how she was able to bypass a DJI drones forbidden area no fly zone policy. DJI drones come with a feature where the engines will not power up if the on board GPS detects that it is in a no drone fly zone. By spoofing the GPS she was able to get the drone to power up inside a no fly zone in Beijng.

Lin Huangs presentation can be downloaded from the defcon media server (pdf). An article on Lin and her research into GPS spoofing has also been run on Forbes.com.

Spoofed GPS logs on a smartphone
Spoofed GPS logs on a smartphone