Decoding the ARES Train Protocol with an RTL-SDR

Over on YouTube user JellyImages has uploaded a video demonstrating his Windows based ARESrcvr software. ARES is a railway control communications protocol used by some trains in the USA. His code connects to an RTL-SDR dongle, and demodulates the ARES protocol, providing decoded packets to ATSCMon via UDP on localhost.

ATSCMon allows you to view train telemetry data, and see on a rail map where that control indication came from. It appears that ATSCMon actually already supports ARES decoding via audio piping, but the decoder by JellyImages is a cleaner solution that doesn't require audio piping. In the past we've posted about one other YouTube user whose uploaded videos on using ATSCMon to monitor trains [Post 1][Post 2].

JellyImages also notes that his software only supports the ARES protocol which is used mostly around former Burlington Northern (BN) territory in the USA.

Exploring the Limits of General Purpose SDR Devices

Back in August 2019 the Chaos Communication Camp was held in Germany. This is a 5 day conference that covers a variety of hacker topics, sometimes including SDR. At the conference Osmocom developer Harald Welte (aka @LaF0rge) presented a talk titled "The Limits of General Purpose SDR devices". The talk explains how general purpose TX capable SDRs like HackRFs and LimeSDRs have their limitations when it comes to implementing advanced communications systems like cellular base stations.

If you prefer, the talk can be watched directly on the CCC website instead of YouTube.

Why an SDR board like a USRP or LimeSDR is not a cellular base station

It's tempting to buy a SDR device like a LimeSDR or USRP family member in the expectation of operating any wireless communications system out there from pure software. In reality, however, the SDR board is really only one building block. Know the limitations and constraints of your SDR board and what you need around it to build a proper transceiver.

For many years, there's an expectation that general purpose SDR devices like the Ettus USRP families, HackRF, bladeRF, LimeSDR, etc. can implement virtually any wireless system.

While that is true in principle, it is equally important to understand the limitations and constraints.

People with deep understanding of SDR and/or wireless communications systems will likely know all of those. However, SDRs are increasingly used by software developers and IT security experts. They often acquire an SDR board without understanding that this SDR board is only one building block, but by far not enough to e.g. operate a cellular base station. After investing a lot of time, some discover that they're unable to get it to work at all, or at the very least unable to get it to work reliably. This can easily lead to frustration on both the user side, as well as on the side of the authors of software used with those SDRs.

The talk will particularly focus on using General Purpose SDRs in the context of cellular technologies from GSM to LTE. It will cover aspects such as band filters, channel filters, clock stability, harmonics as well as Rx and Tx power level calibration.

The talk contains the essence of a decade of witnessing struggling SDR users (not only) with running Osmocom software with them. Let's share that with the next generation of SDR users, to prevent them falling into the same traps.

The Limits of General Purpose SDR devices

YouTube Video: Reverse Engineering with SDR

Over on YouTube Black Hills Information Security (aka Paul Clark) has uploaded a one hour long presentation that shows how to use a software defined radio to reverse engineer digital signals using GNU Radio.

One of the most common uses of Software Defined Radio in the InfoSec world is to take apart a radio signal and extract its underlying digital data. The resulting information is often used to build a transmitter that can compromise the original system. In this webcast, you'll walk through a live demo that illustrates the basic steps in the RF reverse engineering process, including:

- tuning
- demodulation
- decoding
- determining bit function
- building your own transmitter
- and much, much more!

Reverse Engineering with SDR

NanoVNASaver Software Walkthrough + NanoVNA Firmware Updates Bring 1.5 GHz Max Range

The NanoVNA is an open source VNA project by @edy555 and ttrftech that has recently become extremely affordable at less than US$50 for a fully assembled unit thanks to Chinese manufacturing (or a little more if you order it via Amazon).

Ohan Smit had recently been playing with the NanoVNA and came across a software package from Rune B. Broberg (5Q5R) called NanoVNASaver. NanoVNASaver is an open source program that can be used to read and plot data from the NanoVNA. It has some nice features like the ability to display multiple charts, increase the resolution up to 10k points, measure cable length via TDR calculations, save Touchstone files and more.

Over on his blog, Ohan has put up a walkthrough guide about using NanoVNASaver. He shows how to setup the application, calibrate the NanoVNA, and then demonstrates how to use NanoVNASaver to measure the response of some filters.

Testing our RTL-SDR.COM BCFM Bandstop filter with a NanoVNA and the NanoVNASaver Software.
Testing our RTL-SDR.COM BCFM Bandstop filter with a NanoVNA and the NanoVNASaver Software.

