Это видео недоступно.
Сожалеем об этом.
How to make Automatic Plant Watering System using Arduino UNO and Soil Sensor || Techie Lagan
- Добавить в
- Мой плейлист
- Посмотреть позже
- Поделиться
Поделиться
HTML-код
Размер видео:
- Опубликовано: 16 авг 2024
Комментарии • 725
Следующие
Автовоспроизведение
Smart Irrigation System using Arduino UnoTech Trends Shameer
Просмотров 47 тыс.
Preventing Plant Death With TechnologyEmilostuff
Просмотров 133 тыс.
How to make a plant watering system with ESP32 board and Blynk app #sritu_hobby #esp32projectSriTu Hobby
Просмотров 79 тыс.
Jey One ❌ Yailin La Mas Viral - Ni Un Ki Ki (Video Oficial) @mapanegromusiicJey One
Просмотров 471 тыс.
TELLING OUR FRIENDS WE’RE PREGNANT!Jayco & Val
Просмотров 204 тыс.
Alien: Romulus - Movie ReviewChris Stuckmann
Просмотров 319 тыс.
El Fother, Lapiz Conciente - Round 4 (Video Oficial) By Carter FilmsEL FOTHER
Просмотров 975 тыс.
These Illusions Fool Almost EveryoneVeritasium
Просмотров 1,9 млн
Top 10 arduino projects 2024 | Arduino projects for beginners | Arduino projectSimple Circuits
Просмотров 253 тыс.
How to make an AUTOMATIC WATERING for PLANTSAndrobot TECH
Просмотров 73 тыс.
award winning science project || smart automatic plant watering system with water recycling ♻️MK Smart creations
Просмотров 22 тыс.
DIY Automatic Plant Watering System Using Arduino !!!ROBOMAC
Просмотров 131 тыс.
I Made My Own Image Sensor! (And Digital Camera)SeanHodgins
Просмотров 1 млн
Soil Moisture Sensor with Arduino UnoPassion Tech KLM
Просмотров 190 тыс.
IOT Based Smart Plant Watering System using the New Blynk Iot and Nodemcu esp8266 || Techie LaganTechie Lagan
Просмотров 12 тыс.
Simple Self Watering System | Smart Irrigation Without ArduinoKtronic 110
Просмотров 8 тыс.
ШИКАРНЫЙ ВЫСОКОБЮДЖЕТНЫЙ ФИЛЬМ, ИСТОРИЧЕСКИЙ БОЕВИК! СЛУГА ГОСУДАРЕВMovie Hall
Просмотров 1,7 млн
"Он сам попросил об этом..." Шокирующая история учительницыAgatha Christie
Просмотров 238 тыс.
Mellstroy хочет в семью Бустера и Дилары? #шортс #трендыВПИСКА
Просмотров 265 тыс.
Sevinch Ismoilova - Xayollarim 18-Avgust 19:00 PremeraSevinch Ismoilova
Просмотров 410 тыс.
Insane Coffee trick EXPOSED 😱☕️ #shortsWian
Просмотров 5 млн
"Извини, я передумала..." Анастасия СОЛОВЬЕВА и Индл КИНГАнна Ханна
Просмотров 225 тыс.
КУДА ДАЛЬШЕ ДВИНУТСЯ ВСУ? БЕСЕДА С ЮРИЙ ФЕДОРОВФЕЙГИН LIVE
Просмотров 542 тыс.
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);
}
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 🙏
@@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
@@amirreza33 same issue is coming for me
@@chvinaykumar245 is it solved or not?
@@chvinaykumar245plz reply bro
This saved my semester. THANK YOU!!!!
Kaise banaya apne
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
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!
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
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.
This is very easy to understand. Thank you very much 🙏🏾
😂
Kese banaya
Reply karo
Kese banaya
2:48 you havent show that an extra power supply is needed??
S bro what we can do for that
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.
could you tell me connection as you are saying I m interested to do this project
Can you plzz provide the code
can you please give the code??
please please...
Can you please provide code
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 RUclips video: Click here
ruclips.net/video/Ct0QxOE1f1A/видео.html
@@shivanidubey1716
This was absolutely amazing! But can I connect a 12v pump? Just really need to know.
Yes you can !!
Thanks alot. Keep up the good work!
Because of you, my project was successful. Thank You very much for giving me this idea
Bro input pe supply kse aur kha se denge
Can you tell me more about this project?
Battery operator ?
the code is not working
If you're a student could u pls help us out.
?
Thank you lagan , you're my savior
Sir where u connect the red and green wire in pump? please answer sir i am doing my school project
It is connected to a 9 volt battery or you can also use power bank
Thanks bro this was helpful i am really happy 😊 Thanks 👍👍
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
Thank you man , for you i could do my project for tecnology 😃❤
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 🥺
nice video, if there is a compeleted automatic drip irrigation kit with only quick-dial control, will be more helpful for family daily using?
U did really good it was awesome keep it up bro😊😁
Thanks..
@@TechieLagan can you help me
Hlo @@TechieLagan
Yes !!
Motor is not turning off even after getting wet.....what to do?
Bro have you connected red and green wire with 5volt battery. And is Arduino connect with a charger in plug
Please tell fast anyone
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!!!
It is a power bank . You can also use 9 volt battery instead of it.
@@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!
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....
@@TechieLagan Thank you so much! Have a great day!
My pleasure 🥰.
PLEASE MAKE A ANOTHER VIDEO
TO EXPLAN THE PROGRAM
thanks bhaiya ye video mera kam aya
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
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...
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?
I completed my project by seeing your video bro--------ilane recchipo bro
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 ?
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..
@@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?
Do we need to connect the two end of the relay module with a battery?
up!
I love you more than our university and the lectures😘🥺♥️♥️ also the uni guys
The green wire and the red wire at the relay at the water pump you connected with what
It is connected with battery ( Power Bank)
For more clarity please refer to the circuit diagram!!
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?
Yes you can .
There is no problem.
@@TechieLagan and we dont need to use any transistors or resistors?
Please can you tell me how can i know quantity of water in the soil
Where is the relay module wires connected other than motor?
I think a separate power source
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
your vidio help me for my project bro thakyou
sir kindly tell me that in 2.46 where you connecting the other end of the green wire is that wire from battery
yes
Very professional work, Thanks my friend ❤️❤️👌👌
why the coding cant'run? Is there a file that I need to upload in the arduino?
can we use ultra sonic sensor instead of soil sensor
if yes then what is ardino code
please reply
How ultrasonic sensor can use
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.
Yes
Hello
May i know in what app we have to enter our program code
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 - ruclips.net/video/FU7PHi79Q2Q/видео.htmlsi=ZvTLGn5uPpdM95UZ
or if you want to download and install the arduino ide then you can watch this video - ruclips.net/video/oL23ZVML-Yw/видео.htmlsi=Zd-4QHSRdR_eJ8QC
That was so helpful and easy to understand
Thank you!!!
maybe for curry eaters
who asked
Wow very good
Op bro 😀
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?
U can use an old phone charger or a power bank or
A 9 volt battery .....
@@TechieLagan can you give me your phone number i need to your help
@@TechieLagan will arduino blast
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.
Very Helpful!! Worked for me. Thanks
Hi. Could you tell us how it worked for you? We did everything right but it still dosent work! :(
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?
NO and COM.
No need to put it in water.....
@@TechieLagan Thank you sir ❤️❤️❤️❤️
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.
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
Working perfectly fine. Thanks a lot ❤
Cod working?
sir thank you so much very nice explanation and implementation .This same project how we can implement in BLYNK???
If I use a 5v relay, a 5v water pump and a 9v power source, will it work?
yes it will work.
Excellent...I m completely novice. Can you help how does Arduino / programming etc work.
Thank u very much, this is going to help me in my project
Glad I could help
Sir, its quite important. may i just know the voltage of the battery you used.
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.
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?
I hope this message finds you well. FLow sensing is costly and trickey , I am are writing to provide you with information on the calibration and prediction of flow rate and the time required to dispense water under varying pressure conditions. This knowledge is essential for efficient water management and distribution in various applications.
Flow rate is a crucial parameter, and it is influenced by several factors, including the water source, pipeline type, and pressure control mechanisms in place. For consistency and reliability in maintaining pressure, there are options such as utilizing pumps, auto-filling overhead tanks, or employing devices like the Pressure Controllers.
To calculate the flow rate and the time needed to dispense 1000 liters of water with a pressure of 3 bar, we've collected the following data:
At 2 bar pressure, the tap dispenses 20 liters of water in 1 minute.
At 4 bar pressure, the tap dispenses 40 liters of water in 1 minute.
Let's begin by determining the flow rates at both 2 bar and 4 bar pressure:
Flow Rate at 2 bar pressure:
Flow rate = Volume / Time
Flow rate = 20 liters / 1 minute
Flow rate = 20 liters/minute
Flow Rate at 4 bar pressure:
Flow rate = 40 liters / 1 minute
Flow rate = 40 liters/minute
Now, we need to find the flow rate at 3 bar pressure. Given the flow rates at 2 bar and 4 bar, we can assume that the relationship between flow rate and pressure is linear. To estimate the flow rate at 3 bar pressure, we can use linear interpolation.
First, we calculate the flow rate increase per bar of pressure:
Flow rate increase per bar = (Flow rate at 4 bar - Flow rate at 2 bar) / (4 bar - 2 bar)
Flow rate increase per bar = (40 liters/minute - 20 liters/minute) / (4 bar - 2 bar)
Flow rate increase per bar = 20 liters/minute / 2 bar
Flow rate increase per bar = 10 liters/minute/bar
Now, we can find the flow rate at 3 bar:
Flow rate at 3 bar = Flow rate at 2 bar + (Flow rate increase per bar * (3 bar - 2 bar))
Flow rate at 3 bar = 20 liters/minute + (10 liters/minute/bar * (3 bar - 2 bar))
Flow rate at 3 bar = 20 liters/minute + (10 liters/minute)
Flow rate at 3 bar = 30 liters/minute
With a flow rate of 30 liters/minute at 3 bar pressure, we can calculate the time required to dispense 1000 liters of water:
Time = Volume / Flow rate
Time = 1000 liters / 30 liters/minute
Time = 33.33 minutes
In conclusion, it would take approximately 33.33 minutes to dispense 1000 liters of water at a pressure of 3 bar. This information is valuable for planning and optimizing water distribution processes in your specific application.
From where did u get the power to suck the water
from the battery
I have a question. where does the green and red wire which you connected to the relay module will go?
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 😅
to the battery
Thank u so much for your support to complete this project this is so helpful thanks a lot☺️
Bro input me current kitna aur lga se dena h
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!!!
@@carinarus3671battery 9 volt
You save my exam
Thanks you My brother, You just saved my semester. (I'll be here supporting you)
hi. we're students too, could u help us out.
can u help!!
Can we connect a 16x2 i2c display with it.pls reply and suggest connection and code
Components
Bro what about the connection of other green and red wires ends while connecting to relay and motor? Plz give explanation of that connection
Those wires are connected to 5volt Power supply...
@@TechieLagan i thought its 9v
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
Sir donwe have to give external supply to the relay and pump please replay
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?
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...
@@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 ?
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...
Where is the blue wire going from the Arduino in the demonstration?
Bro can we put led in which will show moisture level and if pump on
Can you give me tha code
Very nice video
Loved it
How can use this in multi plant pots? Example if I have 4plant pot then how?
bro where do the other end of the 2 wires that go in the relay model go?
Yes
We have copy pasted the code and tried to upload the code but it shows that the upload is failed. Please help.
I will replace this sensor wirh rtc ds3231 can you explane how to much ?
hi sir , can I use esp8266 for this project ?
2 stainless steel drink straws
Thank u bro ❤❤
thanks for the video , it is working for me
bro why my pump didnt on?
Bro same here 😭😭😭
Very nice
hello! How could i add a hc-05 bluetooth module to this? what pins should i change and how would the new code look like?
sir, how can i upload the code from compute pls explain in detail i i dont know anyhting about coding
What type of motor pump we use brother either dc or ac, please tell...
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
Where does the green wire and red wire connected to the relay module go
They are connected to 5volt supply from a power bank.
@@TechieLagan Can you just connect the wire from the pump to the relay if the board has enough supply of power?
@@TechieLagan can I connect to 9v baterry?
Yes
No mention about battery
sorry for that
@@TechieLagan voltage of the battery??
@@Threya127 Here i have used power Bank for the Arduino and 9 volt battery for the pump
hllw,,the ciecuit diagram and in the video connection process is differents
THANK YOU MAH FRIEND
2:58 what is that 5 v power supply? Is it the battery you are talking about?
Yes
I have a 9 v battery is it OK?
Yes
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..??
yes you can use that
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?
I have used an external power source (Power bank)
and Sorry for late reply.
Which external power source did u use can you pls give the connections for it.@@TechieLagan
nice🙃
Bro how Tu connect battery my water pump is working but Arduino is not working when motter start it's running continuously with stop
Where did you connected realy module wires? mention clearly..Any other external connections are required to realy module??
they are connected to a battery. Here relay module acts as a switch.
What jumper wires did you used male to male or female to male or female to female??
Please reply!! 🙏
Male to female
@@TechieLagan thank you so much for your instant reply!!
It's my responsibility sir !!
thanks it worked at my first try but however my PUMP IS WORKING BUT NOT PUMPING ANY WATER USELESS PUMP
Change the store from where u have purchased 😂
Bro
Can u share me the link to buy Arduino uno
The one in description is not available..
amzn.to/3I6u9uo
Thank you
Can we use pro mini arduiuno?
Can i directly use a nine volt battery here?
Can I add a LCD display for the moisture?
You can for that u have to use crystal lcd
i2c
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 ?
Yes, you can connect it to battery.
Teh water keep on moving its not stoping
is the sensor module has a led indicating its running?