Automatic greenhouse irrigation based on soil moisture
FreeDOCX

📡 IoT – Embedded programming · 🧭 Sample solutions · for use with Professional plan · IoT – Embedded programming pack

Automatic greenhouse irrigation based on soil moisture

Sample solution for automatic greenhouse irrigation: soil moisture sensors, solenoid valves, watering schedules, phone alerts. Bill of materials included.

Downloadable files

  • tuoi-tu-dong-nha-kinh.docx
    Solution description (Word) · 36 KB
    Download

License CC BY 4.0 — free to use, credit “OctaX.one”. Demo the production version requires a free account to download.

Want to customize it?

The OctaX assistant adjusts dimensions, content and branding on request — estimated ≈ 8 credits.

✦ Customize with AI

Principle

Each bed has one soil moisture sensor. When moisture falls below the threshold within the allowed time window, the controller opens that bed's solenoid valve for a preset number of minutes.

Components

  • Controller (ESP32 or small PLC) + relay module.
  • Capacitive soil moisture sensors (more durable than resistive ones).
  • 24 VAC or 12 VDC solenoid valves, filter, water meter.
  • Power supply with surge protection if cables run long distances.

Control rules

  • No watering during harsh midday sun (configurable time window).
  • Each watering lasts at most N minutes, followed by a pause of at least M minutes to let the water soak in before measuring again.
  • Alert when a sensor keeps reporting dry soil despite watering (clogged nozzle, out of water).

Templates in the same field