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

  Рет қаралды 633,434

Techie Lagan

Techie Lagan

Күн бұрын

Пікірлер: 739
@TechieLagan
@TechieLagan Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
​@@amirreza33 same issue is coming for me
@sayedtousifalam3724
@sayedtousifalam3724 Жыл бұрын
​@@chvinaykumar245 is it solved or not?
@sayedtousifalam3724
@sayedtousifalam3724 Жыл бұрын
​@@chvinaykumar245plz reply bro
@RajalekshmiRBMH
@RajalekshmiRBMH 5 ай бұрын
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!
@immortalsugimoto4498
@immortalsugimoto4498 8 ай бұрын
This saved my semester. THANK YOU!!!!
@suru321
@suru321 6 ай бұрын
Kaise banaya apne
@yogaperam3003
@yogaperam3003 Жыл бұрын
I completed my project by seeing your video bro--------ilane recchipo bro
@meidalailia_
@meidalailia_ 18 күн бұрын
permission to make a video for a learning assignment, sir 🙏 thank you
@enriquegue6787
@enriquegue6787 Жыл бұрын
Thanks you My brother, You just saved my semester. (I'll be here supporting you)
@RIYAREDKAR
@RIYAREDKAR 10 ай бұрын
hi. we're students too, could u help us out.
@1101_BibihazaratunNesa
@1101_BibihazaratunNesa Ай бұрын
can u help!!
@GAMERMIRCHI-08
@GAMERMIRCHI-08 2 жыл бұрын
thanks bhaiya ye video mera kam aya
@AnshumanAtrey
@AnshumanAtrey Жыл бұрын
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 Жыл бұрын
NO and COM. No need to put it in water.....
@AnshumanAtrey
@AnshumanAtrey Жыл бұрын
@@TechieLagan Thank you sir ❤️❤️❤️❤️
@maulidyasyah8914
@maulidyasyah8914 Жыл бұрын
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.
@ladoonithi1147
@ladoonithi1147 7 ай бұрын
sir kindly tell me that in 2.46 where you connecting the other end of the green wire is that wire from battery
@TechieLagan
@TechieLagan 7 ай бұрын
yes
@krushnakekane4247
@krushnakekane4247 2 жыл бұрын
Where is the relay module wires connected other than motor?
@bobthemonkey9918
@bobthemonkey9918 Жыл бұрын
I think a separate power source
@ovaisalamqureshi2959
@ovaisalamqureshi2959 Жыл бұрын
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
@danialwaiznya7864
@danialwaiznya7864 2 жыл бұрын
if i want lcd display,how the connector?because my final project it same like this but its must add lcd.can you help me please
@carrisaaulia5657
@carrisaaulia5657 2 жыл бұрын
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 Жыл бұрын
@@TechieLagan will arduino blast
@TechieLagan
@TechieLagan Жыл бұрын
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.
@sherry6694
@sherry6694 Жыл бұрын
can we use ultra sonic sensor instead of soil sensor if yes then what is ardino code please reply
@rushibari-pq2mu
@rushibari-pq2mu 11 ай бұрын
How ultrasonic sensor can use
@RenoAhmad-qw9qo
@RenoAhmad-qw9qo 4 ай бұрын
your vidio help me for my project bro thakyou
@CS_DEEPIKAA
@CS_DEEPIKAA Жыл бұрын
sir thank you so much very nice explanation and implementation .This same project how we can implement in BLYNK???
@amulyabalabantray2959
@amulyabalabantray2959 3 жыл бұрын
Wow very good
@Threya127
@Threya127 7 ай бұрын
Sir, its quite important. may i just know the voltage of the battery you used.
@TechieLagan
@TechieLagan 7 ай бұрын
For pump you can use 9 volt battery but for Arduino it depends from which socket you are giving power to the Arduino If you are using the power jack then you can give maximum upto 12 volt but if you giving power through the USB cable then you can use power Bank or charger adapter.
@windystorm9957
@windystorm9957 17 күн бұрын
​@@TechieLaganGoodmorning sir, may I just ask how you have connected the 9 volt battery? Thank you so much and please reply fast sir, my project is due next week.Thank you again
@TechieLagan
@TechieLagan 16 күн бұрын
Ig u r asking about the power supply to the pump. So it is directly connected to the 9 volt battery through the relay module . Here the relay is acting as a switch.
@TeddyChoco-pg9zf
@TeddyChoco-pg9zf 9 ай бұрын
Hello May i know in what app we have to enter our program code
@TechieLagan
@TechieLagan 9 ай бұрын
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 - kzbin.info/www/bejne/fIaagXufbJ6EaLMsi=ZvTLGn5uPpdM95UZ or if you want to download and install the arduino ide then you can watch this video - kzbin.info/www/bejne/pX2VZI2MgrFgj9ksi=Zd-4QHSRdR_eJ8QC
@shampadebnath6250
@shampadebnath6250 Жыл бұрын
What jumper wires did you used male to male or female to male or female to female?? Please reply!! 🙏
@TechieLagan
@TechieLagan Жыл бұрын
Male to female
@shampadebnath6250
@shampadebnath6250 Жыл бұрын
@@TechieLagan thank you so much for your instant reply!!
@TechieLagan
@TechieLagan Жыл бұрын
It's my responsibility sir !!
@Hamzalakhan-qp1sf
@Hamzalakhan-qp1sf 4 ай бұрын
Bro how Tu connect battery my water pump is working but Arduino is not working when motter start it's running continuously with stop
@m.pramath7223
@m.pramath7223 Жыл бұрын
no mobile application ? its not conected to cloud ?
@sarvesh8017
@sarvesh8017 Жыл бұрын
sir, how can i upload the code from compute pls explain in detail i i dont know anyhting about coding
@anikethbhat6230
@anikethbhat6230 2 жыл бұрын
Where does the green wire and red wire connected to the relay module go
@TechieLagan
@TechieLagan 2 жыл бұрын
They are connected to 5volt supply from a power bank.
@linhladuongxuan6343
@linhladuongxuan6343 2 жыл бұрын
@@TechieLagan Can you just connect the wire from the pump to the relay if the board has enough supply of power?
@c_azahramaulanir487
@c_azahramaulanir487 2 жыл бұрын
@@TechieLagan can I connect to 9v baterry?
@TechieLagan
@TechieLagan 2 жыл бұрын
Yes
@dr4kuu
@dr4kuu Жыл бұрын
THANK YOU MAH FRIEND
@caturanthony5887
@caturanthony5887 Жыл бұрын
bro why my pump didnt on?
@shivangbhatia2362
@shivangbhatia2362 Жыл бұрын
Bro same here 😭😭😭
@ashlinshajistalin570
@ashlinshajistalin570 13 күн бұрын
What type of jumper wires Need in this project
@TechieLagan
@TechieLagan 6 күн бұрын
Male to female
@mehseiram6521
@mehseiram6521 Жыл бұрын
why is my soil moisture doesn't detect the water still comes out
@dineshlovely6105
@dineshlovely6105 Жыл бұрын
Code have some errors how we rectify
@VALERIALOYAGARCIA
@VALERIALOYAGARCIA 3 ай бұрын
where does the green and red cable go?? where do i connect them with?
@TechieLagan
@TechieLagan 3 ай бұрын
It goes to the battery
@deepanshisaxena6188
@deepanshisaxena6188 9 ай бұрын
where do i put my batteries if i dont want to give power input from my laptop
@prakharsharma1005
@prakharsharma1005 Жыл бұрын
Bhai isme input pe supply kha se denge
@babayeffH
@babayeffH Жыл бұрын
Hi Bro. When i connect pump motor to relay, arduino restarting yourself... Can you help ?
@sarleeee
@sarleeee Жыл бұрын
Which port should be selected in Arduino app?plzz help
@TechieLagan
@TechieLagan Жыл бұрын
It may be different for you...
@janphillipdacallos4214
@janphillipdacallos4214 Жыл бұрын
hello sirr, is the code still available?
@santoshmahato5821
@santoshmahato5821 Жыл бұрын
My system is not working
@Samvel_Gasparyan.14
@Samvel_Gasparyan.14 7 ай бұрын
motor is note turning off even after getting wet…… wat t do?🙏🙏🙏 plisss
@saeedanwar1434
@saeedanwar1434 14 күн бұрын
Sir tell me the name of all wire
@devanshgupta794
@devanshgupta794 Жыл бұрын
please also tell how did u power the whole system? and where was the power lines connected
@spideycuber
@spideycuber Жыл бұрын
Yeah
@babychrist3770
@babychrist3770 Жыл бұрын
hi what libraries u used in arduiuno uno as i am gettting error mfor the arduino code
@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.
@createdbyhassan
@createdbyhassan Жыл бұрын
Demonstration say pehlay last green and red wire kis cheez say connect ki hn ? Please tell I am new learner
@TechieLagan
@TechieLagan Жыл бұрын
It is connected to battery
@myselfbaby
@myselfbaby Жыл бұрын
@@TechieLagan thanks
@krishna_2346
@krishna_2346 11 ай бұрын
Can we add cable instead of battery???reply fast
@TechieLagan
@TechieLagan 11 ай бұрын
Yes
@electronicbranch5366
@electronicbranch5366 2 жыл бұрын
Where code is write
@jashu713
@jashu713 2 жыл бұрын
Bro there are some errors in code bro plz say how to modify that code
@quitsmile5096
@quitsmile5096 Жыл бұрын
He dont give a fuck
@bannimuppidi81
@bannimuppidi81 Жыл бұрын
Sir can you tell me how to connect other side of the relay module to the water pump
@TechieLagan
@TechieLagan Жыл бұрын
See connect one wire of the pump directly with the battery or any other power supply whichever you are using. Then connect the other wire of the pump to the common pin of the relay module and the other wire of the battery to NO pin of the relay module.
@masu4644
@masu4644 Жыл бұрын
2:48 you havent show that an extra power supply is needed??
@chandrunayaka8953
@chandrunayaka8953 2 ай бұрын
S bro what we can do for that
@SantoshMahato-gh9kc
@SantoshMahato-gh9kc Жыл бұрын
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
@timecop1983Two
@timecop1983Two Жыл бұрын
This was absolutely amazing! But can I connect a 12v pump? Just really need to know.
@TechieLagan
@TechieLagan Жыл бұрын
Yes you can !!
@timecop1983Two
@timecop1983Two Жыл бұрын
Thanks alot. Keep up the good work!
@dumebi_ne
@dumebi_ne Жыл бұрын
This is very easy to understand. Thank you very much 🙏🏾
@reenakumari716
@reenakumari716 Жыл бұрын
😂
@krishna_2346
@krishna_2346 11 ай бұрын
Kese banaya
@krishna_2346
@krishna_2346 11 ай бұрын
Reply karo Kese banaya
@vaibhavyadav7417
@vaibhavyadav7417 2 жыл бұрын
Bro have you connected red and green wire with 5volt battery. And is Arduino connect with a charger in plug
@vaibhavyadav7417
@vaibhavyadav7417 2 жыл бұрын
Please tell fast anyone
@jonburgmann
@jonburgmann 2 жыл бұрын
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
@carinarus3671
@carinarus3671 Жыл бұрын
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!!!
@TechieLagan
@TechieLagan Жыл бұрын
It is a power bank . You can also use 9 volt battery instead of it.
@carinarus3671
@carinarus3671 Жыл бұрын
@@TechieLagan So I have to cut the cable that goes in the power bank and connect the wires to the relay? Sorry if this is a stupid question but I's still trying to learn. Thank you!
@TechieLagan
@TechieLagan Жыл бұрын
Yes you have to cut the cable and do the connection. And there is nothing wrong in asking questions whether it is small or big.. Infact I should be sorry for not being able to explain that part more elaboratly in the video....
@carinarus3671
@carinarus3671 Жыл бұрын
@@TechieLagan Thank you so much! Have a great day!
@TechieLagan
@TechieLagan Жыл бұрын
My pleasure 🥰.
@kumaranperumal718
@kumaranperumal718 Жыл бұрын
Sir where u connect the red and green wire in pump? please answer sir i am doing my school project
@TechieLagan
@TechieLagan Жыл бұрын
It is connected to a 9 volt battery or you can also use power bank
@All_Anime_channel_in_hindi
@All_Anime_channel_in_hindi 4 ай бұрын
Ham na bana liya ha OK jisko bana ha wah a like karo
@shenalnuvin481
@shenalnuvin481 Жыл бұрын
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 Жыл бұрын
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?
@SantoshMahato-gh9kc
@SantoshMahato-gh9kc Жыл бұрын
PLEASE MAKE A ANOTHER VIDEO TO EXPLAN THE PROGRAM
@dilipkundapur
@dilipkundapur Жыл бұрын
Can we connect a 16x2 i2c display with it.pls reply and suggest connection and code
@ShrustiKushal-st2dg
@ShrustiKushal-st2dg 3 ай бұрын
Components
@noiresama7222
@noiresama7222 Жыл бұрын
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 Жыл бұрын
Yes you can . There is no problem.
@thisboygotcompuer7705
@thisboygotcompuer7705 9 ай бұрын
@@TechieLagan and we dont need to use any transistors or resistors?
@teamkod-devil6196
@teamkod-devil6196 Жыл бұрын
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 🥺
@mallikadas9162
@mallikadas9162 Жыл бұрын
Do we need to connect the two end of the relay module with a battery?
@elyzadimaapi9495
@elyzadimaapi9495 9 ай бұрын
up!
@tahiriqbal7276
@tahiriqbal7276 4 ай бұрын
thanks it worked at my first try but however my PUMP IS WORKING BUT NOT PUMPING ANY WATER USELESS PUMP
@TechieLagan
@TechieLagan 4 ай бұрын
Change the store from where u have purchased 😂
@devanshgupta794
@devanshgupta794 11 ай бұрын
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.
@jackbro8140
@jackbro8140 Жыл бұрын
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?
@AmandeepSingh-gh3xs
@AmandeepSingh-gh3xs 7 ай бұрын
Motor is not turning off even after getting wet.....what to do?
@venusree3873
@venusree3873 Жыл бұрын
Bro Can u share me the link to buy Arduino uno The one in description is not available..
@TechieLagan
@TechieLagan Жыл бұрын
amzn.to/3I6u9uo
@venusree3873
@venusree3873 Жыл бұрын
Thank you
@jonburgmann
@jonburgmann 2 жыл бұрын
2 stainless steel drink straws
@nilanjanaghoshdeie6321
@nilanjanaghoshdeie6321 10 ай бұрын
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 10 ай бұрын
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...
@1101_BibihazaratunNesa
@1101_BibihazaratunNesa 2 ай бұрын
hllw,,the ciecuit diagram and in the video connection process is differents
@amanpratikpattnaik430
@amanpratikpattnaik430 3 жыл бұрын
U did really good it was awesome keep it up bro😊😁
@TechieLagan
@TechieLagan 3 жыл бұрын
Thanks..
@abdulrahmanismailali1064
@abdulrahmanismailali1064 2 жыл бұрын
@@TechieLagan can you help me
@crazy__girl..0906
@crazy__girl..0906 5 ай бұрын
Hlo ​@@TechieLagan
@TechieLagan
@TechieLagan 5 ай бұрын
Yes !!
@sciencebee6456
@sciencebee6456 Жыл бұрын
We have copy pasted the code and tried to upload the code but it shows that the upload is failed. Please help.
@sohaylasohaqueen9600
@sohaylasohaqueen9600 7 ай бұрын
Please can you tell me how can i know quantity of water in the soil
@hans6304
@hans6304 Жыл бұрын
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.
@TechieLagan
@TechieLagan Жыл бұрын
Yes
@darr4658
@darr4658 10 ай бұрын
If I use a 5v relay, a 5v water pump and a 9v power source, will it work?
@TechieLagan
@TechieLagan 10 ай бұрын
yes it will work.
@chanakyashukla5820
@chanakyashukla5820 2 жыл бұрын
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 жыл бұрын
could you tell me connection as you are saying I m interested to do this project
@aaronnself
@aaronnself Жыл бұрын
Can you plzz provide the code
@joyachakraborty9835
@joyachakraborty9835 11 ай бұрын
can you please give the code?? please please...
@shivanidubey1716
@shivanidubey1716 11 ай бұрын
Can you please provide code
@chanakyashukla5820
@chanakyashukla5820 11 ай бұрын
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 KZbin video: Click here kzbin.info/www/bejne/eaWTgquFepaZZ6M @@shivanidubey1716
@sidahmedmiringi7668
@sidahmedmiringi7668 2 жыл бұрын
I will replace this sensor wirh rtc ds3231 can you explane how to much ?
@AnshumanAtrey
@AnshumanAtrey Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
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...
@Rishivadhan
@Rishivadhan 9 ай бұрын
can u please show us serial monitor const int soilMoisturePin = A0; // Analog pin connected to the soil moisture sensor const int pumpPin = 7; // Digital pin connected to the MOSFET controlling the water pump void setup() { Serial.begin(9600); // Initialize serial communication pinMode(pumpPin, OUTPUT); // Set pump pin as output } void loop() { int soilMoistureValue = analogRead(soilMoisturePin); // Read analog value from the sensor int moisturePercentage = map(soilMoistureValue, 0, 1023, 0, 100); // Map the analog value to a percentage Serial.print("Soil Moisture: "); Serial.print(moisturePercentage); Serial.println("%"); // Check if soil moisture is below a certain threshold if (moisturePercentage < 30) { // Soil is dry, turn on the water pump digitalWrite(pumpPin, HIGH); Serial.println("Water Pump ON"); } else { // Soil is moist enough, turn off the water pump digitalWrite(pumpPin, LOW); Serial.println("Water Pump OFF"); } delay(1000); // Delay for 1 second (adjust as needed) } after uploading this code i can see the serial monitor moisture leavel when i have kept it out is 64 percentage and when i have kept in water it is 18 percentage the result is showing reverse can u tell me it is code problem or sensor problem i am just doing another project on my own please can u tell me instead of arduino i am using esp8266 wifi module and in other one i am using arduino can u tell me two solution for esp and arduino please
@gsgamer9940
@gsgamer9940 2 жыл бұрын
Bro can we put led in which will show moisture level and if pump on Can you give me tha code
@indudubey2127
@indudubey2127 11 ай бұрын
Tum bevakuf ho yrr video ma tumne dusre connection kiya ha aur schematic diagram dusra ha
@amsyarhasni7158
@amsyarhasni7158 2 жыл бұрын
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!!
@m-0966
@m-0966 8 ай бұрын
From where did u get the power to suck the water
@TechieLagan
@TechieLagan 7 ай бұрын
from the battery
@jonburgmann
@jonburgmann 2 жыл бұрын
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
@koterusreeramya796
@koterusreeramya796 2 жыл бұрын
Bro what about the connection of other green and red wires ends while connecting to relay and motor? Plz give explanation of that connection
@TechieLagan
@TechieLagan 2 жыл бұрын
Those wires are connected to 5volt Power supply...
@kristinanadinelacno4340
@kristinanadinelacno4340 Жыл бұрын
@@TechieLagan i thought its 9v
@TechieLagan
@TechieLagan Жыл бұрын
Bro you can use 5 volt, 9 volt, 12 volt or even AC power supply ....it all depends on the type of pump you are using
@MallisettyMahalakshmi
@MallisettyMahalakshmi 11 ай бұрын
Thanks bro this was helpful i am really happy 😊 Thanks 👍👍
@dmitryjayc8767
@dmitryjayc8767 Жыл бұрын
hi sir , can I use esp8266 for this project ?
@chandreshgupta4967
@chandreshgupta4967 Жыл бұрын
Where is the blue wire going from the Arduino in the demonstration?
@moistenland
@moistenland 5 ай бұрын
nice video, if there is a compeleted automatic drip irrigation kit with only quick-dial control, will be more helpful for family daily using?
@whako13
@whako13 4 ай бұрын
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?
@darshangamingyt6360
@darshangamingyt6360 Жыл бұрын
Me darshan huu me anda hogaya tha yee karneme
@xthunder69
@xthunder69 8 ай бұрын
bro where do the other end of the 2 wires that go in the relay model go?
@DEVILGAMING23909
@DEVILGAMING23909 7 ай бұрын
Yes
@RameezM-xb4eu
@RameezM-xb4eu 8 ай бұрын
No mention about battery
@TechieLagan
@TechieLagan 7 ай бұрын
sorry for that
@Threya127
@Threya127 7 ай бұрын
@@TechieLagan voltage of the battery??
@TechieLagan
@TechieLagan 7 ай бұрын
@@Threya127 Here i have used power Bank for the Arduino and 9 volt battery for the pump
@singampallirohith5154
@singampallirohith5154 Жыл бұрын
Which language code is written C or python
@ayeshaamjad4786
@ayeshaamjad4786 8 ай бұрын
I have a question. where does the green and red wire which you connected to the relay module will go?
@rawr6796
@rawr6796 8 ай бұрын
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 7 ай бұрын
to the battery
@rahul15929
@rahul15929 Жыл бұрын
Can I power up the Arduino with 9v battery and also can I use another 9v battery for relay
@TechieLagan
@TechieLagan Жыл бұрын
Yes you can ...
@rahul15929
@rahul15929 Жыл бұрын
Thanks
@kavitiramaraoramarao9227
@kavitiramaraoramarao9227 Жыл бұрын
What type of motor pump we use brother either dc or ac, please tell...
@TechieLagan
@TechieLagan Жыл бұрын
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
@youtubegratis5518
@youtubegratis5518 Жыл бұрын
Tanpa sensor pelembab, pake set waktu bisa gak min
@kingdongaming3549
@kingdongaming3549 2 жыл бұрын
Any ppt Or report for this project..?
@TechieLagan
@TechieLagan 2 жыл бұрын
No Everything is explained in the video itself...
@SanjayChauhanMumbai
@SanjayChauhanMumbai 2 жыл бұрын
Excellent...I m completely novice. Can you help how does Arduino / programming etc work.
@rishiraj2221
@rishiraj2221 Жыл бұрын
Sir code jruri ha irrigation system ke liye
Arduino Garden Controller - Automatic Watering and Data Logging
9:13
Practical Engineering
Рет қаралды 3,1 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 53 МЛН
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 1 МЛН
Simple Self Watering System | Smart Irrigation Without Arduino
8:29
Smart Irrigation System using Arduino Uno
6:40
Tech Trends Shameer
Рет қаралды 49 М.
Things you can make from old, dead laptops
19:03
DIY Perks
Рет қаралды 12 МЛН
How To Make Smart Plant Watering System With ESP8266 NodeMCU & New Blynk
10:52
Automatic Plant Watering with Arduino | Science Project
8:26
Science Buddies
Рет қаралды 53 М.
DIY-How to make free energy water pump
10:03
JBK Ideas
Рет қаралды 2 МЛН
Preventing Plant Death With Technology
14:00
Emilostuff
Рет қаралды 137 М.
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15