PHATPHUM.ME
IoT, Hardware Integration & Embedded Development

Smart Garden: 3-Zone IoT Watering System (Prototype)

Private Home Owner (Personal Project)

Smart Garden: 3-Zone IoT Watering System (Prototype) Cover

Developed a 3-zone smart watering prototype with clear pin mapping and circuit design around an ESP32. The system supports Wi-Fi mobile control and continues operating without internet via Offline Scheduling. Automation rules can be configured in the Blynk app, using real-time sensor readings to trigger watering decisions per zone.

ESP32C++ (Firmware)Blynk IoTKiCadSensorsRelay ModulesWi-Fi

Challenges

  • Designing independent zone control to match different watering needs across areas.
  • Ensuring uninterrupted operation when internet connectivity is unavailable (offline scheduling).
  • Safe, maintainable wiring and pin allocation with reduced noise and clear serviceability.
  • Providing a user-friendly mobile interface for configuration and monitoring.

Solutions

  • Defined a structured 3-zone architecture with explicit pin mapping for relays, sensors, and power lines.
  • Implemented offline scheduling by storing schedules locally on the device to keep routines running during network outages.
  • Produced KiCad schematics and I/O documentation to support repeatable installation, troubleshooting, and future expansion.
  • Designed a clean Blynk dashboard for live status display, sensor readouts, and automation settings.
  • Built modular C++ firmware (sensor, control, scheduling, connectivity) for readability and long-term maintainability.

Deliverables

  • 3-zone watering prototype with a main controller (ESP32 + relay module) to drive solenoid valves per zone
  • Circuit schematic and pin-mapping design prepared in KiCad
  • Installation guide and wiring documentation with detailed Input/Output definitions (sensors/relays/valves)
  • Blynk mobile app for real-time sensor monitoring and automation rule configuration
  • ESP32 firmware written in C++ with a clear explanation of program structure and control logic
  • Hybrid operating modes: Manual control / Scheduled watering / Sensor-based automation

Project Gallery

User Interface

Blynk Dashboard (Main Control)
Blynk Dashboard (Main Control)
Scheduling & Automation Settings
Scheduling & Automation Settings

Hardware Installation

ESP32 Main Controller Box
ESP32 Main Controller Box
Relay 4-channel Module
Relay 4-channel Module
Sensor
Sensor
Installation prototype
Installation prototype

Documents & Design

KiCad Circuit & Pin Mapping Design
KiCad Circuit & Pin Mapping Design