Category: Applications

Transmitting DATV DVB-S Video with the HackRF Blue

Simon (G0FCU) has been using his HackRF Blue to transmit DVB-S video captured from his video camcorder. In the ham radio hobby there is something called digital amateur television (DATV) in which amateurs transmit digital video over radio to repeaters. Simon writes that in the UK DATV is usually transmitted at above 1.2 GHz and in the DVB-S format, which is the same format used by some satellite TV services.

Although there are dedicated DATV radios, Simon decided that he wanted to use the HackRF Blue as the radio for transmitting his own DATV signals. To do this he uses the software dvgrab to grab the video stream from the camera, then passes it to ffmpeg to compress the raw video into MPEG-2 and then uses a GNU Radio program called gr-dvbs to use the HackRF to transmit the DVB-S stream at 1000 MHz.

To test that his signal was transmitting correctly, Simon then used a standard DVB-S satellite TV with the LNB bypassed. 

Previously we also posted about using a BladeRF for transmitting DATV DVB-T signals.

What the DVB-S output signal looks like on another HackRF.
What the DATV DVB-S output signal looks like on another HackRF.

Trunking with the Latest DSD+ 1.08t Fast Lane Version

DSD+ stands for Digital Speech Decoder Plus and is a software program that can allow you to decode digital voice signals such as P25 and MotoTRBO/DMR. DSD+ is under continual development, and in their last public update they began offering early access to the latest DSD+ features in development through their fast lane subscription. The fast lane subscription costs $10 USD for one year and $25 for unlimited early access. Information about joining the fast lane service can be found in the readme file of the latest DSD+ 1.074 public release.

Over on YouTube user John Miller has been testing the latest early access version DSD+ 1.08t. This new version adds trunking support which allows you to follow conversations. Previously other software like Unitrunker was required to follow the trunking signal. On YouTube John has uploaded a video first showing trunking in action, and a second video showing how to set up DSD+ 1.08t for trunking.

DSDplus 1.08t trunking

DSDplus Trunking Setup 1.08t

Lantern: A New 925 MHz to 2175 MHz RTL2832U Based SDR for Satellite Reception

Over on Reddit we’ve seen news about a new 925 MHz to 2175 MHz RTL2832U based software defined radio which is currently under development. It is called the “Lantern” and is being developed for the Outernet project.

The Outernet project aims to be a “library in the sky” satellite based service that will provide free access to daily downloads of data such as books, news, videos and other information. It’s goal is to provide people who may not have easy physical or uncensored access to the internet an easy way to access daily information.

Outernet Overview Poster
Outernet Overview Poster

To achieve this goal the Outernet project needs a good low cost satellite receiver. The RTL-SDR is a good candidate, but it’s performance at about 1.5 GHz isn’t great, and this appears to be the frequency Outernet wants to use. To improve the performance for satellite reception at these frequencies they have redesigned the RTL-SDR by replacing the R820T2 tuner with a MAX2120 tuner chip which tunes from 925 MHz to 2175 MHz. They have also improved the components used and the PCB layout. The regular RTL2832U chip is used as the ADC and USB interface, so the maximum bandwidth and ADC bit depth remain the same.

The Lantern is currently being prototyped and there is a discussion about it on Reddit. They are aiming for a price point below $20, but note that it will take time to get to that low price as mass production will be required.

The current Lantern prototype.
The current Lantern prototype.

Building a Passive Radar System with RTL-SDR Dongles

Back in 2013 we posted about Juha Vierinen’s project in which he created a passive radar system from two RTL-SDR dongles, two Yagi antennas, and some custom processing code. Passive radar can be used to detect flying aircraft by listening for signals bouncing off their fuselage and can also be used to detect meteors entering the atmosphere. The radar is passive because it does not use a transmitter, but instead relies on other already strong transmitters such as FM broadcast radio stations. Juha writes:

A passive radar is a special type of radar [that] doesn’t require you to have a transmitter. You rely on a radio transmitter of opportunity provided by somebody else to illuminate radar targets. This can be your local radio or television station broadcasting with up to several megawatts of power. 

How passive radar works
How passive radar works

His previous write up was brief, but now over on Hackaday Juha has made a detailed post about his RTL-SDR passive radar project. In the post he explains what passive radar is, shows some examples of his and others results, shows how it can be done with an RTL-SDR dongle, and finally briefly explains the signal processing required. In his next post Juha aims to go into further detail on how passive radar works in practice.

Below we show a video that shows an example of one of his passive radar tests that was performed with a USRP software defined radio and two Yagi antennas. 

This video shows a lot of airplanes around the New England area detected using a simple passive radar setup, consisting of: one USRP and two yagi antennas, a quad core linux PC. Every now and then an occasional specular meteor echo is observed too.

In his other tests shown on YouTube Juha also used two RTL-SDR dongle’s with a shared clock and was able to get similar results.

FM Radio Passive Radar, WWLI 105.1 MHz

Monitoring Drone FPV Frequency Usage with a USRP Software Defined Radio

Over on YouTube balint256 (Balint), a researcher at Ettus (creators of the USRP line of software defined radios) has uploaded a video showing how he is using his USRP to help with frequency management at FPV time trial racing events. FPV a.k.a First Person View is a term used to describe the act of flying a remote controlled aircraft such as a quadcopter with an onboard camera that transmits live video down to the pilot. FPV racing is a new sport where pilots race FPV controlled drones around a track.

