Red Pitaya and Software Defined Radio

The Red Pitaya is marketed as a type of digital oscilloscope, and is more accurately described as a type of digital measurement and control tool that sells for about $220 USD. However the technology behind its operation (high speed ADCs) is basically the same as what is used in a software defined radio like the RTL-SDR. By using the correct software, and by reconfiguring it’s onboard Xilinx FPGA, the Red Pitya can be turned into an SDR transceiver. 

Until recently SDR projects for the Red Pitaya have been rare and so Pavel Demin decided to create his own. So far he’s managed to create a dual channel SDR transceiver that is compatible with SDR#, HDSDR, GNU Radio as well as with HPSDR. It can tune from 0 – 50 MHz with a bandwidth of up to 500 kHz, sampling with its 14-bit ADC.

More information on setting the Red Pitaya up as a SDR transceiver with software like SDR# and HDSDR can be found on Pavels website.

The Red Pitaya
The Red Pitaya

Decoding the LoRa IoT Protocol with an RTL-SDR

The internet of things is set to become the next big thing in technology. The IoT consists of multiple networked devices such as sensors and computers connected in various ways such as via wireless communication protocols. LoRa is an abbreviation of “Long Range” and is one such wireless protocol that is being used in IoT devices. 

[LoRa] is a radio modulation format that gives longer range than straight FSK modulation. This is achieved by a combination of methods: it uses a spread spectrum technique called Chirp Spread Spectrum (CSS) and it uses forward error coding (in combination with whitening and interleaving).

Over at the RevSpace hackerspace, a hardware hacker called bertrik has been working with his RTL-SDR to try and reverse engineer the LoRa protocol. His goal is to make it so that anyone can receive and decode LoRa signals without needing to purchase specific hardware that supports the modulation. The reverse engineering work is not yet finished, but bertrik has already determined many parts of the protocol by looking at the signals in Audacity. He also writes that there is currently a ready made LoRa decoder available for sdrangelove, a Linux based SDR receiver application similar to GQRX and SDR#.

You might also be interested in this previous article we posted about the Z-Wave wireless networking protocol being hacked with a HackRF.

LoRa signals received in the frequency spectrum.
LoRa signals received in the frequency spectrum.

Testing RTL-SDR and SDRPlay receivers for AERO reception

Jonti, the programmer of the JAERO decoder for L-band AERO signals recently bought and received one of our new RTL-SDR Blog dongles and also an SDRplay unit for testing L-band reception. Previously he had been using a standard RTL-SDR dongle. Now he’s done a write up comparing the performance of the three units on L-band AERO reception.

The two most important things to pay attention to when receiving AERO signals are signal SNR and frequency stability. In order to lock on to the signal, the signal’s frequency must remain relatively stable over a short period of time. For the stability test Jonti writes the following, referencing the image posted below:

You can see the old RTL dongle moves almost 3kHz within a couple minutes after being turned on, this speed is so rapid that JAERO can’t keep up with the frequency changed during this period of time. What’s odd is the old RTL dongle does some fairly crazy stuff around 20 minutes in that lasts for about 15 minutes, JAERO also can’t cope with some of that. The other thing to notice in the old RTL’s spectrograph are vertical lines, these lines I believe are caused by interference entering the dongle between the RTL dongle’s tuner and ADC (analog-to-digital converter).

The frequency stability of the new RTL dongle can only be described as amazing!!! There is not much more than 100 Hz change during the whole test.

The range of frequencies for the SDRPlay is similar to that of the old RTL dongle of about 3kHz. The difference being the transition from the lowest frequency to the highest frequency is slow. Any demodulator should not have any issue tracking this slow and steady change. The only problem you will encounter here is when you are trying to tune into a particular frequency your frequencies will be slightly different depending on the temperature of the SDRPlay.

The results of the frequency stability test on an AERO signal. Standard RTL-SDR, RTL-SDR Blog Unit, SDRplay.
The results of the frequency stability test on an AERO signal. Left: Standard RTL-SDR; Middle: RTL-SDR Blog Unit; Right: SDRplay.

Jonti also found that in terms of sensitivity the SDRplay was the best at receiving when a non active antenna (an active antenna is an antenna with a built in LNA) was used. The RTL-SDR dongles could not receive well at all when a non active antenna was used. When an active GPS antenna was used the SDRplay was only about 1dB more sensitive than the RTL-SDR dongles.

