Smart Irrigation System using Arduino Uno

Поделиться
HTML-код
  • Опубликовано: 17 июн 2021
  • Smart Irrigation System | Arduino Projects | IOT Projects
    This experiment is about Smart Irrigation. Using this method we can avoid watering the plants manually. We need to place the Soil Sensor in the Soil. When the soil is dry, the pump will turn ON automatically. When the soil is we, the pump will turn OFF automatically.
    Required Components
    ==================
    1. Arduino Uno
    2. Soil Sensor
    3. DC Water Pump
    4. Relay
    5. Connecting Cable
    6. Male to Male Jumper Wires
    Components Link
    ===============
    1. Arduino Uno - robu.in/product/arduino-uno-r3/
    2. Soil Sensor - robu.in/product/soil-moisture...
    3. DC Water Pump - robu.in/product/dc-3-6-v-mini...
    4. Relay - robu.in/product/5v-2-channel-...
    5. Connecting Wires - robu.in/product/30pcs-flexibl...
    Software Required
    ===============
    1. Arduino IDE - www.arduino.cc/en/main/software
    2. Programming Language - C Language
    Source Code
    ==========
    github.com/Tech-Trends-Shamee...
    Reference Video of Arduino Experiments
    ======================================
    1. Remote Control LED
    • Remote Control LED usi...
    2. Electronic Voting Machine
    • Electronic Voting Mach...
    3. RFID Security System
    • RFID Security System u...
    4. KeyPad Security System
    • KeyPad Security System...
    5. RFID Integration with Arduino
    • RFID integration with ...
    6. Distance Measurement using Ultrasonic Sensor with LCD/I2C
    • Distance Measurement u...
    7. Gas Detection Alarm
    • Gas Detection Alarm
    8. Weather Station Web Server
    • Weather Station Web Se...
    9. Arduino Calculator
    • Arduino Calculator | A...
    10. Smart Notice Board
    • Smart Notice Board | I...
    11. Simple Covid Tracker
    • Simple Covid Tracker u...
    12. NodeMCU Setup and Blink LED
    • NodeMCU Setup and LED ...
    13. Ultrasonic Radar
    • Ultrasonic Radar using...
    14. Fire Detection Alarm
    • Fire Detection Alarm |...
    15. Soil Moisture Measurement
    • Soil Moisture Measurem...
    16. Voice Controlled Light
    • Voice Controlled Light...
    17. Object Detection Alarm
    • Object Detection Alarm...
    18. Wireless Notice Board Using Arduino
    • Wireless Notice Board ...
    19. Automatic Visitor Counter
    • Automatic Visitor Coun...
    20. Rain Alarm System
    • Rain Alarm System | Ar...
    21. Dancing Light
    • Dancing Light | Arduino
    22. Control LED using Sound
    • Control LED using Soun...
    23. Traffic Light Controller
    • Traffic Light Controll...
    24. How to Control a Bulb using Mobile?
    • How to Control a Bulb ...
    25. LED Chaser using arduino uno
    • LED Chaser using ardui...
    26. Distance Measurement Using Ultrasonic Sensor
    • How to measure Distanc...
    27. How to Display Text in LCD Display using Arduino Uno | English
    • How to Display Text in...
    Previous Vlogs
    ============
    1. How to Type Tamil/Malayalam in WhatsApp | Native Languages in WhatsApp
    • How to Type Tamil/Mala...
    2. Gmail Features | Tamil
    • Gmail Features | Tamil
    3. Gmail Keyboard Shortcuts
    • Video
    4. SQL Best Practices - Part 1
    • SQL Best Practices - P...
    5. Cheap and Good Quality Wireless Earphones | boAT Wireless Headset
    • Cheap and Good Quality...
    6. Popular Brands and their Abbreviations
    • Popular Brands and the...
    7. Healthy Snacks That Can Help You Lose Weight
    • Healthy Snacks That Ca...
    8. This is the only way to reduce many illnesses
    • This is the only way t...
    9. How to monitor your body weight and fat?
    • How to monitor your bo...
    10. Is Tea or Coffee good for you? | Which is the healthier drink?
    • Is Tea or Coffee good ...
    Music: www.bensound.com
    ♥ Facebook: / techtrendsshameer
    ♥ Instagram: / tech_trends_shameer
  • НаукаНаука