One important technical challenge at these events is frequency management. FPV drones use many frequencies at around 2.4 GHz for control and 5.8/2.4/1.3 GHz for video. With many drones in the air it is important that frequencies are managed appropriately so as to not jam each others signals.

To try and solve this problem Balint has been using GNU Radio coupled with a USRP X310 software defined radio to get very wide band RF spectrum waterfall views of the 2.4 and 5.8 GHz bands. In the waterfalls he is able to see when control signals and video signals are transmitted and at what frequency, and is able to tell if any are overlapping and jamming each other.

SDR Wideband Spectrum Monitoring for Drone FPV Frequency Management

In addition to this, Balint has also been working on his custom software defined radio based digital video downlink. Back in March we posted about his earlier work on this concept. In the video Balint demonstrates his drone with an on board USRP E310 which is used to send a custom 4.2 Mbps video downlink.

SDR digital video downlink (custom drone FPV) with E310 + webcam

New EAS SAME Weather Alert Decoder

Over on Reddit and GitHub user cuppa-joe has released a Python based EAS SAME Alert message decoder called dsame which is compatible with the RTL-SDR. EAS is an acronym for Emergency Alert System and is a system that is most commonly used to alert the public to local weather emergencies such as tornadoes, flash floods and severe thunderstorms.

Local EAS weather alerts are encoded with the SAME (Specific Area Message Encoding) protocol. They are transmitted on the local weather radio frequency in the USA and Canada and some weather radio’s are capable of decoding the EAS SAME data. Cuppa-joe’s dsame EAS decoder outputs full EAS weather messages such as:

The National Weather Service in Pleasant Hill, Missouri has issued a Required Weekly Test valid until 12:30 PM for the following counties in Kansas: Leavenworth, Wyandotte, Johnson, Miami, and for the following counties in Missouri: Clay, Platte, Jackson, Cass. (KEAX/NWS)

To use the software you will still need to use a EAS demodulator such as multimon-ng which is available for Windows and Linux, and you will also need Python 2.7+ installed.

An example EAS SAME alert can be heard in the player below:

Determining the Radiant of Meteors using the Graves Radar

With an RTL-SDR or other radio it is possible to record the echoes of the 143.050 MHz Graves radar bouncing off the ionized trails of meteors. This is called meteor scatter and it is usually used to count the number of meteors entering the atmosphere. Amateur radio astronomers EA4EOZ and EB3FRN decided to take this idea further and synchronised their separate receivers and recordings with a PPS GPS signal in order to determine the radiant of the meteors they detected. They write:

The idea was to analyze the Doppler from the head echoes and and see if something useful can be extracted from them.

We detected a meteor from two distant locations and measured Doppler and Doppler slope at those locations. The we tried to find solutions to the meteor equation by brute force until we obtain a big number of them. Then we plotted those solutions in the sky and we see some of them pass near a known active radiant at the time of observation. Then, we checked the velocity of those solutions near the known radiant and found they are quite similar to the velocity of the known radiant, so we concluded probably they come from that radiant.

But they can come from everywhere else in the sky along the solution lines! There is not guarantee these meteors to be Geminids, although probabilities are high. Once all the possible radiants of a meteor are plotted into the sky, there is no way to know who of all them was the real one. Doppler only measurement from two different places is not enough to determine a meteor radiant. But don’t forget with some meteors, suspect to come from a known shower, the possible results includes the right radiant at the known meteor velocity for that radiant, so there seems to be some solid base fundamentals in this experiment.

Initially they ran into a little trouble with their sound cards, as it turns out that sound cards don’t exactly sample at their exact specified sample rate. After properly resampling their sound files they were able to create a stereo wav file (one receiver on the left channel, one receiver on the right channel) which showed that the doppler signature was different in each location. The video below shows this wav file.

Double station meteor head echoes

Using the information from their two separate recordings, they were able to do some doppler math, and determine a set of possible locations for the radiant of the meteors (it was not possible to pinpoint the exact location due to there being no inverse to the doppler equation). The radiant of a meteor shower is the point in the sky at which the meteors appear to be originating from. Although their solution couldn’t exactly pinpoint the location, some of the possible solutions from most meteors passed through the known radiant of the Geminids meteor shower. With more measurement locations the exact location could be pinpointed more accurately.

Possible solutions for the radiant of the Geminids meteor shower.
Possible solutions for the radiant of several meteors detected during the Geminids meteor shower.

Wireless Door Bell 433 MHz ASK Signal Analysis with a HackRF

Paul Rascagneres, an RF experimenter has recently uploaded a document detailing his efforts at reverse engineering a wireless doorbell (pdf file) with a 433 MHz Amplitude Shift Keyed (ASK) signal with his HackRF software defined radio. The HackRF is a SDR similar to the RTL-SDR, but with a wider available bandwidth and transmit capabilities.

To reverse engineer the doorbell, Paul used GNU Radio with the Complex to Mag decoder block to receive and demodulate the ASK signal. Once demodulated he was able to visually see the binary modulated waveform, and manually obtain the serial bit stream. From there he went on to create a GNU Radio program that can automatically obtain the binary strings from the ASK waveform.

In order to replay the signal, Paul found that the simplest way was to use the hackrf_transfer program, which simply records a signal, and then replays it via the HackRF transmitter on demand. With this method Paul was able to ring his doorbell via the HackRF.

Paul also confirmed his SDR results with an Arduino and 433 MHz transceiver. He then took it a step further and used the Arduino to create a system that could automatically receive and replay signals at 433 MHz and 315 MHz.

Decoding an ASK modulated bitstream.
Decoding an ASK modulated bitstream.