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
- Install the dependesis:
pip install numpy matplotlib scipy- Run the script:
python3 simulator.py