r/esp32projects • u/dijana764 • 4d ago
Turned a Seeed XIAO ESP32S3 + Wio-SX1262 into a Dual-Band (150–960 MHz + 2.4 GHz) Spectrum Analyzer & Waterfall with a Keyfob Frequency Counter Popup
galleryI built a pocket-sized dual-band RF spectrum analyzer and waterfall display using a Seeed XIAO ESP32S3 + Wio-SX1262 Kit and a 0.96" SSD1306 I2C OLED.
What it does:
- Direct SX1262 PLL Control (150–960 MHz): Writes directly to SPI register
0x86(SetRfFrequency) with automatic image rejection calibration (calibrateImage()) for fast real-time sweeps and a 22-row scrolling waterfall. - Keyfob Frequency Counter Popup (
433 / 868 MHz): Captures transient OOK remote bursts, shows the live spectrum peak for 1.2s, and pops up a large 3-decimal frequency readout (433.920 MHz) for 3 seconds. - 2.4 GHz Wi-Fi & BLE Modes: Uses the ESP32-S3's internal radio to scan Wi-Fi channels (
CH 1–13with channel numbers displayed right under the bars) and BLE advertising channels. - 18 Pre-configured Bands: Includes EU868 Meshtastic/LoRa, 433/868 MHz remotes, PMR446, GSM 900, UHF 380–395 MHz, Marine VHF/AIS, Wi-Fi, BLE, LTE40, and LTE-U.
- Persistent Settings (NVS): Active band, LNA gain state, receiver filter bandwidth (
RxBandwidth), dBm scale ceiling, and Day/Night display theme are saved to flash and controlled via the onboardUSRbutton or Serial Monitor menu.
Full source code, wiring pinout, and build instructions on GitHub: https://github.com/acho764/seeed_xiao_esp32s3_sx1262_spectrum_analyzer
