The app is designed for drone signal detection, spectrum analysis, and experimental jamming using HackRF. False positives are possible, but the program attempts to analyze signals based on many drone-specific parameters.
Operating System:
- Linux (Ubuntu/Debian, Fedora, Arch, etc.) with Python 3.8+ support
Hardware:
- HackRF One for transmit/receive operation
- Antenna
Software Dependencies:
- Python3.8+ with pip
- hackrf-tools
Libraries:
- numpy, matplotlib, tkinter, pygame, requests, smtplib
sudo apt update
sudo apt install -y python3 python3-pip python3-tk python3-dev
sudo apt install -y hackrf libhackrf-dev
sudo apt install -y portaudio19-devsudo dnf install -y python3 python3-pip python3-tkinter python3-devel
sudo dnf install -y hackrf hackrf-toolssudo pacman -S python python-pip tk
sudo pacman -S hackrfMake sure hackrf_transfer is in the PATH:
which hackrf_transferIf the command is not found, check the installation of the hackrf-tools package.
git clone https://github.com/Sh7yk/hackrf-drone-detector.git
cd hackrf-drone-detectorpython3 -m venv venv
source venv/bin/activatepip install --upgrade pip
pip install -r requirements.txthackrf_infopython3 hackrf-drone-detector.py
The jamming feature may be illegal in your country. Use it only in laboratory settings or with appropriate permission. The author is not responsible for any unauthorized use of the program or damage to your harware due to carelessness.