Giter Club home page Giter Club logo

arduino-garden-watering's Introduction

Garden watering system using an arduino

This is a project to water a garden using an Arduino. For this purpose I have used an electro-valve to control the watering, a sensor to measure the temperature and humidity, a LCD display to write information for the user, two buttons to modify the watering time and to open the LCD light, and a Real Time Clock. The main characteristics of these components, the connections to the arduino and the code are the following:

  • The electro-valve requires a 220V current to work, so that it is connected to a relay. The relay is controlled by the Arduino.
  • The watering of the plants switches on at sunrise and 3h before sunset. The watering time is calculated based on equations from Astronomical Algorithms, by Jean Meeus, it requires the local latitude and longitude and the current day. For more information:
  • A DHT 11 sensor to measure the temperature and humidity. The code also stopped the watering if the intraday temperature has arrived at 94%. However, I have to mentioned that in my case, the electric-box with all the instrumentation, except the DHT sensor that is outside, are in a small room opened to the exterior, and in that circumstances the humidity is always bellow the real one, so that it does not work properly.
  • An LCD display to show the current time, the next watering time, the temperature, the humidity and the maximum intraday humidity. In case of using the button to change the watering duration it will show this time duration. And during the watering it displays the remaining time to finish the watering.
  • A Real Time Clock DS1307 is used in order to avoid loosing the current time due to a power cut.
  • Two buttons: One to change the watering period and the other to switch on/off the background LCD light.

The final circuit with the valve:
Fianl circuit Valve
The display: The test circuit is shown below (the valve is substituted by a light):
Display Circuit

arduino-garden-watering's People

Contributors

danieldagnino avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.