Skip to content

Repository files navigation

Edge AI LoRa Anomaly Detection

An advanced, edge-computing firmware designed to safeguard decentralized sub-GHz mesh communication networks (such as Meshtastic) against malicious physical-layer RF manipulation.

This project implements a lightweight Machine Learning classification pipeline built for constraints-restricted microcontrollers used to detect, identify, and alert on active radio frequency interference profiles in real-time.

Showcase & Extra Documentation

🚀 Browser-Based Deployment

Pre-compiled production binaries can be flashed directly to the target hardware via a web browser without the need to compile.

🧠 Machine Learning Model & Dataset

The neural network architecture, DSP feature extraction blocks, and the raw RF training dataset used for this pipeline are publicly accessible. You can explore the spectral features and test the model's accuracy directly in your browser.

Highlights

  • Ultra-Low Memory Footprint Anomaly Inference: Runs real-time local spectral analysis in a fast 1ms inference time utilizing only 1.4KB of peak RAM, leaving maximum resources open for host network stacks.
  • AGC-Resilient Adaptive Tracking Squelch: Features a mathematical tracking engine that filters out SX1262's AGC's abrupt gain gear-shifts to prevent false-positive alarms while maintaining max sensitivity.
  • Multi-Profile RF Threat Simulation: Includes isolated validation utilities mirroring real-world attack vectors (Continuous Wave, Symmetric/Asymmetric Pulsed, Packet Floods, and Preamble-Stun sequences).
  • Dual-Mode Visual Firmware UI: Features a dedicated Edge ML jamming detection display, complete with a persistent historical alarm latch, automatic dynamic thresholding, and a real-time RSSI graph.

Repository Architecture

This project is structured as an intentional, modular monorepo. Each sub-project isolates its compiler tasks to allow seamless development in PlatformIO without dependency bleeding.

About

Real-time Edge AI LoRa jamming and RF anomaly detector for the Heltec (V3/V4) ESP32-S3

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Contributors

Languages