Later in the same post Ohan also includes an update about his experiments with some new experimental NanoVNA firmware that extends the maximum frequency range from the previous maximum of 900 MHz up to 1500 MHz. Results show that while it can work up to 1500 MHz, accuracy rapidly degrades above 900 MHz.

 

Reviews of the Low Cost MLA-30 Wide Band HF Magnetic Loop Antenna

Recently Chinese manufacturers have begun producing a low cost wide band (100 kHz - 30 MHz) magnetic loop HF antenna known as the MLA-30. The loop can be found on eBay for under US$45 with free shipping. In the past wide band HF loop antennas have not been cheap, normally costing $300+ dollars from manufacturers like Wellbrook.

RF signals are electromagnetic waves that consist of an electric and magnetic component.  A magnetic loop antenna mostly receives the magnetic portion of the wave. This is useful as most unwanted interference from modern electronic devices is generated in the electric component only.  So, a magnetic loop antenna may be preferable in city and suburban environments over other antennas like wires and miniwhips. Magnetic loops are also directional, and can be rotated to avoid interference.

One of the biggest costs to a magnetic loop antenna is the shipping, because a large hula hoop sized piece of metal needs to be sent. The MLA-30 cuts costs on shipping by providing a folded up thin loop wire and no physical support for the loop. You are expected to provide your own support, or simply hang the loop wire on something. If you like you can also replace the included loop wire with a larger loop.

The MLA-30 comes with 10m of RG174 coax, is bias tee powered, and comes as a set with a bias tee injector that is powered over 5V USB. We tested our own unit with the RTL-SDR Blog V3, Airspy and SDRplay bias tee's and found that they all worked well instead of the included bias tee. So if you have one of those SDRs using the loop is as simple and neat as plugging it in and turning on the bias tee.

In terms of build quality, the unit is sturdy and the PCB is fully potted and protected against rain/weather. It is yet to be seen how the external screw terminals holding on the loop will age over a longer period of time however.

So how does the very cheap MLA-30 compare to higher end magnetic loop antennas? Below are some reviews by various hams and SWLs. The general consensus is that it works well for the price, but as you'd expect, falters on handling very strong signals and produces a higher noise floor compared to the more expensive loops, especially in the higher HF bands. But overall we'd say that it's probably still better than using a miniwhip, especially in suburban/city environments, and is probably the best compact HF antenna that you can get on a budget.

What's included in the MLA-30 set. Photo from David Day's Review.
What's included in the MLA-30 set. Photo from David Day's Review.

MLA-30 Magnetic Loop Antenna Review and Comparison by David Day (N1DAY)

In this review David compares the MLA-30 against a 30-ft ground loop and a Wellbrook ALA1530-LF. His results show that while the loop is capable of receiving the same signals that the two comparison loops can, the SNR is much lower. He also notes that the much thinner loop wire used on the MLA-30 seems to result in a much deeper null, and that IMD was a problem for him.

Inside the MLA-30 Active Loop Antenna by Matt (M0LMK)

This post is a complete teardown of the antenna. As the PCB is fully potted Matt had to boil down the epoxy in order to get to the actual PCB. He notes that the PCB is a simple single amplifier design with the exposed pot working as a gain control.

Cheap Chinese Magnetic Loop Antenna (MegaLoop aka MAGALoop) MLA-30 by John

In this review John compares the MLA-30 against a $345 W6LVP and Wellbrook ALA1530LN. His findings are very favorable concluding that it is an adequate performer, perfect for cash strapped SWLs.

First hour battle of the antennas W6LVP loop VS MLA 30 loop test by OfficialSWLchannel

This is a YouTube video where OfficialSWLchannel compares his MLA-30 against a W6LVP loop. He notes that his initial testing shows that the MLA-30 performs as well as the W6LVP loop.

First hour battle of the antennas W6LVP loop VS MLA 30 loop test

MLA-30 Loop vs 80M EFHW by Matthew Payne

In this YouTube video Matthew compares his MLA-30 against a 80M end fed halfwave antenna with an SDRplay RSP1a. 

MLA-30 Loop vs 80M EFHW

MLA-30 Magnetic Loop Modifications by Scanner and Sdr Radio

In this video the Scanner and Sdr Radio YouTube channel uses an RSPduo to compare the MLA-30 against a Wellbrook loop. His results show that the MLA-30 definitely has a higher noise floor compared to the Wellbrook, but still receives signals decently although chasing weak signals it's not good enough. He also shows how to improve the MLA-30 by replacing the cheap coax that it comes with, noting that the modification reduced his noise.