In his article Jonti expressed concern that the SDRplay did not see much improvement in SNR over the RTL-SDRs when an active antenna was used. Our thoughts on the sensitivity findings are that the SDRplay does not see much improvement with an active antenna because the noise figure of the system is not reduced any further by adding an additional front end LNA (the noise figure in a RF system is almost entirely determined by the first LNA in a RF chain). Adding an extra LNA could even potentially make reception worse by reducing the overall linearity of the system. An external LNA would only be beneficial if a long run of coax was used between the feed and SDR, and in Jonti’s connections he connected the feed and SDRplay with a very short cable. The RTL-SDR only works well with an active antenna because its raw sensitivity at 1.5 GHz isn’t great, and it needs the extra boost from the LNA.

Testing the SDRplay with a non-active antenna.
Testing the SDRplay with a non-active antenna.

 

Installing GQRX on OSX El Capitan

OSX users often don’t have much choice when it comes to general purpose SDR receiver software for the RTL-SDR or other SDR’s. However, one program that works well on Macs is GQRX. Installing GQRX on OSX can sometimes be difficult as the most common installation method involves using Macports, which won’t always work depending on the version of OSX you are using.

Recently, OSX and RTL-SDR user smittix wrote in to use to let us know that there is now a very easy way for El Capitan OSX users to install GQRX. Basically the GQRX team have now released a DMG file which can be downloaded and installed just like most other easy to use applications. Using the DMG file smittix was able to get up and running within 5 minutes.

GQRX running on El Capitan OSX
GQRX running on El Capitan OSX

Collecting private flight data on the World Economic Forum Atendees with an RTL-SDR

Every year politicians and business men meet at the “World Economic Forum” in the small mountain town of Davos, Switzerland to discuss various topics and create business deals. This year Quartz, an online newspaper/magazine sent a journalist to the forum. However, the journalist wasn’t tasked with writing a conventional story about the forum topics – instead he was asked to use an RTL-SDR to monitor the private helicopter traffic coming in and out of Davos using ADS-B data. They write that their reasoning for doing this as follows:

We went to all this trouble because there is perennial fascination with the flying habits of the 2,800 Davos delegates. Use of private aircraft, though often wildly overstated, highlights the vast wealth and power that descends upon this small skiing town in the Swiss Alps each year. And their transportation choices are frequently criticized for their environmental impact at a conference that seeks solutions to reducing carbon emissions, among other topics.

Using an RTL-SDR dongle, Raspberry Pi and ADS-B collinear antenna they monitored the flights over Davos. From the data they were able to determine the flight paths that many helicopters took, the types of helicopters used and the most popular flight times. They were able to identify 16 private helicopters that were used, although they write that some may not have had their ADS-B transponders turned on.

The RTL-SDR and various other components used to track the helicopters.
The RTL-SDR and various other components used to track the helicopters.
The flight path taken by the private helicopters.
The flight path taken by the private helicopters.

 

AISRec: Windows and Android AIS Decoder

Back in 2015 we posted about the free trial version of AISRec a few times, but we never really saw a full completed version get released. So far this year the full version is still not released, but the programmer Jane Feverlay has created a website and uploaded the latest Windows version of their trial version software

AISRec is an RTL-SDR compatible AIS decoder that is made for Windows and Android. AIS is an acronym for Automatic Identification System and is a system used by ships to broadcast position and vessel information. By monitoring AIS transmissions with the RTL-SDR we can build a boat radar system. We have a tutorial on this here (using other software).

The last time we tried AISRec we found that it had very good ability at decoding AIS messages, especially very weak ones and was by far the easiest AIS decoder to set up and use on Windows. The features include:

1. Work with all rtlsdr dongles. Allow future support for other SDR devices.
2. Stable reception of AIS signals at as low as SNR 7 dB.
3. Tolerance to frequency drifts > 30 ppm.
4. Dual-channel reception at 161.975 MHz and 162.025 MHz.
5. Channel selectivity > 56 dB.
6. Low CPU usage. No problem for Atom CPU and above.
7. Output all types of AIS messages (including Class A and Class B) in NMEA formats to UDP ports.
8. Convertion of AIVDM to AIVDO messages for your own ship.
9. Display of the received NMEA messages and the statistics.

The author of AISRec writes in an email to us an explains that the trial version has a time limit and an RX message count limit for each run, whereas the registered lite version will not. The pro version will have some additional features. Currently the author has no method for taking in paid registrations, but plans to have this ready in the future. We will post again once registration is available.

