How grigory2009/agrohomesystem works
AgroHomeSystem combines an ESP32-S3 incubator controller with a Raspberry Pi/host computer-vision hub. The documented workflow is camera imagery through cell tracking and plant-health analysis, then a bridge and dashboard; locally, the controller reads environmental sensors, operates the pump and ventilated dome, and presents telemetry and controls on its touch UI. The graph preserves major documented AI, calibration, OTA, and hydroponic capabilities. Python implementation details were not sampled, so those subsystem paths and connections rely only on README documentation.
Main entry points: main.cpp ESP32 Controller · esp_bridge.py ESP Bridge · cell_tracker.py Cell Grid Tracker · XPT2046_Touchscreen.cpp Touchscreen Driver
Components 17
ESP32 Control
- ESP32 Controller
firmware/src/main.cpp - Touchscreen Driver
firmware/lib/XPT2046_Touchscreen/XPT2046_Touchscreen.cpp - Climate and Flood Control
firmware/src/main.cpp - Touch UI and Telemetry
firmware/src/main.cpp - Dual OTA
firmware/src/main.cpp
Edge Vision
- MobileNetV2 Diagnosis
demo - ExG and HSV Analysis
demo - Cell Grid Tracker
demo/cell_tracker.py - Grid Configuration
demo/cell_grid_config.json - ESP Bridge
demo/esp_bridge.py
User Interfaces
- Web Dashboard
demo/web_dashboard.py - ESP Web Interface
firmware/src/main.cpp
Incubator Hardware
- Environmental Sensors
- Pump and Dome
- Camera
- 24-Cell Tray
hardware/cad/step
Other components
- Grower
Connections 21
- Environmental Sensors → ESP32 Controller: send readings
README.md - ESP32 Controller → Climate and Flood Control: runs control
README.md - Climate and Flood Control → Pump and Dome: controls
README.md - Grower → Touchscreen Driver: touches
- Touchscreen Driver → ESP32 Controller: provides touch input
firmware/src/main.cpp - ESP32 Controller → Touch UI and Telemetry: updates display
README.md - Touch UI and Telemetry → ESP32 Controller: accepts controls
README.md - Grower → Web Dashboard: uses
README.md - Camera → MobileNetV2 Diagnosis: supplies images
README.md - Camera → ExG and HSV Analysis: supplies images
README.md - Camera → Cell Grid Tracker: supplies images
README.md - 24-Cell Tray → Cell Grid Tracker: tracked as grid
README.md - Cell Grid Tracker → Grid Configuration: reads and saves
README.md - MobileNetV2 Diagnosis → ESP Bridge: sends diagnoses
README.md - ExG and HSV Analysis → ESP Bridge: sends analysis
README.md - Cell Grid Tracker → ESP Bridge: sends cell data
README.md - ESP Bridge → Web Dashboard: feeds dashboard
README.md - ESP Bridge → ESP32 Controller: exchanges telemetry
README.md - Grower → ESP Web Interface: uses
firmware/src/main.cpp - ESP Web Interface → ESP32 Controller: requests data and controls
firmware/src/main.cpp - Grower → Dual OTA: updates firmware
README.md