Software Defined Radio (SDR) Explained: How It Works, What You Need and What You Can Do

Software defined radio explained: IQ samples to audio signal chain
On this page

A software defined radio (SDR) is a radio in which most of the work that used to be done by electronic circuits (filtering, mixing, demodulation and decoding) is done by software on a computer. The hardware only converts radio waves into a stream of numbers. Everything after that is code, so the same hardware can be an FM radio, an aircraft tracker, a weather satellite receiver or a tool for analysing a car key fob, just by changing the program.

That flexibility is why SDR is used everywhere from mobile phone base stations and military radios to hobby listening and wireless security research.

How an SDR works

StageWhat happens
AntennaPicks up radio waves of many frequencies
Tuner / front endSelects and amplifies a band, mixes it down to a lower frequency
ADC (analog-to-digital converter)Samples the signal millions of times per second
IQ samplesThe samples are delivered as pairs, I (in-phase) and Q (quadrature)
Software (DSP)Filters, demodulates (AM, FM, SSB, digital) and decodes
OutputAudio, pictures, data, decoded packets

The sample rate decides how much spectrum you see at once: 2.4 million samples per second shows about 2.4 MHz. The full reason is in our guide to SDR sample rate and Nyquist.

Signal path of a software defined radio Antenna, then the radio front end that filters, amplifies and tunes, then the ADC that turns the signal into IQ samples, then USB to the computer where software demodulates and decodes. HARDWARE (the dongle)SOFTWARE (your computer) ANTENNApicks up RFFRONT ENDfilter, LNA, tunerADCRF → IQ samplesDSP SOFTWAREfilter, demodulate OUTPUTaudio, data, spectrum In a traditional radio every block is fixed hardware. In an SDR, everything after the ADC is code you can change.

The signal path of an SDR. The hardware only digitises a slice of spectrum; the radio itself is software.

Why IQ samples

A single stream of samples cannot tell a frequency above the centre from one below it. Taking two streams, one shifted by 90 degrees (I and Q), gives a complex signal that keeps both sides apart and makes demodulation simple in software. In practice: every SDR program, from SDR++ to GNU Radio, works with IQ data, and an IQ recording can be replayed and analysed later as if you were receiving live.

Traditional radio vs SDR

Traditional radioSoftware defined radio
DemodulationFixed circuitsSoftware, any mode
New modesNeed new hardwareInstall new software
Visualising signalsUsually noneSpectrum and waterfall
RecordingAudio onlyRaw IQ, replayable
Learning valueLimitedVery high: you can see and change every step

What you need to start

ItemBeginner choice
ReceiverAn RTL-SDR dongle, see the RTL-SDR guide
AntennaThe dipole kit that comes with it
SoftwareSDR++ (all platforms), see the SDR++ tutorial
ComputerAny recent laptop or a Raspberry Pi 4 or 5

Later upgrades: an Airspy or SDRplay for better reception, or a HackRF One for wide bandwidth and transmitting in a lab.

Once the hardware is plugged in, install GNU Radio on Windows, Linux or Mac to build your own receivers. If you are choosing a first transmit-capable tool, our HackRF vs Flipper Zero comparison explains what each can and cannot do.

What you can do with an SDR

  • Listen to FM and AM radio, aircraft (airband), marine VHF and amateur radio
  • Track aircraft with ADS-B and ships with AIS on a live map
  • Receive weather satellite images
  • Decode weather stations, tyre pressure sensors and other 433 MHz devices
  • See your own car key fob transmit and learn how rolling codes protect it
  • Build your own receiver without any radio hardware in GNU Radio, as in our GNU Radio AM receiver lab
  • Study wireless security: how devices modulate and encode data

Frequently asked questions

Receiving is legal in most countries, with exceptions for some protected transmissions. Transmitting requires a licence for the frequency and power used.

What is the cheapest SDR?

An RTL-SDR dongle. With an antenna kit it costs about 30 to 50 US dollars and covers about 24 MHz to 1.7 GHz.

Do I need to know programming for SDR?

No. Programs like SDR++ work like normal radio apps. Programming and DSP knowledge become useful when you want to decode unknown signals or build your own receivers.

What is the difference between SDR and a scanner?

A scanner is a fixed-function radio that steps through channels. An SDR shows a whole band at once, records raw signals and can decode almost any mode with the right software.

Can an SDR transmit?

Some can, such as the HackRF One, LimeSDR and PlutoSDR. The popular RTL-SDR is receive-only.

Learn SDR properly

Our Software-Defined Radio and Signal Processing course takes you from the first waterfall to real understanding: sampling, IQ data, filters, modulation and building your own receivers in GNU Radio.

Written by

Taifun Mamedov

Taifun Mamedov, founder and lead instructor of Ocsaly Academy. 570,000+ students, 26 courses on Udemy, published Packt author. Working hands-on with car electronics, car hacking, digital forensics and software defined radio since 2017.

Courses by Taifun Mamedov

Share this article