Smart Irrigation System using Arduino Uno
ฝัง
- เผยแพร่เมื่อ 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 - วิทยาศาสตร์และเทคโนโลยี
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.
Thank you for the feedback. I will try the suggestions you mentioned.
What should i do if the sensor and arduino work but the pump and battery not?
Can i give direct power supply to arduino ? Without a battery ?
Thanks a lot 🎉
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
Yes that will work, just make sure your code doesn't reference it and you'll be good
Sir Map function we use 10 ,550,0,100.But why code you have written 550,10
thank you sir soooo much
Most welcome
good sir , one question sir why do you not connect the pump from gpio directly to Arduino as it gives 5v
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.
He is asking for 2k for helping
Sir i bought a 4-channel relay by mistake can the same circuit work on 4-channel relay as well
Yes it will work. Use only one relay from that.
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
It's based on the relay
Give him a 2k he is asking for help
Good demonstration. Please can I have the code for this project? Mine is not working.
Please message me in instagram.
Give him 2k he is asking for help
He is making everyone idiot by leaving a bug
Everything is working, but the motor does not stop when the soil is wet
Sir please reply.i need your help.the issue with me is that pump doesnot off when soil gets dry
Check the condition given in the code.
Can you suggest me how i can get the code for this project...
From the description link i didn't get any code
Source code is there in the description. Check again.
Nice nice
Thank you.
can u plsss where the battery is connected
Please check the circuit diagram mentioned in the video description.
Sir code from the video description is not working and also the link to the website how to get the code sir
github.com/Tech-Trends-Shameer/Arduino-Projects/tree/main/Smart-Irrigation-System
should'nt the arduino be connected to the battery?
I gave a separate supply to Arduino
Why we use 9v battery to 5v water pump we directly connect to Arduino
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.
@@TechTrendsShameer thankyou sir
Welcome
👍
Thanks
//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
Can i use this code for esp8266
This code is for Arduino Uno. For ESP8266, you need to change the code.
Sir y cnt I download the code. Can u plz hlp me
Can you please click the link provided on the video description?
I hve checked it. Its nt working. Can u plz provide me again if u dnt mind
Please check this link
drive.google.com/file/d/16wDnszv7pwPHLXg9iSZfxY5LyF88QHlB/view?usp=sharing
The connection are fine but the water is continuously flowing.Is there any issues
Check the relay connection.
Hola sera que me puede ayudar con los codigos porfavor
Please check video description
Hello sir can you paste here the code ? The file can't be view
github.com/Tech-Trends-Shameer/Arduino-Projects/tree/main/Smart-Irrigation-System
I tried and it's working opposite what should I do plz help
Can you please tell me how it is working?
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?
Same problem. What to do sir?
Can you please contact me in Instagram?
instagram.com/tech_trends_shameer/
Can you please contact me in Instagram?
instagram.com/tech_trends_shameer/
Sir can u type the program
Program included in the video description
Sir the motor is not working after connection what can I do i have connected as per the circuit diagram
Check the power supply is good and also make sure the battery is good.
I want source code.
Check the video description for source code
Sir how can I get a code
Hi, Please message me in instagram.
@@TechTrendsShameer ok sir
@@TechTrendsShameer id
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); }
4:39
the motor didn't off automatic ....you have used a switch to on off the motor...
Nahi
Can i get the code??
Check video description.
Bro Arduino uno program
Please check video description
can I have the code
Please check the video description.
Bro please share the code bro
Check video description
My project is not working
Any error ?
you could try using a different version of Arduino uno ide download. I used version 1.6.7 download.
Sir pls paste the code
please check video description.
Sir aap Hindi mein nahin bata sakte ho kya
hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiin
]
hi
Bro my relay is not getting power
It might be defective
Your circuita are good
But coding has some fault
May I know which line has fault?
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); }
send me the screenshot in instagram.
It is not working
What's the error