Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1020 Bytes

File metadata and controls

23 lines (18 loc) · 1020 Bytes

FHSS-Simulator

I built this simulation to understand how radio communication holds up under interference. It combines Binary Phase Shift Keying (BPSK) with Frequency-Hopping Spread Spectrum (FHSS), where the signal switches between different frequencies in a pseudorandom pattern. This makes it harder for a single-frequency jammer to disrupt the entire message, since only some of the transmitted bits are affected

The script models a full transmit-channel–receive pipeline. It measures bit error rate (BER) and compares it to the expected BPSK performance, generates a spectrogram that shows the frequency hopping and interference, also it exports a .wav file so you can hear what the signal sounds like

Screenshot 2026-03-30 at 21 07 52

How to run it

  1. Install the dependesis:
pip install numpy matplotlib scipy
  1. Run the script:
python3 simulator.py