Module 3: Code Your Own Receiver

WOVEN LEARNING
Harbor Signals
Module 3 · Code Your Own Receiver
Week 2  ·  about 3 hours  ·  Field Manual section 3
❓ Today's question

What does a radio signal look like as numbers, and can your own code find it?

You'll leave with: your own spectrum analyzer and FM radio, written in Python, running on signals you recorded.

1  Record 2  See it 3  FM radio 4  Go raw
Talk like a pro  Sample rate: samples per second; it sets how much spectrum you see  ·  FFT: turns samples over time into strength at each frequency  ·  Bin: one frequency slot in an FFT  ·  Demodulate: pull the message back out of the radio wave
🎬 Watch first

🎬 A visual explanation of the Fourier transform, the math inside every FFT. Watch it before Step 2.

1
Step 1  ·  20 min
Record the airwaves
Do this
  1. In SDR++, set the Recorder to Baseband and save into your recordings folder (Field Manual 3.1).
  2. Record 5 seconds with a strong FM station in the middle.
  3. Then record 5 seconds centered on 162.000 MHz, so it's your newest file.
✅ You're ready when

you have two recordings of about 50 MB each.

2
Step 2  ·  45 min
See it with your own code
Do this
  1. Run the spectrum program from your Code Pack on the 162 MHz recording, then zoom in on the middle (Field Manual 3.2).
  2. Find the AIS dashes in your waterfall. Do they match what SDR++ showed?
⭐ Go further
  • Compare a tiny and a huge FFT size (Field Manual 3.2). What do you gain, and what do you give up?
✅ You're ready when

your plot shows the same signals SDR++ showed, and you can explain the spike in the center.

3
Step 3  ·  45 min
Build an FM radio in four steps
Do this
  1. Run the FM program on your FM recording and play the audio it writes (Field Manual 3.3).
  2. Read the four steps in the code: shift, filter, demodulate, de-emphasize.
⭐ Go further
  • Pull a second station out of the same recording.
  • Find the 19 kHz stereo pilot and the 57 kHz RDS data in the demodulated signal.
✅ You're ready when

music comes out of code you can explain line by line.

4
Step 4  ·  optional
Go raw
Do this
  1. Capture raw I/Q with the RTL-SDR Blog command line tools and plot it with your spectrum program (Field Manual 3.4).
⭐ Go further
  • The big one: decode AIS straight from your own I/Q (Field Manual 3.5).
✅ You're ready when

your raw capture shows the same signals as your SDR++ recording.

⚓ At the port This is the math inside every marine radio and radar display: samples in, FFT, decisions out.
🏁 Module 3 complete

You turned raw numbers into pictures and sound. Check-in: your spectrum plot of the 162 MHz recording, plus one sentence on the FFT size trade-off.

Up next: Module 4

Same FFT, new sensor: real radar.

Built by Woven Learning & Technology