AISRec Running with OpenCPN
AISRec Running with OpenCPN

 

Nooelec + AmateurRadio.com RTL-SDR Competition now Running

Hot on the tails of our own competition which has now closed, Nooelec and AmateurRadio.com have teamed up to create a giveaway for a HackRF One and 40 RTL-SDR dongles (some even bundled with upconverters)! They are giving away:

  • 1x HackRF One HF SDR Bundle (Includes upconverter and adapters)
  • 3x NESDR XTR+ HF bundles (a.k.a E4000 RTL-SDR + Upconverter)
  • 2x NESDR Mini 2+ HF bundles (a.k.a R820T2 RTL-SDR w/ TCXO + Upconverter)
  • 10x NESDR XTR+ sets (a.k.a E4000 RTL-SDR Dongles)
  • 10x NESDR Nano 2+ sets (a.k.a R820T2 w/ TCXO RTL-SDR in small “nano” package)
  • 15x NESDR Nano 2 sets (a.k.a R820T2 RTL-SDR in small “nano” package)

To enter all you need to do is comment on their blog post (not ours!). Their competition runs from 24 January 2016 20:00 UTC to 31 January 2016 20:00 UTC.

nooelec_comp

Competition Winners Announced!

Firstly, thanks to all who entered our competition. We saw a huge response and learned a great deal about what the RTL-SDR community is up to these days. I encourage everyone to take a look through the comments on the competition post if you’re looking for project inspiration.

We ran competitions on Twitter, Facebook, the competition post itself and on our mailing list. We randomly chose 5 winners from each competition and will be sending them each one of our RTL-SDR Blog dongles. The 20 winners have now been selected. If you missed out, don’t worry – we hope to do more competitions like this again this year!

Facebook Winners!

Winners, please check your Facebook private messages. If you don’t see it, the message may be hidden in the spam inbox.

Zim Zimmerman – Currently working hard to overcome the NOISE related to living in an apartment complex in a Seattle suburb! TWO band pass filters; shielding via Al foil wrap and a directional antenna have helped. As hams say; “Good luck in the contest OM!” 73 K4IES

Sammy Truong – Exploring quickpass highway toll system.

Jimmy Vance – Just getting started with SDR dongles. For now will use them as general purpose receivers and spectrum analyzers

Amy Cstar – I’m a newbie and I’m hoping to use this to listen to the ISS 

Cezar Lesanu – Already running a radio meteor detection setup on RMOB and frequency stability and shielding are issues:http://www.rmob.org/livedata/main.php#Cezar Lesanu_ROAN@USV

Twitter Winners!

Winners, we’ve publicly tweeted you asking you to please email us directly. Please also tweet back at us confirming that you’ve received our notification.

Xizt ‏@RECEPTORR – Will use RTL-SDR dongle for learning wide band signals and monitoring Ham radio bands.

Rooster Mcdoogle ‏@RoosterMcdoogle – My first SDR project is going to be identifying/decoding local signals, and then satellites.

Sparkie Nelson ‏@SparkieNelson – Need a cheap spectrum analyzer for balloon beacon transmitter development.

DPini ‏@DPini – Right now, I’m trying to build a QFH antenna. My intention is to recieve NOAA and CubeSats

D M Miller ‏@bentmg – Hoping to set up a dedicated sdr to decode some DMR and NXDN signals in my area for streaming if I win the giveaway!

Blog Comment Winners!

We’ve emailed all blog comment winners using the email address that was provided. Please check your spam folder if you don’t see it, or contact us directly.

Jeff – Portable rf spectrum analysis

Stephen McBain – Starting out at the basics and using a dongle to decode different signals and just learning radio.

Matt – I’m working on building a WebSDR in Bucharest with full coverage from ~15mhz to ~1700mhz (R820T2 upper limit)

John Wilkerson – I use dual dongles for monitoring p25 trunked systems, as well as aircraft tracking.

Bryan – I’m pairing the RTL-SDR with my TS-940SAT and DXLab Commander + SDR# FTW.

Mailing List Winners! (Emails obscured for privacy)

We’ve obscured the winning emails for privacy, but we’ve emailed these winners now. Please check your spam inbox too!

g___e__e.r_i___i@____.com

j____p__a@____.com

v___o_t@________.ca

m_r___n@________.net

d_b___l_+_t_s_r@_____.com