How guhan2006-k/h2s-project works
SensaBand is a prototype H₂S exposure-monitoring system. A supervisor uploads a test-strip photo through the demo frontend; the Flask API saves it, asks the predictor to estimate exposure and classify risk, stores the scan, and returns results. A separate ESP32/MQ-136 path posts device telemetry, which the API stores and exposes for retrieval. The README documents frontend and Arduino capabilities, but their source was not sampled, so their internal behavior and unconfirmed links are not expanded. The prediction formula is explicitly a placeholder.
Main entry points: app.py Flask API · database.py SQLite Storage · sensaband-website-2.html Demo Frontend · sensaband_esp32c3.ino ESP32 / MQ-136
Components 6
User Interface
- Demo Frontend
frontend/sensaband-website-2.html
Backend API
- Flask API
backend/app.py
Exposure Analysis
- H₂S Predictor
ai/predictor.py
Device Telemetry
- ESP32 / MQ-136
arduino/sensaband_esp32c3/sensaband_esp32c3.ino
Persistent Data
- SQLite Storage
backend/database.py
Other components
- Supervisor
Connections 9
- Supervisor → Demo Frontend: uses
- Demo Frontend → Flask API: uploads scan
- Flask API → Demo Frontend: returns results
- Flask API → H₂S Predictor: requests estimate
- Flask API → SQLite Storage: stores scan
- Flask API → SQLite Storage: reads history
- ESP32 / MQ-136 → Flask API: posts telemetry
- Flask API → SQLite Storage: stores telemetry
- Flask API → SQLite Storage: reads telemetry