Interactive System Demo

Smart Greenhouse
Irrigation System

An ESP32-powered multi-zone irrigation controller with real-time sensor fusion, adaptive crop profiles, BLE connectivity, and a PWA dashboard — designed for modern smart agriculture.

8Crop Profiles
4Sensor Types
6Actuators
BLEOffline Ready
Explore Components ↓
01 · System Architecture

Tap any component to explore

The system integrates four sensor types and six actuators all controlled by an ESP32 microcontroller. Click any block to see why it was chosen, how it works, and its role in the system.

⬡ Sensor Layer
🌡️
DHT22
Air temperature & relative humidity
GPIO 4 · OneWire-like
🌱
Capacitive Moisture × 4
Soil water content per zone, 0–100%
GPIO 34·35·32·33
🌿
DS18B20
Soil temperature via OneWire bus
GPIO 5 · OneWire
⬡ Controller Layer
🔲
ESP32 DevKit v1
Dual-core MCU, BLE 4.2, 18 ADC pins
240MHz · 4MB Flash
📡
BLE 4.2 (GATT)
Offline wireless · no router needed
4 characteristics
💾
EEPROM (NVS)
Config survives power cycles
256 bytes config
⬡ Actuator Layer
🚰
Solenoid Valves × 4
Per-zone 12V N/C irrigation valves
GPIO 16·17·18·19
⚙️
Water Pump
Main 12V submersible supply pump
GPIO 22 · relay
💦
Mist Sprinkler
Temp & humidity regulation
GPIO 21 · relay

Why This Component

    How It Works

      Role in System

        02 · Live Simulation

        See the decision engine in action

        Press Run to simulate changing environmental conditions. Watch the system automatically open valves, trigger the pump, and activate the sprinkler based on crop thresholds.

        // Sensor & Actuator Simulation
        Live Sensor Readings
        Air Temperature
        --°C
        Humidity
        --%
        Soil Temp
        --°C
        Zone Moisture
        SYSTEM LOG
        Zone Status
        💦
        SPRINKLER
        STANDBY
        ⚙️
        PUMP
        OFF
        📡
        BLE TX
        IDLE
        BLE DATA FLOW
        ESP32
        controller
        BLE
        GATT server
        PWA
        dashboard
        03 · Crop Profiles

        Switchable environments per zone

        Each zone can be independently assigned one of 8 crop profiles. The system reads moisture, temperature, and humidity, then decides irrigation duration and sprinkler activation per profile. Tap a crop to explore its ideal environment.

        04 · System Analysis

        Advantages & Disadvantages

        An honest technical breakdown of what this system does well and where it has current limitations.

        ✓ Advantages
        ✗ Disadvantages
        05 · Applications

        Where it can be deployed

        This system is designed for versatile deployment across agricultural, educational, and commercial contexts.

        06 · Future Scope

        Where this technology is headed

        The current system is a foundation for a much larger vision. Here are the most impactful extensions planned for future versions.