Skip to content

Automate garden watering with the Smart Garden system. It uses solenoid valves, moisture sensors, and cloud integration to optimize irrigation. Save water by adjusting watering based on soil moisture levels. Schedule watering times, skip watering when unnecessary, and control valves remotely.

Notifications You must be signed in to change notification settings

amjed-ali-k/Smart-Garden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Garden watering system - ESP8266 + MQTT

Arduino CI C++ CI PlatformIO CI ESP8266 CI License Bitcoin

Description

The Smart Garden watering system is a comprehensive solution designed to automate and optimize garden irrigation. Utilizing solenoid valves, it efficiently controls water flow. The valves open anytime daily, (Eg. 7:00 AM and 5:00 PM) allowing water to flow for 5 minutes or until the moisture sensor detects adequate water saturation. If moisture is detected, the valve closes and the next valve in line opens. Moisture sensor readings occur every 5 minutes and are transmitted to the cloud for analysis.

The system intelligently skips watering if the soil moisture levels are already sufficient. The configuration file, including watering times, is fetched from the cloud upon device restart. Conveniently, the valves can be manually controlled, either opened or closed, via the cloud interface. Furthermore, the entire system can be remotely turned off through cloud connectivity. MQTT is employed as the communication protocol, facilitating efficient and reliable data exchange between the garden watering system and the cloud. With its automated functionality and cloud integration, the Smart Garden watering system ensures optimal water management for healthy and flourishing gardens.

Hardware

  • ESP8266
  • PCF8575 GPIO Expander
  • Relay module
  • 12V power supply
  • Solenoid Valve
  • Moisture sensor

Software

  • PlatformIO
  • Arduino framework
  • VSCode

About

Automate garden watering with the Smart Garden system. It uses solenoid valves, moisture sensors, and cloud integration to optimize irrigation. Save water by adjusting watering based on soil moisture levels. Schedule watering times, skip watering when unnecessary, and control valves remotely.

Topics

Resources

Stars

Watchers

Forks