GithubHelp home page GithubHelp logo

uzairmukadam / automatic-smart-irrigation-system Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 4.0 1.25 MB

IOT project to automatically water plants based on the time. The system makes use of multiple sensors with arduino as its brains. The timer is managed by an RTC with live data about water level, soil moisture and current time displayed through an LCD. It uses concept of proto-threading to efficiently use the arduino.

C++ 100.00%
arduino-uno soil-moisture-sensor water-depth-sensor protothreads iot

automatic-smart-irrigation-system's Introduction

author author author author made-with-Arduino

💙 Open Source

Automatic-Smart-Irrigation-System

A system that estimates and measures the moisture of soil in order to operate an irrigation system, restoring water as needed while minimizing excess water use and help the user to monitor the data for further use.

Objective

  • To design an automatic irrigation system thereby saving time & power for the farmer.
  • To design a proto-type and test it on small scale so that we can create an effective solution for the problems on large scale.
  • Eliminating human interaction as much as possible in the process.
  • Providing the plants with water only when they require.
  • Providing a more modular system for easy upgrades.
  • Easy monitoring from anywhere in the world.

Hardware Requirements

  • Arduino Uno.
  • NodeMCU.
  • DS 1307 RTC.
  • Soil Moisture Sensor.
  • Water Depth Sensor.
  • 5v Single channel Relay.
  • 16x2 LCD.

Software Requirements

  • Arduino IDE.
  • Thingspeak READ and WRITE API keys.

Connections

Connecting the RTC to Arduino UNO.

  • Connect module VCC to Arduino’s 5v out pin.
  • Connect module GND to Arduino’s GND.
  • Connect module SDA and SCL pins to Arduino SDA and SCL pins.

Connecting the LCD with Arduino UNO.

  • Pin 1 to GND.
  • Pin 2 to 5v.
  • Pin 3 to pin 10.
  • Pin 4 to pin 12.
  • Pin 5 to GND.
  • Pin 6 to pin 11.
  • Pin 11 to pin 5.
  • Pin 12 to pin 4.
  • Pin 13 to pin 3.
  • Pin 14 to pin 2.
  • Pin 15 to pin 5v.
  • Pin 16 to pin GND.

Connecting Soil Moisture Sensor to Arduino UNO.

  • Connect sensor VCC to Arduino’s 5v pin.
  • Connect sensor GND to Arduino’s GND pin.
  • Connect sensor analog pin to Arduino A0 pin.

Connecting the water depth sensor to Arduino UNO.

  • Connect sensor VCC to Arduino’s 5v pin.
  • Connect sensor GND to Arduino’s GND pin.
  • Connect sensor analog pin to Arduino A1 pin.

Connecting the Relay module to Arduino UNO.

  • Connect sensor VCC to Arduino’s 5v pin.
  • Connect sensor GND to Arduino’s GND pin.
  • Connect sensor IN pin to Arduino 8 pin.

Connecting Pump to Relay module.

  • Connect pump GND to Arduino GND pin.
  • Connect pump VCC to Relay.

Connecting NodeMCU to Arduino.

  • Connect NodeMCU Vin to Arduino’s 5v out pin.
  • Connect NodeMCU GND to Arduino’s GND pin.
  • Connect NodeMCU D1 to Arduino’s pin 0.
  • Connect NodeMCU D2 to Arduino’s pin 1.
  • Connect NodeMCU D3 to Arduino’s pin 7.

Configuring the Setup.

  • Set the time for watering plants in morning.
  • Set minimum soil moisture level depending on plant.
  • Adjust the level for water depth sensor.

Configuring NodeMCU.

  • Set the Wi-Fi name to connect to.
  • Enter the password of the Wi-Fi network.
  • Enter the ThingSpeak Channel ID and API_Key.

If using any part of the code/idea/repository, mention us in comments and in reference.😊

automatic-smart-irrigation-system's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.