ihor.sh · radio

Radio from scratch

A visual course that builds a software radio receiver from the ground up, the way 3Blue1Brown teaches math: every idea starts as something you watch move, and formulas come last, as short labels for what you already understand. Along the way you'll build, line by line, the receiver that runs on this site, and from chapter 3 on, try each idea on real radio.

You need school math and a little curiosity. Each chapter lists what it builds on, with links back.

Words and units

Every term the course uses, in one line. Click it to jump to where it's explained.

Hz, kHz, MHz, GHz
turns (or oscillations) per second: one, a thousand, a million, a billion.
frequency, amplitude, phase
how fast an arrow turns, how long it is, and where it started.
I and Q
an arrow's two shadows (sideways and up); every sample is one I/Q pair.
complex number, j
an arrow written as two numbers; j is the quarter turn, and j·j = −1.
sample, MS/s, kS/s
one snapshot of the arrow; millions or thousands of snapshots per second.
aliasing, Nyquist
a too-fast arrow pretending to be a slower one; the honest zone of ±half the sample rate.
bit, byte
a binary digit (0 or 1); 8 bits make a byte, a number from 0 to 255.
dB (decibel)
a ratio of strengths: +10 dB is 10× the power, +3 dB about 2×.
spectrum, FFT, waterfall
how strong each frequency is; the fast way to compute it; spectra stacked over time.
DC
a constant part of a signal that doesn't spin: frequency 0.
mixing, NCO, local oscillator
sliding every frequency by multiplying by a spinning arrow; the arrow made from arithmetic.
filter, FIR, taps
a weighted average that keeps some frequencies and removes others; the weights.
decimation
keeping every M-th sample, after filtering.
FM, AM, SSB, CW
sound in the arrow's speed, in its length, one sideband only, Morse on/off.
demodulation
getting the sound back out of a station's arrow.
AGC, squelch
automatic volume; muting when nobody's transmitting.
noise floor, SNR
the level of the hiss (the median bin); how far a signal stands above it, in dB.
filter shift
sliding the passband off the tuned frequency to dodge an interferer.
biquad, CTCSS
a five-number filter with feedback; the sub-audible tone repeaters use (67–250 Hz).
noise reduction, musical noise
turning down frequency bins that sound like hiss; the warble when that's overdone.
ppm
parts per million: 50 ppm is 50 millionths.
tuner, IF, image
the chip that moves radio down to a fixed intermediate frequency; the mirror frequency that can sneak in.
PLL, VCO, crystal
the circuit that makes any frequency from one steady quartz crystal.
register, I2C
a numbered setting inside a chip; the two-wire link chips use to set each other's registers.
hexadecimal (0x…)
base-16 numbers: 0x10 is 16, 0xFF is 255.
endpoint, control, bulk
a one-way USB mailbox; small setting messages; the big sample stream.
KiB, MB/s, Mbit/s
1024 bytes; megabytes per second; megabits per second (a bit is ⅛ of a byte, so 8 Mbit/s = 1 MB/s).
driver
the code that knows which registers to write, in which order.

Also: SSTV decoder · Ham radio license, visually (exam prep with 16 lessons) · Spectrum Lab (the full app) · one-page quick reference · build for your own dongle (developer guide).

Last updated