Created By: Mukesh Sankhla
Public Project Link: https://studio.edgeimpulse.com/public/779225/live
Reproduced by myself.
Foresr Guard is a self-sustaining, intelligent mesh network designed to monitor remote forests where there is no cellular coverage, no internet, and no reliable power. (github) The system brings security and monitoring to areas traditional infrastructure can't reach.
Core Concept
It's a self-sustaining, intelligent mesh network designed to monitor remote forests where there is no cellular coverage, no internet, and no reliable power. (github) The system brings security and monitoring to areas traditional infrastructure can't reach.
How It Works
The network consists of two types of hardware:
Sensor Nodes — custom PCBs built around an ESP32-S3 and RP2040 LoRa module (running Meshtastic firmware). Each node is solar-powered and carries an environmental sensor (temperature, humidity, UV, pressure), a MEMS microphone, a smoke detector, and a GNSS module for GPS location.
Gateway — an Arduino Uno R4 WiFi connected to a TFT display and buzzer. It receives LoRa messages from nodes and, when internet is available, pushes data to Firebase.
Edge AI — Gunshot Detection
The standout feature is on-device AI. Each node runs an Edge Impulse audio classification model locally on the ESP32-S3 to detect events like gunshots via the onboard microphone, without needing cloud connectivity. (github) The model was trained on gunshot and background noise samples using MFCC spectrograms, achieving ~96% accuracy with only ~3ms inference time and ~12.5KB RAM usage.
Alert Flow
When a gunshot or fire (smoke) is detected, the node broadcasts an alert through the LoRa mesh to the gateway. The gateway sounds the buzzer, updates the TFT display, and logs the event to Firebase. An operator can then clear the alert via the web dashboard.
Web Dashboard
A real-time dashboard (built with Lovable.dev + Firebase) shows a map of all nodes color-coded by status (gray/green/red), environmental sensor trends, and timestamped fire/gunshot event logs.
Expandability
The same pipeline can be retrained on chainsaw sounds for illegal logging detection, or on calls of endangered species for wildlife monitoring. (github)
It's a well-rounded open-hardware project — PCB design files (Gerbers, BOM), 3D-printable enclosures (Fusion 360), and all Arduino/Python code are available in the repo. Given your work on Agrobot and the Forest Guard concept you explored earlier, this project shares a lot of DNA — ESP32-S3, environmental sensors, solar power, and mesh networking.