Wireless 101

Labs & Demos

Interactive pages for this course. Every number on them is computed in your browser — nothing is a recorded animation, and nothing calls out to a server.

7 labs · 12 interactive demos
How to read these. Each page states which of its numbers are computed, which come from a published figure, and which are illustrative. Several were generated with AI assistance and say so on the page. They are teaching instruments, not measurements of real hardware.

Labs

Demos

Build and combine sine waves

Add two or three sinusoids and watch their sum, added point by point. Slide two frequencies close and a slow beat appears at |f₁−f₂|; set two equal tones in phase and they add to A₁+A₂, anti-phase and they cancel. The beat frequency, carrier, envelope and combined peak amplitude are all measured off the samples.

M2 · L1AI-generated

Modulate and demodulate an AM signal

Build a standard AM signal s(t) = A_c[1 + m·cos(2πf_m t)]cos(2πf_c t) and watch its envelope carry the message, an envelope detector recover it, and the spectrum show a carrier with a sideband at f_c ± f_m. Raise the modulation index m past 1 and the envelope goes negative — the detector clips and distorts. The sideband frequencies, envelope minimum A_c(1−m) and power efficiency m²/(2+m²) are all computed.

M3 · L1AI-generated

Compare AM and FM under noise

From lesson FM

Build an FM signal s(t) = A_c cos(2πf_c t + β sin(2πf_m t)) and read its modulation index β = Δf/f_m and Carson bandwidth 2(Δf + f_m). Add the same seeded noise to an AM and an FM signal and watch a frequency discriminator recover a clean message where an envelope detector gets a noisy one — the 3β²(β+1) SNR advantage above the ~10 dB FM threshold. Widen Δf for more noise immunity but more bandwidth.

M4 · L1AI-generated

Decode a WiFi (802.11) frame

From lesson WiFi (802.11)

Take an 802.11 MAC frame apart field by field — Frame Control, Duration, Address 1/2/3, Sequence Control, optional Address 4, body and FCS — and watch the contiguous offsets sum to the total length. Decode the Frame Control word bit by bit into type, subtype and flags; compute the FCS as a real CRC-32 (0xEDB88320) over the bytes and flip one to see it read corrupt; and read an MCS index as a computed 802.11n PHY rate.

M11 · L1AI-generated