Windows: Download the latest version
Linux: read Installation section below
- Optimized for only one purpose - to use HackRF as a spectrum analyzer
- All changes in settings restart hackrf_sweep automatically
- Easy retuning
- Peak / Persistent display
- Frequency allocation bands for EU / USA(partial)
- High resolution waterfall plot
- Spur filter - removes spur artifacts from the spectrum
- hackrf_sweep integrated as a shared library
- HackRF One with Firmware v2024.02.1 (use linux inside VM and update the firmware)
Make sure HackRF is using at least the minimum firmware version (see above)
Windows:
- Windows 7+ x64 required
- Install OpenJDK 8 or later e.g. from Microsoft
- Download the latest version of Spectrum Analyzer and unzip
- On Windows 10 or less, install HackRF as a libusb device (for Windows 11 not required)
- Download Zadig and install
- Goto Options and check List All Devices
- Find "HackRF One" and select Driver "WinUSB" and click install
- Run "hackrf_sweep_spectrum_analyzer_windows.cmd"
Linux:
- To run, ensure these packages are installed (exact name depends on distro):
libusb-1.0 libfftw3 default-jdk
- Newer openjdk might work also, not tested. On Ubuntu 18.04:
sudo apt install libusb-1.0 libfftw3-bin default-jdk
- Follow the HackRF USB permissions setup - you have to add rules to udev to allow hackrf library to open the HackRF USB device, it does not work by default.
If something does not work, you can try to build it manually.
Building native libraries for Windows (using mingw-w64) and linux is done in one unified build using Ubuntu 18.04 x64.
- You'll need to install these packages:
sudo apt install build-essential maven git libusb-1.0 libfftw3-bin libfftw3-dev default-jdk mingw-w64
git clone --recurse-submodules --depth=1 https://github.com/pavsa/hackrf-spectrum-analyzer.git
cd hackrf-spectrum-analyzer/src/hackrf-sweep/
make
- To run, simply execute:
build/hackrf_sweep_spectrum_analyzer_linux.sh
- Spectrum updates stop on parameter change
- Solution: press reset button on the HackRF (firmware bug)
GPL v3