PENTACORE SOLUTIONS

Smart Irrigation System Dashboard

System Status

ESP32 Data Status: NOT RECEIVING DATA

Live Relay Status: --

Live Sensor Data

Air Temperature: -- °C

Air Humidity: -- %

Soil Moisture (Analog): --

Soil Moisture (Digital): --

Rain Sensor (Analog): --

Rain Sensor (Digital): --

Relay Control

Relay is OFF

System Mode

Current Mode: --

Live ML Logs (Last 5 Entries)

Historical Sensor Data Visualization

About Smart Irrigation System

This dashboard is part of the Major Project 2 - Smart Irrigation System, designed to automate and optimize irrigation for agricultural and gardening applications.

System Processes:

  1. Sensor Data Acquisition: ESP32 microcontroller collects real-time data from sensors (temperature, humidity, soil moisture, rain).
  2. Data Transmission: Sensor data is transmitted via MQTT protocol to AWS IoT Core.
  3. Data Storage: A Python backend application stores sensor data and relay status in a SQLite database.
  4. Web Dashboard: This web interface, built with Flask, displays live data, historical charts, and system controls.
  5. Relay Control (Manual & Automatic): Manual control via dashboard; Automatic mode uses a Machine Learning (SARIMAX) model for irrigation prediction.
  6. Machine Learning (Optional): SARIMAX model trains on historical data to predict and automate irrigation for water optimization.
  7. System Logging: System events, ML logs, and relay states are logged for monitoring and debugging.

Team Members:

Developed by Pentacore Solutions.

Sensor Calibration

Adjust the analog thresholds (0-1023) for soil moisture and rain sensors to control when automatic irrigation turns ON. Irrigation starts if either the soil is too dry OR it's not raining (based on sensor readings).

Lower value = More sensitive to dryness. Relay turns ON when soil moisture analog value is less than or equal to this threshold.

Higher value = Less sensitive to wetness. This threshold is currently not used in automatic irrigation logic but is available for potential future, more complex control strategies.

Lower value = More sensitive to rain absence. Relay turns ON when rain analog value is less than or equal to this threshold (indicating it's not raining or just lightly raining).

Higher value = Less sensitive to rain presence. This threshold is currently not used in automatic irrigation logic but is available for potential future, more complex control strategies.