Skip to content

cho45/hackrf-sweep-webusb

Repository files navigation

HackRF Sweep WebUSB

This is a spectrum analyzer implementation in JavaScript with WebUSB for HackRF.

Usage

There are no requirements except a browser supporting WebUSB (available by default with Google Chrome currently)

  1. Access to https://cho45.stfuawsc.com/hackrf-webusb/ .
  2. Connect your HackRF to USB port.
  3. Click [CONNECT] and select the device.
  4. Set range for analysis.
  5. Click [START].
  6. Adjast gains.

Implementation

  1. Communication with HackRF device with WebUSB.
  2. Run FFT with WebAssembly which is written in Rust (using RustFFT)
  3. Show results with WebGL waterfall implementation.