Це відео не доступне.
Перепрошуємо.
Automated Watering System for Plants | Arduino DIY Projects | Step by Step Guide
Вставка
- Опубліковано 23 вер 2021
- MATERIALS:
(1) Arduino Uno Board
(2) 5v Relay Single Channel
(3) Soil Moisture Sensor Module
(4) 5v Water Pump
(5) Mobile Charger (5v)
(6) Jumper Wires Connector
(7) Plastic Tube
------------------
Honey Bee by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommon...
Source: incompetech.com...
Artist: incompetech.com/
int relayPin = 4;
int sensor_pin = A0;
int 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);
}
The only video i have seen that works
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);
}
Brother you have sacrificed your time for us
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
@AtherKhan-cv5wi
Why you write code ? What do you mean by Footer?
We love u
Thanks a lot
hi if i may ask, where do you find the source code that you just copy and pasted
Hi sir,where do I get the source code?
Hello can I get a copy of the code
that sensor will break in few weeks in soil, its for pure water.
hi sir where did yo get the code
THANK YOU
Could you send me a link to the water pump you used?
Sir, Thank you so much for the detail of this project.
Hello sir can i get the code you use, thank you
I love you
Hello sir, can i ask if I can change the 5v water pump with 12v? Is it safe ?
Yes this safe....
For that you have to use a 12V relay
Have you done this? Isn't this effective?
How about the voltage of the charger ? Water pump with 12v?
hello sir, i can't find the program
Can i get code
Sir can u send me code for arduino
send me code
Sir source code
cringey video bro, it's not bad but I don't see the reason to use a mobile charger here...
Actually i have the same question HAHAHAH
U are fools u are illetrate thats why you cant under stand its your first project.when you will become a pro than you will say that he was right.
Do you think the project will get power from tour bathroom
Did he ask for your opinion tho?
@@hanoofdaif5213 what do u think the comment section is for? To praise the video?
to say something useful or stay silent, but for real where did he use the charger? is it just a power source that can be replaced by connecting the Arduino to the laptop?