How to make Automatic Plant Watering System using Arduino UNO and Soil Sensor || Techie Lagan

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 838

  • @TechieLagan
    @TechieLagan  Рік тому +151

    int water; //random variable
    void setup() {
    pinMode(3,OUTPUT); //output pin for relay board, this will sent signal to the relay
    pinMode(6,INPUT); //input pin coming from soil sensor
    }
    void loop() {
    water = digitalRead(6); // reading the coming signal from the soil sensor
    if(water == HIGH) // if water level is full then cut the relay
    {
    digitalWrite(3,LOW); // low is to cut the relay
    }
    else
    {
    digitalWrite(3,HIGH); //high to continue proving signal and water supply
    }
    delay(400);
    }

    • @khadizayesminnodi8786
      @khadizayesminnodi8786 Рік тому +8

      Sir ...I connected all and the motor is running...but when I put sensor in the mud or water motor also running it doesn't on or off ...what can I do for this problem plz solve this 🙏

    • @amirreza33
      @amirreza33 Рік тому +42

      @@khadizayesminnodi8786 I had this problem until I fixed the code
      void setup() {
      pinMode(3, OUTPUT); // output pin for relay board, this will send signal to the relay
      pinMode(6, INPUT); // input pin coming from soil sensor
      }
      void loop() {
      int water = digitalRead(6); // reading the signal coming from the soil sensor
      if (water == HIGH) { // if water level is low (i.e., soil is dry) then turn on the relay
      digitalWrite(3, HIGH); // high is to turn on the relay
      } else { // if water level is high (i.e., soil is wet) then turn off the relay
      digitalWrite(3, LOW); // low is to turn off the relay
      }
      delay(400);
      }
      Enter this code, most likely the problem will be solved

    • @chvinaykumar245
      @chvinaykumar245 Рік тому +1

      ​@@amirreza33 same issue is coming for me

    • @sayedtousifalam3724
      @sayedtousifalam3724 Рік тому

      ​@@chvinaykumar245 is it solved or not?

    • @sayedtousifalam3724
      @sayedtousifalam3724 Рік тому

      ​@@chvinaykumar245plz reply bro

  • @immortalsugimoto4498
    @immortalsugimoto4498 Рік тому +42

    This saved my semester. THANK YOU!!!!

    • @suru321
      @suru321 10 місяців тому +3

      Kaise banaya apne

  • @RajalekshmiRBMH
    @RajalekshmiRBMH 9 місяців тому +16

    Sometimes the powersupply from the relay is not sufficient enough to power the motor pump. In that case, modify the following connection:
    1) NO pin of relay-->one end of the motor pump
    2) COM pin of relay--> -ve external power supply
    3) Other end of motor pump --->+ve power supply.
    Rest all the video is perfect!

    • @mohamedferoz
      @mohamedferoz 15 днів тому

      Can I use a 9v battery as the external power supply ?

  • @jonburgmann
    @jonburgmann 2 роки тому +7

    Put a toilet cistern on wall when it needs filling it will do it as the float lowers & a 12vdc solenoid when the dirt become dry it switches on solenoid & allows water to flow from cistern down through solenoid make a ring with small 5-6mm poly garden hose & tee to connect to solenoid output drill some 1mm holes in underside of the poly tube ring (holes face down to soil) when soil becomes damp enough it switches water solenoid off until soil becomes dry again

  • @OneEduu
    @OneEduu 10 місяців тому +2

    Thank you lagan , you're my savior

  • @dumebi_ne
    @dumebi_ne Рік тому +14

    This is very easy to understand. Thank you very much 🙏🏾

  • @chanakyashukla5820
    @chanakyashukla5820 2 роки тому +7

    good one! but I made some changes in the code and in the system.
    I replaced the pins and recoded them for the Arduino Nano microcontroller. I found that when the sensor was giving a low signal the relay (motor) went off. That makes no logical and practical point, when soil is already wet why would we want more water to be pumped into the soil? It should be another way around, which means when the soil is found dry by the sensor it should pump the water from the tank to the surface of the soil. For that, I simply changed the code from HIGH to LOW.
    if(water == LOW) // Line number 9
    Also, I directly connected the DC motor water pump to the pin instead of a relay. Using a relay would be overkill if I want to use it for just a small plant. Relay can be useful If I want to trigger a high voltage bigger AC motor with the same system. To maybe water a whole garden, a park, or a field of crops.
    But very useful watching you in this video encouraged me to finish a project I was working on for more than 6 years from now. Thanks a lot. I made a video too, not a tutorial but of the functioning project. Though I have to think about giving power to the microcontroller, currently I used my battery bank. I'll try to make a permanent and durable setup.

    • @nerrfy
      @nerrfy 2 роки тому +2

      could you tell me connection as you are saying I m interested to do this project

    • @aaronnself
      @aaronnself 2 роки тому +2

      Can you plzz provide the code

    • @joyachakraborty9835
      @joyachakraborty9835 Рік тому +3

      can you please give the code??
      please please...

    • @shivanidubey1716
      @shivanidubey1716 Рік тому +1

      Can you please provide code

    • @chanakyashukla5820
      @chanakyashukla5820 Рік тому

      I'm delighted to see the enthusiasm around the code modifications I made! To help everyone understand the changes, I've created a detailed video explaining the process. You can find the link to the code in the video description. Happy making, and thank you for your interest!
      For the full tutorial, check out my UA-cam video: Click here
      ua-cam.com/video/Ct0QxOE1f1A/v-deo.html
      @@shivanidubey1716

  • @yogaperam3003
    @yogaperam3003 Рік тому +2

    I completed my project by seeing your video bro--------ilane recchipo bro

  • @SanataniHindus_108
    @SanataniHindus_108 2 роки тому +21

    Because of you, my project was successful. Thank You very much for giving me this idea

  • @MallisettyMahalakshmi
    @MallisettyMahalakshmi Рік тому +3

    Thanks bro this was helpful i am really happy 😊 Thanks 👍👍

  • @devanshgupta794
    @devanshgupta794 Рік тому +26

    To modify your Arduino code to have a burst of 3 seconds followed by no output for 90 seconds, you can use the `millis()` function to track time. Here's an updated version of your code:
    ```cpp
    int water; // Random variable
    unsigned long previousMillis = 0;
    const long burstDuration = 3000; // 3 seconds
    const long pauseDuration = 90000; // 90 seconds
    void setup() {
    pinMode(3, OUTPUT); // Output pin for relay board
    pinMode(6, INPUT); // Input pin coming from soil sensor
    }
    void loop() {
    water = digitalRead(6); // Read the incoming signal from the soil sensor
    unsigned long currentMillis = millis();
    if (currentMillis - previousMillis < burstDuration) {
    // Burst duration: 3 seconds
    if (water == HIGH) {
    digitalWrite(3, LOW); // Cut the relay
    } else {
    digitalWrite(3, HIGH); // Continue providing signal and water supply
    }
    } else {
    // Pause duration: 90 seconds
    digitalWrite(3, HIGH); // Ensure the relay is off during the pause
    if (currentMillis - previousMillis >= burstDuration + pauseDuration) {
    // Reset the timer when the pause duration is over
    previousMillis = currentMillis;
    }
    }
    delay(400); // Optional delay for stability
    }
    ```
    This code will provide a burst of output for 3 seconds, followed by no output for 90 seconds, and then the cycle will repeat. The `millis()` function is used to keep track of time, and it compares the current time with the previous time to control the relay output accordingly.

  • @SantoshMahato-gh9kc
    @SantoshMahato-gh9kc Рік тому +12

    TOMORROW I HAVE MY SCIENCE EXHIBITION IN SCHOOL SO PLEASE A VIDEO ON HOW TO EXPLAIN THIS WITH DETAIL TO THE TEACHER TO THIS EXHIBITION

  • @sanjanakolvekar1900
    @sanjanakolvekar1900 Місяць тому

    Thank you so much..this helped me a lot.
    I used Arduino UNO R4 Minina,and got the output.

  • @enriquegue6787
    @enriquegue6787 Рік тому +1

    Thanks you My brother, You just saved my semester. (I'll be here supporting you)

  • @mahadschoolboygamer260
    @mahadschoolboygamer260 11 місяців тому +1

    You save my exam

  • @amanpratikpattnaik430
    @amanpratikpattnaik430 3 роки тому +7

    U did really good it was awesome keep it up bro😊😁

  • @sumitsinha7002
    @sumitsinha7002 2 роки тому +2

    2:58 what is that 5 v power supply? Is it the battery you are talking about?

    • @TechieLagan
      @TechieLagan  2 роки тому

      Yes

    • @sumitsinha7002
      @sumitsinha7002 2 роки тому +1

      I have a 9 v battery is it OK?

    • @TechieLagan
      @TechieLagan  2 роки тому

      Yes

    • @arsh_arora10
      @arsh_arora10 Місяць тому

      Will it 9v dc pump work with this project with 9v non rechargeable battery? ​@@TechieLagan

    • @TechieLagan
      @TechieLagan  Місяць тому

      @arsh_arora10 yes it will

  • @sanduniprabashika3213
    @sanduniprabashika3213 Рік тому

    I love you more than our university and the lectures😘🥺♥️♥️ also the uni guys

  • @tapaskumarnath5978
    @tapaskumarnath5978 Рік тому +2

    I made it and it was working fantastic😊🎉😮

    • @shaxx_shorts1122
      @shaxx_shorts1122 Рік тому

      kindly send me where you got the coomponets please and things need for this project pls

    • @TechieLagan
      @TechieLagan  Рік тому

      Product links are provided in the description of the video

  • @NikhileshKrishnaP
    @NikhileshKrishnaP 3 дні тому

    Thank You Lagan
    By the way you did not send the link for getting the main control board ( through which the soil moisture sensor is connected to arduino board)

  • @nilanjanaghoshdeie6321
    @nilanjanaghoshdeie6321 Рік тому +2

    Sir can you please tell me is the green wire connected to the + of the battery or to the - of the battery and did you Connect the - ve of the pump with the relay N/O pin?
    Great video sir thank you very much

    • @TechieLagan
      @TechieLagan  Рік тому

      See the positive negative doesn't matter in the pump which is used in the video..
      U just have to connect one wire of the pump directly to the battery and the other wire u have to connect it to the battery but through the relay module...
      The connection will be same as we do for connecting a switch to any simple circuit...

    • @Ahamedraza-1537
      @Ahamedraza-1537 2 місяці тому

      Which battery bro

  • @masu4644
    @masu4644 2 роки тому +16

    2:48 you havent show that an extra power supply is needed??

  • @amsyarhasni7158
    @amsyarhasni7158 2 роки тому +3

    The green wire and the red wire at the relay at the water pump you connected with what

    • @TechieLagan
      @TechieLagan  2 роки тому

      It is connected with battery ( Power Bank)
      For more clarity please refer to the circuit diagram!!

  • @timecop1983Two
    @timecop1983Two Рік тому +6

    This was absolutely amazing! But can I connect a 12v pump? Just really need to know.

  • @JuanS-g3r
    @JuanS-g3r Рік тому +2

    Thank you man , for you i could do my project for tecnology 😃❤

  • @ladoonithi1147
    @ladoonithi1147 11 місяців тому +2

    sir kindly tell me that in 2.46 where you connecting the other end of the green wire is that wire from battery

  • @pavankarkhanis5914
    @pavankarkhanis5914 Рік тому

    Very Helpful!! Worked for me. Thanks

    • @RIYAREDKAR
      @RIYAREDKAR Рік тому

      Hi. Could you tell us how it worked for you? We did everything right but it still dosent work! :(

  • @GAMERMIRCHI-08
    @GAMERMIRCHI-08 3 роки тому +1

    thanks bhaiya ye video mera kam aya

  • @vikramverma1539
    @vikramverma1539 Рік тому

    Thank u very much, this is going to help me in my project

  • @AnshumanAtrey
    @AnshumanAtrey 2 роки тому +2

    In relay NO and COM connected or NC and COM to motor ?
    and motor needs to be in the water to rotate or for the test, will it rotate in the air too?

    • @TechieLagan
      @TechieLagan  2 роки тому +2

      NO and COM.
      No need to put it in water.....

    • @AnshumanAtrey
      @AnshumanAtrey 2 роки тому +2

      @@TechieLagan Thank you sir ❤️❤️❤️❤️

    • @maulidyasyah8914
      @maulidyasyah8914 2 роки тому +2

      sorry sir, can u help me, my relay just red LED is on, but the green one is no. and relay for pump is not working (even the sensor is wet or not wet). my coding exactly same just like the this youtube.

  • @vaibhavyadav7417
    @vaibhavyadav7417 2 роки тому +3

    Bro have you connected red and green wire with 5volt battery. And is Arduino connect with a charger in plug

  • @GreenChester299
    @GreenChester299 17 днів тому

    would it be possible to add a LDR near the power supply so that it can also detect if theres light so it know not to water when it's night? I'm a beginner so i don't know much.

  • @mkishna
    @mkishna 18 годин тому

    but I need about the water is salty or normal can you make video

  • @meetsoni1938
    @meetsoni1938 9 місяців тому

    Working perfectly fine. Thanks a lot ❤

  • @rendra7546
    @rendra7546 16 днів тому +1

    bagaimana jika si pompa air ini di sambungkan dengan adaptor 9v2a ke relay? bisa tidak

  • @pradyunchannalli
    @pradyunchannalli Місяць тому

    To use the system, do we always need to connect the arduino do the laptop, or just the fire time?

  • @annechristinenapigkit7385
    @annechristinenapigkit7385 4 дні тому

    Can I use solar panel instead of batteries?

  • @mr.x8628
    @mr.x8628 3 місяці тому

    dhon banaiso vai sei hoise

  • @Khalid-1265
    @Khalid-1265 2 роки тому

    Great job thank you sir
    I just have a question does the arduino must be connected to the laptop or i can connect it to a battery ?

    • @TechieLagan
      @TechieLagan  2 роки тому +1

      Yes, you can connect it to battery.

  • @shenalnuvin481
    @shenalnuvin481 2 роки тому +3

    nice project ,but how do we give the power supply to the arduino and to the water pump at the same time? i mean like can we supply the power to the water pump from the board 5v pin ?

    • @TechieLagan
      @TechieLagan  2 роки тому

      No I don't think it will be enough..
      Instead of it you can use another 9 volt battery or like me you can use on powerbank. Cut the usb cable and connect the other end to the pump through the relay module..
      Plz follow the circuit diagram for more details..

    • @shenalnuvin481
      @shenalnuvin481 Рік тому

      @@TechieLagan ok so i give the power to the water pump using the power bank but what about the arduino, how do we give the power to the arduino?

  • @mallikadas9162
    @mallikadas9162 Рік тому +4

    Do we need to connect the two end of the relay module with a battery?

  • @ayeshaamjad4786
    @ayeshaamjad4786 Рік тому +1

    I have a question. where does the green and red wire which you connected to the relay module will go?

    • @rawr6796
      @rawr6796 Рік тому +1

      based on the comment, it seems he connected it into another powerbank. but he also said we can use a 9v battery instead. ill try it out in a few hours and see if it works. if i remember myself commenting here then ill try to update you too 😅

    • @TechieLagan
      @TechieLagan  11 місяців тому

      to the battery

    • @dyaykaa9640
      @dyaykaa9640 2 місяці тому

      ​@@TechieLaganWhat is the battery like?

    • @TechieLagan
      @TechieLagan  2 місяці тому

      @dyaykaa9640 you can use 9 volt battery or power bank

  • @shampadebnath6250
    @shampadebnath6250 Рік тому +1

    What jumper wires did you used male to male or female to male or female to female??
    Please reply!! 🙏

  • @pradyunchannalli
    @pradyunchannalli Місяць тому

    To use the system, does the arduino always have to be plugged into the laptop or only the first time to add the code?

  • @tohelpothers9767
    @tohelpothers9767 2 роки тому +2

    Are you using power supply for pump??

  • @moistenland
    @moistenland 9 місяців тому

    nice video, if there is a compeleted automatic drip irrigation kit with only quick-dial control, will be more helpful for family daily using?

  • @TeddyChoco-pg9zf
    @TeddyChoco-pg9zf Рік тому +1

    Hello
    May i know in what app we have to enter our program code

    • @TechieLagan
      @TechieLagan  Рік тому +1

      If u r asking about how to upload the code then u have to use arduino ide which is a computer software but if you want to upload the code using your phone then you can watch this video - ua-cam.com/video/FU7PHi79Q2Q/v-deo.htmlsi=ZvTLGn5uPpdM95UZ
      or if you want to download and install the arduino ide then you can watch this video - ua-cam.com/video/oL23ZVML-Yw/v-deo.htmlsi=Zd-4QHSRdR_eJ8QC

  • @vspravalika98
    @vspravalika98 2 роки тому +6

    Thank u so much for your support to complete this project this is so helpful thanks a lot☺️

    • @prakharsharma1005
      @prakharsharma1005 2 роки тому

      Bro input me current kitna aur lga se dena h

    • @carinarus3671
      @carinarus3671 2 роки тому

      Could please explain what is the 5V supply that you connected to the relay and the water pump? I don't understand. This is my first project like this. Thank you!!!

    • @bagassaputra6338
      @bagassaputra6338 Рік тому

      ​@@carinarus3671battery 9 volt

  • @jonburgmann
    @jonburgmann 2 роки тому +1

    Need drainage holes in that pot you’ll drown it & as for the sensor 2 separate stainless steel tube’s one either side of pot

  • @akshitaduggi1736
    @akshitaduggi1736 4 місяці тому +2

    Where did you connect those red and green wire please upload the picture of it

  • @DWALLPAINT
    @DWALLPAINT 2 роки тому +4

    Very professional work, Thanks my friend ❤️❤️👌👌

    • @Nurinasrof
      @Nurinasrof 2 роки тому

      why the coding cant'run? Is there a file that I need to upload in the arduino?

  • @darr4658
    @darr4658 Рік тому +1

    If I use a 5v relay, a 5v water pump and a 9v power source, will it work?

  • @teamkod-devil6196
    @teamkod-devil6196 2 роки тому +5

    Thanks broo. But I have one simple question can you explain me please. Question is solar powered smart Irrigation using IoT project title, which project is possible?? Please reply me 🥺

  • @sohaylasohaqueen9600
    @sohaylasohaqueen9600 11 місяців тому +1

    Please can you tell me how can i know quantity of water in the soil

  • @roivincentsalimbagat
    @roivincentsalimbagat 2 місяці тому +5

    do i need a battery to run the water pump?

  • @bearouch2480
    @bearouch2480 2 місяці тому

    is there a way where you can make a servo motor dispense water to the soil kinda like a sprinkler

  • @minnal_shibu
    @minnal_shibu 7 днів тому +1

    How does it work and censoring...

  • @noiresama7222
    @noiresama7222 2 роки тому +11

    Hello, thanks for your tutorial, if I'm using a 12V power source and a 12V water pump, can I still use the 5V relay module?

    • @TechieLagan
      @TechieLagan  2 роки тому

      Yes you can .
      There is no problem.

    • @Santosh_Aryal2065
      @Santosh_Aryal2065 Рік тому

      @@TechieLagan and we dont need to use any transistors or resistors?

  • @abhishekmaheshwari4657
    @abhishekmaheshwari4657 3 місяці тому

    Thanks , the project works nicely

  • @آفلَآطؤُنہ
    @آفلَآطؤُنہ Рік тому

    Question about the water pump: When you connected it to a red cable, where did you draw electrical energy for it to work? Can you please answer it?

    • @TechieLagan
      @TechieLagan  Рік тому +1

      I have used an external power source (Power bank)
      and Sorry for late reply.

    • @SanikaVh
      @SanikaVh Рік тому +1

      Which external power source did u use can you pls give the connections for it.​@@TechieLagan

  • @geetanjali6752
    @geetanjali6752 5 днів тому

    How much will it cost for the hardware components??

  • @carrisaaulia5657
    @carrisaaulia5657 2 роки тому +3

    what can I use other than a 5 volt power supply as the connector of the 2 red and green wires that connects to the relay and motor?

    • @TechieLagan
      @TechieLagan  2 роки тому

      U can use an old phone charger or a power bank or
      A 9 volt battery .....

    • @abdulrahmanismailali1064
      @abdulrahmanismailali1064 2 роки тому

      @@TechieLagan can you give me your phone number i need to your help

    • @tejasrajak4198
      @tejasrajak4198 2 роки тому

      @@TechieLagan will arduino blast

    • @TechieLagan
      @TechieLagan  2 роки тому

      No but if you provide more than 12 volts then there may b a little spark in the microprocessor and the whole Arduino may stop working.

  • @rahul15929
    @rahul15929 2 роки тому +1

    Can I power up the Arduino with 9v battery and also can I use another 9v battery for relay

  • @chandanakoppolu-j9u
    @chandanakoppolu-j9u 11 місяців тому

    Sir,could you please say that should i conmect any battery to the pump or relay module

    • @TechieLagan
      @TechieLagan  11 місяців тому

      You have to connect battery to the pump through the relay module
      Just assume the relay module similar to a switch.

  • @BishnupriyaMajhi-x3f
    @BishnupriyaMajhi-x3f 3 місяці тому +2

    can we did not connect the Arduino with computer or phone during project?? Does it work without computer or phone connection??
    Please reply

    • @TechieLagan
      @TechieLagan  3 місяці тому

      U can disconnect it from ur computer once ur programmme is uploaded ..
      But to keep it working u have to connect external power to it whether it is 9-12 volt source or power bank or directly connecting it to mobile charger adapter with that usb cable

    • @BishnupriyaMajhi-x3f
      @BishnupriyaMajhi-x3f 3 місяці тому

      @@TechieLagan thank you ❤️

  • @gaunugoun9104
    @gaunugoun9104 Рік тому

    I think whater continues flowing due to communicating vessels principle.

  • @duolingo2057
    @duolingo2057 Рік тому +1

    How many volts battery did u use? 3:45

  • @bismuth2813
    @bismuth2813 2 місяці тому

    can I use a 6v power supply instead? Or will it damage anything?

  • @RenoAhmad-qw9qo
    @RenoAhmad-qw9qo 8 місяців тому

    your vidio help me for my project bro thakyou

  • @kavitiramaraoramarao9227
    @kavitiramaraoramarao9227 2 роки тому +1

    What type of motor pump we use brother either dc or ac, please tell...

    • @TechieLagan
      @TechieLagan  2 роки тому

      See with this relay you can use both....dc or ac only for demo I have used dc. You can use ac also but be careful..
      It depends on your relay module

  • @Dhanesh1619
    @Dhanesh1619 Рік тому +1

    From where did u get the power to suck the water

  • @HamsalekhaHamsa-q4q
    @HamsalekhaHamsa-q4q Місяць тому +1

    Sir in the place of Arduino we can use ESP8266 or not

  • @vijaytoshniwal-st7ct
    @vijaytoshniwal-st7ct 3 місяці тому +1

    Bro I have a request from you.
    I want the system to just work as yours but I just want an addition in the code to make it iot capable in which we can see the soil moisture level in percentage in our mobile using iot.
    Please help me by giving this new code to me. You can write it here by replying me.
    Great video sir. I subscribed liked and also shared your video

  • @RameezM-xb4eu
    @RameezM-xb4eu Рік тому +1

    No mention about battery

    • @TechieLagan
      @TechieLagan  11 місяців тому

      sorry for that

    • @Threya127
      @Threya127 11 місяців тому

      @@TechieLagan voltage of the battery??

    • @TechieLagan
      @TechieLagan  11 місяців тому

      @@Threya127 Here i have used power Bank for the Arduino and 9 volt battery for the pump

  • @AnshumanAtrey
    @AnshumanAtrey 2 роки тому +2

    Will it work when connected to a laptop or need a power supply?
    When I rotate the potentiometer both lights on the water sensor board start glowing and the green light on the relay is turned off is that ok?

    • @TechieLagan
      @TechieLagan  2 роки тому +1

      Yes that is ok....
      See your Arduino needs power supply and pump also needs power supply...so it depends on you how u r providing power to both...

    • @AnshumanAtrey
      @AnshumanAtrey 2 роки тому +2

      @@TechieLagan Thanks alot for replying so fast I have few more questions
      9V battery for both is okey ? or series 1.5V Cells in series or parallel ?

    • @TechieLagan
      @TechieLagan  2 роки тому

      One 9 volt battery will be ok for both....
      If you r doing it just for demonstration...
      Or else you can use a power bank also...

  • @misskonasiya391
    @misskonasiya391 2 роки тому

    Sir where is the green and red wire connected to at the other endpoints? At 3:45

  • @jackbro8140
    @jackbro8140 Рік тому +1

    Hello, I have a queation aobut Soil Moisture Sensor, why my Soil Moisture Sensor touch the water but water pump won't stop? I also print the value of the moisture. the value is keep in value=0, is my moisture is broken?

  • @vj.2210
    @vj.2210 Рік тому

    Hi Lagan bro, I am completely new to these circuity and all..
    U said that we have to connect the relay to 5v power supply, as I am not able to find it..
    Can I use 9v alkaline battery which i can connect with battery clip connector..??

  • @sooyakim8750
    @sooyakim8750 2 місяці тому

    can I use KY-019 5v relay module instead of what is used here in the video of 5v relay module?

    • @sooyakim8750
      @sooyakim8750 2 місяці тому

      I hope you’ll reply very soon. the deadline of our project is within this week Friday 😅

  • @hans6304
    @hans6304 2 роки тому +2

    Hello friend, thank you for the video. Can we submerge the sensor quite deep in the soil and wrap the sensor and the cable connection with electrical tape? Thank you for the kind response.

  • @ovaisalamqureshi2959
    @ovaisalamqureshi2959 2 роки тому +1

    Aap plz circuit pura bataya kare 2 chizen aapne kati hai relay coil se battery connect ki ya kuch aur dusri aapne program ko Arduino se connect kese kiya plz reply !!! Aapne programme compile to kiya but hamne kiya to no board found bata raha hai

  • @krushnakekane4247
    @krushnakekane4247 2 роки тому +4

    Where is the relay module wires connected other than motor?

  • @beamazed448
    @beamazed448 Рік тому

    relay k sath batery connect krni hogi kia?

  • @mulaguru.vaishnavi
    @mulaguru.vaishnavi Рік тому

    thanks for the video , it is working for me

  • @Sandhya_96
    @Sandhya_96 11 місяців тому

    what is the other two wires read and green wires which u connected to relay module?? i didnt understand its connection

    • @TechieLagan
      @TechieLagan  11 місяців тому

      They are connected to the battery

    • @Sandhya_96
      @Sandhya_96 11 місяців тому

      @@TechieLagan hello ... thank you for ur reply...replay module , battery and pump connection can u tell me properly....bcoz for clg project I did this and connection with these only I did wrong....so can u tell me

    • @TechieLagan
      @TechieLagan  11 місяців тому

      @@Sandhya_96 please follow the circuit diagram....

  • @neelamelchauhan2257
    @neelamelchauhan2257 2 місяці тому +1

    Can i use arduino r3 smd instead of it

  • @nibinarayanan3621
    @nibinarayanan3621 Рік тому

    How is the power given to relay and Uno board..You does not show what is connected to uno board..and is there any power given th the pump

    • @TechieLagan
      @TechieLagan  Рік тому +1

      Yes I used a power bank with usb to give power to the uno board...
      And another battery to give power to the pump.

    • @TechieLagan
      @TechieLagan  Рік тому +1

      You can use a single power source but you have to give power supply to the uno board and pump separately.

  • @thesportsentertainerguy861
    @thesportsentertainerguy861 3 місяці тому

    can you explain me how your water pump is connected with which component ?

    • @TechieLagan
      @TechieLagan  3 місяці тому

      Water pump is directly connected to a battery and the relay is connected as a switch...

  • @s.dino333
    @s.dino333 2 місяці тому

    Is there no need of any resistors?

  • @Preethi-yn6vy
    @Preethi-yn6vy 2 місяці тому

    What about the power supply?? Will you please explain

  • @i-miss-her-3004
    @i-miss-her-3004 Рік тому

    hello mate, can i connect the sensor to 5V pin instead of 3.3V pin, is it going to cause problem cuz i need to use the 3.3V pin for an esp8266

    • @TechieLagan
      @TechieLagan  Рік тому

      You can try that if it's working then well and good..

  • @jumbo999614
    @jumbo999614 2 роки тому +1

    This pump has to be submerged in the water right? I tried to transfer water from one cup to another cup while the pump is outside the cup. It doesn't work.

    • @TechieLagan
      @TechieLagan  2 роки тому +2

      Yes it has to be under water.

    • @jumbo999614
      @jumbo999614 2 роки тому

      @@TechieLagan Is there other type of pump that can be used without need to be underwater?

    • @TechieLagan
      @TechieLagan  2 роки тому +1

      Yes there are .....
      You can search on the internet..

    • @tychicusnthenge6414
      @tychicusnthenge6414 2 роки тому +1

      @@jumbo999614 You dont need submersible pump for that small work, just let the water bucket be little bit elevated and and provide outlet from the lower side to have water flow to pump through gravity, again make sure the flower pot is higher level than water supply to avoid free flow when pump is not running. That should work well for you.

  • @xthunder69
    @xthunder69 Рік тому +1

    bro where do the other end of the 2 wires that go in the relay model go?

  • @princesszairah
    @princesszairah 8 місяців тому

    is the sensor module has a led indicating its running?

  • @dharabharanitharan
    @dharabharanitharan Місяць тому

    what does the variable water indicate in this code?

  • @whako13
    @whako13 9 місяців тому

    Hi, thank you for this tutorial, this is very helpful. if i have to connect more sensors? can you please help with an updated schematic?

  • @nagenthirakumar9326
    @nagenthirakumar9326 9 місяців тому

    That red and green wire in the relay model should be connected or not?

    • @TechieLagan
      @TechieLagan  9 місяців тому +1

      ya it should be connected to the battery

    • @suryasplayz
      @suryasplayz 4 місяці тому

      ​@@TechieLaganwhich battery voltage

    • @TechieLagan
      @TechieLagan  3 місяці тому

      @@suryasplayz 3-9 volt

  • @orbejm
    @orbejm Рік тому

    Where is the power came from? In the usb in Arduino or in the power in motor?

    • @TechieLagan
      @TechieLagan  Рік тому

      I have used a power bank .
      You can also use 9 volt batteries.

  • @suryasplayz
    @suryasplayz 4 місяці тому

    What type of battery would i need to power up the pump?

    • @TechieLagan
      @TechieLagan  4 місяці тому

      9 volt battery will serve the purpose

  • @kumaranperumal718
    @kumaranperumal718 2 роки тому +4

    Sir where u connect the red and green wire in pump? please answer sir i am doing my school project

    • @TechieLagan
      @TechieLagan  2 роки тому

      It is connected to a 9 volt battery or you can also use power bank