กลับไปหน้ารวมไฟล์
irrigation-system-8cc69e-en.md

This system is for automating watering plants at home, it release you from manually watering the plants and it can save water and do the watering your garden more precise.

The software logic uses moisture light and temperature sensors to activate solenoid valve or/and water pump.

It have button to change sensor reading value display and water information on tft display. And Other button to change working mode, it can work on one of the modes: sensor mode, schedule mode or manually. and Third button for general purpose (watering cancel, set tank state and load config ).

The system have SD card for storing configuration information (CONFIG.TXT) and watering log file (DATALOG.CSV).

The config file holds the system property values, key value example :

  • lastWateringDate 13:38:58 19/9/2021
  • sensorLastWateringDate 09:44:52 1/1/1970
  • moistureWateringThreshhold 29
  • lightWateringThreshhold 100
  • wateringTime 120
  • schWateringTime 120
  • schWateringFrequency 86400
  • schLastWateringDate 08:49:53 22/9/2021
  • waterReservoirState 3.30
  • flowRate 0.01
  • defaultMode 1

A CLI logic was implemented throw Serial interface, commands :

  • log - print log file to terminal
  • log.del - delete log file
  • cfg - print config info to terminal
  • time – show system time
  • time.unixtime - set time
  • moisture.% - sets moisture Watering Threshhold
System description Video

EXPANDED TECHNICAL DETAILS

Precision Agriculture at Home

This Smart Irrigation system optimizes water usage by only watering when necessary.

  • Soil Analysis: Features a Capacitive Soil Moisture sensor which provides a more stable reading than resistive probes. The Arduino samples the moisture level and compares it against a user-defined "Dry" threshold.
  • Environment Monitoring: Incorporates a DHT22 sensor to measure ambient temperature and humidity, adjusting the duration of the watering cycle based on the heat.

Actuation Stage

  • Pump Control: Managed via a 12V Solenoid Valve and a DC water pump connected through a Relay Module.
  • Safety: Includes a "Rain Sensor" override; if it's currently raining, the system automatically skips the scheduled watering to conserve resources.

ข้อมูล Frontmatter ดั้งเดิม

title: "Irrigation system"
description: "Measures soil moisture and lighting. watering plants when humidity is low and no sun through valve control. log data to SD card."
author: "Rami1"
category: "Home & Automation"
tags:
  - "weather"
  - "environmental sensing"
  - "home automation"
  - "data collection"
  - "plants"
  - "garden"
views: 9560
likes: 5
price: 2450
difficulty: "Intermediate"
components:
  - "1x Soldering iron (generic)"
  - "1x Soil Moisture Sensor YL-69"
  - "1x 1.8\" Serial SPI 128x160 Color TFT LCD Module Display (Driver IC ST7735)"
  - "1x QR30E DC 12V 4.2W 240L/H Flow Rate Waterproof Brushless Pump"
  - "1x DS18B20 1-Wire Digital Temperature Sensor"
  - "1x Solenoid Valve ZE-4F180 NC DC 12V"
  - "1x Light Intensity Sensor Module 5528 Photo Resistor"
  - "1x Arduino 101"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://github.com/ramiev/IrrigationSystem/blob/86ba95da855d46547690fc8ed79bdfae18946eb3/IrrigationSystem.ino"
  - "https://github.com/ramiev/IrrigationSystem/blob/86ba95da855d46547690fc8ed79bdfae18946eb3/IrrigationSystem.ino"
  - "https://github.com/ramiev/IrrigationSystem/blob/86ba95da855d46547690fc8ed79bdfae18946eb3/IrrigationSystem.ino"
documentationLinks: []
passwordHash: "7a5a3cc241f321b3505559c1a9460993a9cb38a9d65f43cd7e49dedd7dae6516"
encryptedPayload: "U2FsdGVkX1817FAcD9QDZJI0yZDeKEUNLsMp4zNjy4y0JCvWjtsYEs3sUHmCWR5SQvGGLzbuG+MiH1LzKE/2lOqEYeBk2UaDJYZ+v6FUrEM="
seoDescription: "Smart Irrigation system measuring soil moisture and lighting, controlling valves and logging data to an SD card."
videoLinks:
  - "https://www.youtube.com/embed/LsKaSEMQyjE"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/irrigation-system-3ad7bd_cover.jpg"
lang: "en"