rtl_sdr
Capture raw radio samples with RTL-SDR dongle
TLDR
Capture to file
SYNOPSIS
rtl_sdr [-f freq] [-s rate] [-g gain] [options] output
DESCRIPTION
rtl_sdr captures raw radio signals using RTL-SDR dongles, which are inexpensive USB devices based on the RTL2832U chipset originally designed for DVB-T television reception. By reading raw I/Q (in-phase/quadrature) samples from the device, it enables software-defined radio experimentation across a wide frequency range, typically 24 MHz to 1766 MHz depending on the tuner chip.
The tool writes raw 8-bit I/Q sample data to a file or stdout, which can then be processed by other applications to decode various signal types including FM radio, ADS-B aircraft tracking, weather satellites, and pager systems. The sample rate parameter controls the bandwidth captured, with higher rates covering more spectrum but requiring more USB bandwidth and storage.
Gain and frequency correction parameters help optimize reception quality. Setting gain to zero enables automatic gain control, while manual values allow fine-tuning for specific signals. The PPM correction compensates for the oscillator frequency error inherent in low-cost dongles, which can be calibrated against a known reference signal.
PARAMETERS
-f FREQ
Center frequency (Hz).-s RATE
Sample rate (Hz).-g GAIN
Gain (0 for auto).-n SAMPLES
Number of samples.-p PPM
Frequency correction.-d INDEX
Device index.-D MODE
Direct sampling mode.-S
Enable synchronous mode.
CAVEATS
Requires RTL-SDR compatible device. USB bandwidth limits sample rate. Heat affects frequency stability.
HISTORY
rtl_sdr is part of librtlsdr, enabling RTL2832U-based DVB-T dongles for SDR. Created by Steve Markgraf and others, it revolutionized accessible software-defined radio.
