Category: Applications

Direct Sampling Mode with No Hardware Modifcations

Update: There is now a newer driver that allows HF tuning without hardware mods via a different mechanism. The new mod seems to work better than this one. Read about it at https://www.rtl-sdr.com/new-experimental-r820t-rtl-sdr-driver-tunes-13-mhz-lower/.

Over on the Reddit RTL-SDR forums user Jengal has posted a modified RTLSDR.dll dll file for SDR# which allows the direct sampling mode to be used on the R820T without the need for any hardware modifications. The modified dll is compiled from keenerds experimental branch of the RTL-SDR driver, which uses code for the no hardware mod written by tejeez. The no hardware direct sampling code was inspired by Anonofish’s discovery where he found that the E4000 based RTL-SDR could tune to AM radio without the need for the direct sampling mod (though this appears to be now patched in the newer rtlsdr drivers).

The direct sampling mod is a hardware modification to the RTL-SDR which allows it to receive HF frequencies between 0-14.4 MHz without the need for an upconverter. It works by connecting an antenna directly to the RTL2832U chip, thus bypassing the tuner. Teejez’s modification tells the RTL-SDR to bypass the tuner in software, allowing antennas to be connected to the normal antenna port. HF reception with the experimental driver is very poor in comparison to the direct sampling hardware mod or an upconverter, but even so Jengal was able to receive AM Radio, an SSB ham radio signal and an HF weather report with a simple longwire antenna.

To use the modified dll, simply download it from this link, rename it to rtlsdr.dll, and replace the original rtlsdr.dll in the SDR# folder. Then connect an HF antenna to the normal antenna port and in SDR# tune to a frequency between 0-14.4 MHz. Next turn ON the RTL AGC option in the configure menu. Jengal replaced the function of the RTL AGC option with the direct sampling mod. He found that best reception occurred when he set the gain to 48 dB.

No Hardware Mod Direct Sampling in SDR# Receiving AM Radio
No Hardware Mod Direct Sampling in SDR# Receiving AM Radio

Decoding 2x AIS Channels with SDR Console, AISMon and OpenCPN

YouTube user k2nccvids has posted a video showing him decoding and plotting both AIS channels simultaneously on a Windows PC with free software. To do this he uses SDR Console and two AISMon instances. SDR Console is a general purpose SDR GUI that supports the RTL-SDR. One of it’s major advantages over other SDR software is that it can tune to multiple signals in the same swath of tuned bandwidth simultaneously and output their audio to different virtual audio cables.

k2nccvids used two AISMon instances, each one connected to a separate virtual audio cable outputting AIS audio from SDR Console. He set AISMon to output decoded UDP packets on two different ports. Then he created two UDP listeners in OpenCPN for plotting, one for each port.

RTL-SDR DSD Call Log Recorder

Programmer Tyler Watt has been working on software that automatically logs each call from an RTL-SDR running DSD (Digital Speech Decoder) and then stores it in a time stamped database as an mp3 file. There is also a web front end for the database which allows public users to search and play recorded calls.

Recently Tyler updated his code by rewriting it in PHP and making it multiplatform.

The old version of his web front end in action for his local P25 calls can be viewed here, and the newer one can be found here.

Reverse Engineering Radio Controlled Power Outlets with Help from the RTL-SDR

Radio controlled electricity power outlets are outlets that can be turned on or off using a wireless radio controlled remote. Over on the blog leetupload.com the author has written an article showing how he was able to reverse engineer the wireless power outlets radio protocol.

The author used an RTL-SDR and SDR# to listen to the outlets wireless AM transmissions at 434 MHz. He then recorded the signal audio and then used audacity to view the waveform. By analyzing the audio output he discovered that the signal was a Non-Return-To-Zero (NRZ), pulse width modulated (PWM), Amplitude Shift Keying / On Off Keying (ASK/OOK) signal.

Later he was also able to use the RFCat USB dongle to transmit an on off signal from his computer. RFCat is an USB dongle that is capable of transmitting on 433 MHz.

RTL-SDR Software Radio used to Reverse Engineer the Wireless Power Outlet
RTL-SDR RTL2832U Software Radio Audio output Analyzed in Audacity for Reverse Engineering a Wireless Power Outlet
Remote Control Outlet Replay With RFCat

Source Hackaday

Decoding APRS with SDR#, APRSISCE32 and an RTL-SDR

Over on YouTube user k2nccvids has posted a video showing how he was able to decode APRS signals and plot them on a map using APRSISCE32. APRSISCE32 is an advanced Automatic Packet Reporting System (APRS) decoder which has mapping capabilities and can also connect to the internet as an iGate. APRS is used by amateur radio hobbyists to send data like messages, announcements and also GPS coordinates.

Real Time GPS Positioning with the BladeRF

Over on YouTube user taroz1461 shows real time GPS positioning done in software using a BladeRF. The BladeRF is a ~$400 software defined radio which similar specs to the HackRF and compared to the RTL-SDR is capable of receiving much larger bandwidths and transmitting.

To do this decoding he used RTKLIB and his own GNSS-SDRLIB software which is a Windows GUI program. We aren’t sure if this software will work with the RTL-SDR, but we note that other people have had success with GPS positioning and the RTL-SDR.

Real-time GPS positioning with bladeRF

Controlling a Remote Control Car with the HackRF

On YouTube user 王康 has been working with his HackRF One to create a computer keyboard controlled interface for his remote control car. The HackRF is a ~$300 software defined radio similar to the RTL-SDR, but with transmit capabilities.

To control the car he wrote a GNU Radio program to generate a control signal that is transmitted by the HackRF and a GUI to listen to keyboard presses on the PC.

HackRF One with gr-remotecar

TVSharp Updated to Version 1.2

The PAL/NTSC analogue TV viewer TVSharp has recently been updated to version 1.2. This new version features an updated GUI as well as automatic frequency correction and automatic position correction. This may correct some of the scrolling and slanting problems seen in previous versions.

The latest TVSharp can be downloaded from here.

Word of warning: Chrome recognizes the download as malicious, however I have downloaded the file using FireFox and scanned it with Microsoft Security Essentials which found it to be clean.

TVSharp v1.2
TVSharp v1.2