Category: Applications

Digital Ding Dong Ditch – Hacking wireless doorbells with Arduino and RTL-SDR

Over on YouTube user Samy Kamkar has uploaded a video showing how he was able to use an RTL-SDR to copy his friends wireless doorbell signal and prank him by replaying it using an Arduino and 433 MHz transmitter. His video goes through the entire reverse engineering process he used from recording the wireless doorbell signal with the RTL-SDR, to analyzing and understanding the signal and finally to programming the Arduino with the code to replicate the doorbell signal. If you don’t like video explanations, Samy has also done a write up of the same material on his website. 

Digital Ding Dong Ditch Prank - hacking wireless doorbells w/Arduino and RTL-SDR

SDR on TV: Using SDR to Break into Homes with Wireless Alarms

Earlier this year the American TV show Good Morning America featured a segment on software defined radios being used to break into houses with wireless alarm sensors. The story is based on a Defcon 2014 paper “Home Insecurity: No Alarms, False Alarms, and SIGINT” by Logan Lamb. In the TV segment Logan shows how he uses a USRP software defined radio to send a false alarm signal, jam a wireless sensor and finally to record sensor activation data from the alarm system.

Although Logan used a USRP, the same attack could be done with the cheaper HackRF.

SDR HackRf: Home Insecurity: No Alarms, False Alarms, and SIGINT

Characterizing the SWR of an Antenna with a Noise Source and an RTL-SDR

In our last post Adam Alicajic showed us on YouTube how to determine the frequency response of an RF filter using just a wideband noise source an LNA and an RTL-SDR dongle.

In his latest video Adam shows how the SWR of an antenna can be measured using almost the same low cost equipment. One additional piece of hardware required to measure the SWR is a directional coupler which can be bought on Ebay for about $10 USD.

SWR stands for "standing wave ratio" and is a measure that can be used to tune an antenna for a particular frequency. The closer the SWR is to 1:1 at the designed antenna frequency, the better the antenna will receive (and transmit).

In his video Adam shows how he measures the SWR of an ADS-B antenna which he has built and is selling. His results show that the antenna has an SWR of 1:1.02 at 1090 MHz which is quite good.

DIY Characterize the antenna Retrurn Loss / SWR with the DVB-T SDR

Characterizing RF Filters with a Noise Source and RTL-SDR Dongle

Over on YouTube RTL-SDR experimenter Adam Alicajic has uploaded a video showing how it is possible to use the RTL-SDR as a tool to measure the frequency response of an RF filter. To do this he uses a noise source circuit which produces wide band white noise connected to an LNA4ALL, connected to the RF filter and finally connected to the RTL-SDR. Then using the Touchstone spectrum analyzer software he does a 300 MHz bandwidth sweep over a section of the spectrum which shows the response of the filter.

The noise source can be built from a simple diode based circuit as shown in a previous post, or if you have the Ham-it-up upconverter you can buy the parts for the noise generator part of the circuit.

In his video he shows the frequency response of a 145 MHz helix filter, a coax notch filter and a 1090 MHz home brew bandpass filter.

http://www.youtube.com/watch?v=X_gd2gWyGi4
http://www.youtube.com/watch?v=UvdaURc01Ts

More filters and DVB-T dongle

Monitoring House Power Usage using an RTL-SDR

Home automation enthusiast Bruce Winter has recently posted on his blog about how he uses the RTL-SDR as part of his home automation system to automatically monitor his power (and solar power generation) usage. Many home power meters are now wireless which allows meter readers to gather power usage data from afar.

To gather the power usage data he used an RTL-SDR connected to a PC running rtlamr, which is software that can read data from ERT compatible power meters that transmit in the 900 MHz ISM band. He also uses some custom code he wrote that automatically plots the data over time and allows him to integrate it with his home automation system. In addition to his post he also uploaded a video shown below that shows his system in action.

Monitoring house power using a $20 RF RTLSDR USB stick

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

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

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