MLA-30 Magnetic Loop Modifications

 

TV Scrambling With GNU Radio and a FL2K Adapter

[mrgriscomredux] over on [Reddit] was interested in re-creating the nostalgia that was scrambled analog television from the 90s. To do this he captured an NTSC analog video signal using an RSP1 SDR and demodulated that into composite video using GNU Radio to process everything.

The methods that were originally used to scramble analog television are not well documented, however [mrgriscomredux] has done a fine job re-creating it himself in his own way.

He then uses a Python script to modify the “Gated Sync Suppression” within GNU Radio and then transmits that back on to the air using a low cost FL2K VGA adapter we’ve featured on the blog in the past.

These FL2K VGA adapters can be abused as crude software-defined transmitters and we’ve seen people do everything from video transmission to GPS spoofing with them. [Check out the FL2K article here]

broadcasting my own scrambled tv channel with SDR

SDRSharp Community Plugin Package Now Available

The SDR# developer in conjunction with Rodrigo Pérez have recently endorsed and released a "community plugin package" over on the SDR# downloads page. This consists of a SDR# installer that automatically downloads and installs a whole plethora of SDR# plugins.

In addition to the plugins it also automatically installs the RTL-SDR drivers, and the RTL-SDR (R820T) special interface which has the ability to use decimation and has individual controls for each of the three gain stages. You can also use it to automatically install the LimeSDR and PlutoSDR interfaces.

The .exe is a simple installer and you can select what plugins you want during the install. The installer automatically puts the SDRSharp folder in the C: drive.

SDRSharp Community Plugin Package
SDRSharp Community Plugin Package

The plugins included are:

  • Base Windows SDR Software Package (same as above)
  • Plugin Audio Processor
  • Plugin Audio Recorder
  • Plugin AUX VFO
  • Plugin Avia band 8.33 calculator
  • Plugin Baseband Recorder
  • Plugin Calico CAT
  • Plugin CTCSS decoder squelch
  • Plugin DCS decoder squelch
  • Plugin DDE Tracker
  • Plugin Digital Audio Processor
  • Plugin DSDtcp
  • Plugin File Player
  • Plugin Frequency Lock
  • Plugin Frequency Manager
  • Plugin Frequency Scanner
  • Plugin Gpredict Connector
  • Plugin IF Processor
  • Plugin IF Recorder
  • Plugin Level Meter
  • Plugin LimeSDR
  • Plugin Meteor Demodulator
  • Plugin MPX Output
  • Plugin PAL/Secam TV
  • Plugin Pluto SDR
  • Plugin RTL-SDR 820T
  • Plugin SDRSharp Net Remote
  • Plugin Time Shift

WWV and WWVH Special Messages to Broadcast!

Starting from Monday September 16th and continuing through to October 1st, both WWV and WWVH shortwave time signal transmission stations will broadcast a special message from the Department of Defense to mark the centennial of WWV. These messages will be heard on 2.5, 5, 10, and 15 MHz. In addition from September 28 to October 2 a special WWV event will occur:

The world’s oldest radio station, WWV, turns 100 years on October 1, 2019, and we are celebrating!

From September 28 through October 2, 2019, the Northern Colorado ARC and WWV ARC, along with help from RMHam, FCCW, and operators from across the country, are planning 24-hour operations of special event station WW0WWV on CW, SSB and digital modes. Operations will shift between HF bands following normal propagation changes and will include 160m and 6m meteor scatter. We will be operating right at the WWV site and face a challenging RF environment.

WWV is a [NIST] operated HF station based in Fort Collins, Colorado. It continuously broadcasts a continuous Universal Coordinated Time signal in addition to occasional voice announcements. It has been on the air since 1919 but began continuous broadcasts in 1945 from it’s final site in Fort Collins, Colorado. WWVH is a similar time signal, but based in Hawaii.

The WWV Transmit Building

The WWV time signal can be used to automatically set RF enabled clocks to the correct time. [Andreas Spiess] on YouTube recently uploaded a video where he emulates this signal in order to control clocks within his home. This is a great watch if you’d like to learn more about how these time signals work.

The time format itself is actually pretty simple and it’s possible to emulate with a number of devices from an Arduino to Raspberry Pi and of course Software Defined Radio.

#287 Remote Controller for Clocks (IKEA and others, DCF77, WWVB, MSF, JJY)