Skip to content

18deepthi/Smart-irrigation-using-iot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌱 Smart Irrigation System Using IoT

πŸ“Œ Project Overview

The Smart Irrigation System using IoT is an automated agriculture solution that monitors soil moisture, temperature, and humidity and controls a water pump automatically using sensor data.

This system helps reduce water wastage, minimizes manual intervention, and improves irrigation efficiency.
Although implemented using Arduino, it can be easily extended to full IoT by integrating Wi-Fi modules like ESP8266 / NodeMCU.


🎯 Objectives

  • Automate irrigation based on soil moisture
  • Reduce water wastage
  • Improve crop productivity
  • Enable sensor-based decision making

πŸ›  Tech Stack

  • Microcontroller: Arduino Uno / Nano / Mega
  • Sensors:
    • DHT11 (Temperature & Humidity)
    • Soil Moisture Sensor
  • Actuators: Relay Module, Water Pump
  • Display: 16x2 LCD
  • Programming Language: Embedded C / Arduino IDE

πŸš€ Features

  • Real-time soil moisture monitoring
  • Temperature and humidity sensing
  • Automatic motor ON/OFF control
  • Live sensor readings displayed on LCD
  • Configurable moisture threshold
  • Easy extension to IoT platforms

πŸ”Œ Hardware Components

  • Arduino Board
  • DHT11 Sensor
  • Soil Moisture Sensor
  • Relay Module
  • Water Pump / DC Motor
  • 16x2 LCD Display
  • Jumper Wires, Breadboard, Power Supply

πŸ”— Pin Connections

LCD (16x2)

  • RS β†’ 7
  • E β†’ 8
  • D4 β†’ 9
  • D5 β†’ 10
  • D6 β†’ 11
  • D7 β†’ 12

Sensors & Relay

  • DHT11 Signal β†’ D5
  • Soil Moisture Sensor β†’ A0
  • Relay IN β†’ D6
  • Relay VCC β†’ 5V
  • Relay GND β†’ GND

⚠️ Use low-voltage DC pump for safety during demonstrations.


πŸ§ͺ Working Logic

  • Soil moisture is read using analog pin A0
  • Sensor value is mapped to percentage (0–100%)
  • If moisture < 30% β†’ Motor ON
  • If moisture β‰₯ 30% β†’ Motor OFF
  • Temperature and humidity are read using DHT11
  • All readings and motor status are displayed on LCD

πŸ“¦ Required Libraries

  • LiquidCrystal (built-in)
  • DHT sensor library

🌐 Future Enhancements (IoT Extension)

  • Integrate ESP8266 / NodeMCU for Wi-Fi
  • Cloud data upload (ThingSpeak, Firebase, MQTT)
  • Mobile app control (Blynk)
  • Historical data analytics and graphs
  • Remote motor control

πŸ“š What I Learned

  • Sensor integration with microcontrollers
  • Automating real-world systems
  • Relay-based motor control
  • Embedded programming using Arduino
  • Basics of IoT system design

About

Smart Irrigation System using Arduino, DHT11, and Soil Moisture Sensor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors