How vishnu7332/aquasentinel works
AquaSentinel is a water-monitoring project whose apparent main workflow is sensor acquisition, LoRa transfer, serial gateway ingestion, Firebase storage, and dashboard presentation. The tree also contains standalone sensor experiments and motor-control sketches, suggesting adjacent hardware prototypes. Only the gateway and Flask/serial service were excerpted; the firmware, dashboards, and their wiring are not verified. Dashed edges mark those inferred connections, while the gateway’s serial read and Firebase write are supported by its excerpt.
Main entry points: Lora_Receiver.ino LoRa Receiver · gateway.py Serial Gateway · Lora_Transmitter.ino LoRa Transmitter · lora.py LoRa HTTP Service
Components 12
Water Sensing
- Integrated Sensors
Sensor_integ_Tran/Sensor_integ_Tran_1.2/Sensor_integ_Tran_1.2.ino - Sensor Prototypes
PH/PH.ino
Radio Transport
- LoRa Transmitter
Lora_Transmitter/Lora_Transmitter.ino - LoRa Receiver
Lora_Receiver/Lora_Receiver.ino
Gateway and Storage
- Serial Gateway
aqua/gateway.py - Firebase Database
- LoRa HTTP Service
aqua/lora.py
Monitoring Interfaces
- Water Dashboard
aqua/dash.html - Sensor View
aqua/sensor.html - UI View
aqua/ui.html
Hardware Controls
- Motor Controls
BO_Motor/BO_Motor.ino
Other components
- Operator
Connections 10
- Integrated Sensors → LoRa Transmitter: sends readings
- LoRa Transmitter → LoRa Receiver: transmits readings
- LoRa Receiver → Serial Gateway: serial data
- Serial Gateway → Firebase Database: writes readings
aqua/gateway.py - Serial Gateway → LoRa Receiver: reads serial
aqua/gateway.py - LoRa HTTP Service → LoRa Receiver: reads serial
aqua/lora.py - Operator → LoRa HTTP Service: requests data
- Operator → Water Dashboard: views status
- Operator → Sensor View: views readings
- Operator → UI View: uses interface