Комментарии • 98

  • @robsonlima3529
    @robsonlima3529 3 года назад +3

    Very cool! Tips based on my own experience: replace the soil moisture sensor from resistive to capacitive (the resistive will oxidize in a few days); include a volume sensor to monitor the vessel water to prevent the pump from continuing to run out of water and damage when soil moisture is low and the vessel is out of water.

    • @TechTrendsShameer
      @TechTrendsShameer  3 года назад

      Thank you for the feedback. I will try the suggestions you mentioned.

  • @sumitbarnwal5805
    @sumitbarnwal5805 3 месяца назад

    Thanks a lot 🎉

  • @tomorinagisa9398
    @tomorinagisa9398 Год назад +3

    What should i do if the sensor and arduino work but the pump and battery not?

  • @yaseen4003
    @yaseen4003 Год назад +1

    thank you sir soooo much

  • @408-mohdmehraj6
    @408-mohdmehraj6 Год назад

    Can i give direct power supply to arduino ? Without a battery ?

  • @user-in1rm5td7b
    @user-in1rm5td7b Год назад +1

    Hi , can I not use the soil moisture sensor for it to work? Just cut the wires and plant it in the soil? For differnt type of use

    • @user-gb6fk5rz1z
      @user-gb6fk5rz1z 5 месяцев назад

      Yes that will work, just make sure your code doesn't reference it and you'll be good

  • @pritheshpatley4445
    @pritheshpatley4445 Месяц назад +1

    Everything is working, but the motor does not stop when the soil is wet

  • @bkcganeshblogs
    @bkcganeshblogs 6 месяцев назад

    Sir Map function we use 10 ,550,0,100.But why code you have written 550,10

  • @criminalgaming301
    @criminalgaming301 Год назад +1

    Nice nice

  • @user-uz3il1vn7e
    @user-uz3il1vn7e 5 месяцев назад +1

    Sir i bought a 4-channel relay by mistake can the same circuit work on 4-channel relay as well

    • @TechTrendsShameer
      @TechTrendsShameer  5 месяцев назад

      Yes it will work. Use only one relay from that.

  • @tohelpothers9767
    @tohelpothers9767 2 года назад +1

    good sir , one question sir why do you not connect the pump from gpio directly to Arduino as it gives 5v

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      Thank you. I tried that, but my pump is not working when I connected like that. That's the reason I gave a separate supply to the pump.

    • @ashwinikheur4143
      @ashwinikheur4143 Год назад +1

      He is asking for 2k for helping

  • @pradeeppaste3385
    @pradeeppaste3385 9 месяцев назад +2

    //Tech Trends Shameer
    //Smart Irrigation System
    int sensor_pin= A0;
    int output_value;
    void setup(){
    pinMode(3, OUTPUT);
    Serial.begin(9600);
    Serial.println("Reading from the Moisture sensor…");
    delay(2000);
    }
    void loop()
    {
    output_value= analogRead (sensor_pin);
    output_value= map (output_value,550,10,0,100);
    Serial.print("Moisture:");
    Serial.print(output_value);
    Serial.println("%");
    if (output_value

  • @sljaneeshabro1320
    @sljaneeshabro1320 Год назад +1

    👍

  • @indukumari193
    @indukumari193 2 года назад +1

    What makes motor to start automatically when soil moisture level is not upto the mark?... Is it bcz of relay or bcz of some algo? Please ans

  • @kenjeffrey2153
    @kenjeffrey2153 2 года назад +1

    Good demonstration. Please can I have the code for this project? Mine is not working.

  • @madhurinarlapati7698
    @madhurinarlapati7698 2 года назад +1

    can u plsss where the battery is connected

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Please check the circuit diagram mentioned in the video description.

  • @saikrishnapotharaboina5517
    @saikrishnapotharaboina5517 2 года назад +1

    Why we use 9v battery to 5v water pump we directly connect to Arduino

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      The operating voltage for the pump is 2.5 to 6 V. It is not working with the power supply given from Arduino. So I am using 9V external battery. Please try without battery and if its working for you, you can avoid battery.

    • @saikrishnapotharaboina5517
      @saikrishnapotharaboina5517 2 года назад +1

      @@TechTrendsShameer thankyou sir

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Welcome

  • @stmeghla88f8
    @stmeghla88f8 2 месяца назад +1

    Can you suggest me how i can get the code for this project...
    From the description link i didn't get any code

    • @TechTrendsShameer
      @TechTrendsShameer  2 месяца назад

      Source code is there in the description. Check again.

  • @Abhiraj669
    @Abhiraj669 11 месяцев назад +1

    Sir code from the video description is not working and also the link to the website how to get the code sir

    • @TechTrendsShameer
      @TechTrendsShameer  11 месяцев назад

      github.com/Tech-Trends-Shameer/Arduino-Projects/tree/main/Smart-Irrigation-System

  • @melanycondoricanaviri6603
    @melanycondoricanaviri6603 Год назад +1

    Hola sera que me puede ayudar con los codigos porfavor

  • @mjmohamed4798
    @mjmohamed4798 Год назад +1

    Can i use this code for esp8266

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      This code is for Arduino Uno. For ESP8266, you need to change the code.

  • @marciano.abrantes2564
    @marciano.abrantes2564 Год назад +1

    Hello sir can you paste here the code ? The file can't be view

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      github.com/Tech-Trends-Shameer/Arduino-Projects/tree/main/Smart-Irrigation-System

  • @vanishreebalakrishna1279
    @vanishreebalakrishna1279 2 года назад +1

    should'nt the arduino be connected to the battery?

  • @neelsarkar5468
    @neelsarkar5468 Год назад

    the motor didn't off automatic ....you have used a switch to on off the motor...

  • @sushmac8399
    @sushmac8399 2 года назад +1

    Sir y cnt I download the code. Can u plz hlp me

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Can you please click the link provided on the video description?

    • @sushmac8399
      @sushmac8399 2 года назад +1

      I hve checked it. Its nt working. Can u plz provide me again if u dnt mind

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Please check this link
      drive.google.com/file/d/16wDnszv7pwPHLXg9iSZfxY5LyF88QHlB/view?usp=sharing

  • @AtherKhan-cv5wi
    @AtherKhan-cv5wi Год назад

    Int relayPin = 4; int sensor_pin = A0; int output_value ; void setup () { Serial.begin(9600); pinMode(relayPin, OUTPUT); pinMode(sensor_pin, INPUT); Serial.println ("Reading From the Sensor ..."); delay(2000); } void loop() { output_value = analogRead(sensor_pin); output_value = map (output_value, 550, 10, 0, 100); Serial.print ("Moisture : "); Serial.print (output_value); Serial.print ("%"); if (output_value < 20){ digitalWrite (relayPin, LOW); } else { digitalWrite (relayPin, HIGH); } delay (1000); }

  • @K-Solos
    @K-Solos Год назад +1

    Sir can u type the program

  • @prashantkhot9576
    @prashantkhot9576 2 года назад +2

    I want source code.

  • @biswajit5825
    @biswajit5825 2 года назад +1

    I tried and it's working opposite what should I do plz help

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Can you please tell me how it is working?

    • @biswajit5825
      @biswajit5825 2 года назад +1

      On supplying power it turns on for a seconds then it turns off then on putting the moisture sensor in moisture area it's turning on and when putting it on dry soil it turns off... What should I do?? Have I made a mistake?

    • @amulya_minnie3387
      @amulya_minnie3387 2 года назад +1

      Same problem. What to do sir?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Can you please contact me in Instagram?
      instagram.com/tech_trends_shameer/

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Can you please contact me in Instagram?
      instagram.com/tech_trends_shameer/

  • @true_lover_satish19
    @true_lover_satish19 Месяц назад +1

    Yah project mujhe de sakte hai

  • @jameskarla.lagman1042
    @jameskarla.lagman1042 Год назад +1

    can I have the code

  • @sarveshwaran9071
    @sarveshwaran9071 Год назад +1

    Sir the motor is not working after connection what can I do i have connected as per the circuit diagram

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      Check the power supply is good and also make sure the battery is good.

  • @johnmarknakka7897
    @johnmarknakka7897 Год назад +1

    Sir how can I get a code

  • @praveenkumarnarike2130
    @praveenkumarnarike2130 Месяц назад +1

    Bro please share the code bro

  • @AditiGharge-po4gc
    @AditiGharge-po4gc Месяц назад +1

    My project is not working

    • @TechTrendsShameer
      @TechTrendsShameer  Месяц назад

      Any error ?

    • @pritheshpatley4445
      @pritheshpatley4445 Месяц назад

      you could try using a different version of Arduino uno ide download. I used version 1.6.7 download.

  • @PoojaPanwar-wy2ep
    @PoojaPanwar-wy2ep 10 месяцев назад

    Sir aap Hindi mein nahin bata sakte ho kya

  • @vaishnaviS13
    @vaishnaviS13 3 месяца назад +1

    Can i get the code??

  • @tigarmy1155
    @tigarmy1155 Год назад +1

    Bro Arduino uno program

  • @ashwinikheur4143
    @ashwinikheur4143 Год назад +2

    The connection are fine but the water is continuously flowing.Is there any issues

  • @Abhiraj669
    @Abhiraj669 11 месяцев назад +1

    Sir pls paste the code

  • @LinaAlKubaisi-sk6lu
    @LinaAlKubaisi-sk6lu 2 месяца назад +1

    hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiin
    ]

  • @AtherKhan-cv5wi
    @AtherKhan-cv5wi Год назад +1

    Bro my relay is not getting power

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      It might be defective

    • @AtherKhan-cv5wi
      @AtherKhan-cv5wi Год назад +1

      Your circuita are good
      But coding has some fault

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      May I know which line has fault?

    • @AtherKhan-cv5wi
      @AtherKhan-cv5wi Год назад +1

      Int relayPin = 4; int sensor_pin = A0; int output_value ; void setup () { Serial.begin(9600); pinMode(relayPin, OUTPUT); pinMode(sensor_pin, INPUT); Serial.println ("Reading From the Sensor ..."); delay(2000); } void loop() { output_value = analogRead(sensor_pin); output_value = map (output_value, 550, 10, 0, 100); Serial.print ("Moisture : "); Serial.print (output_value); Serial.print ("%"); if (output_value < 20){ digitalWrite (relayPin, LOW); } else { digitalWrite (relayPin, HIGH); } delay (1000); }

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      send me the screenshot in instagram.

  • @divyasri778
    @divyasri778 6 месяцев назад +3

    It is not working