Soil Moisture Sensor || Arduino Uno || Water Pump
Video Link :- https://youtu.be/l8q2tdIxqq0
👉 Subscribe Our YouTube Channel For Latest Project Videos.
Program Code :-
//www.youtube.com/c/TechnicalScientistRM
//Soil Moisture Relay Sensor
int Relay = 13; //relay module connected to arduino pin 13
int sensor = 8; //soil sensor connected to arduino pin 8
int val;
void setup() {
pinMode(13,OUTPUT); //Set pin 13 as OUTPUT pin, to send signal to relay
pinMode(8,INPUT); //Set pin 8 as input pin, to receive data from Soil moisture sensor.
}
void loop() {
val = digitalRead(8);
if(val == LOW)
{
digitalWrite(13,HIGH); //if soil moisture sensor provides LOW value send LOW value to relay
}
else
{
digitalWrite(13,LOW); //if soil moisture sensor provides HIGH value send HIGH value to relay
}
delay(400);
}


i want circute diagram
ReplyDeleteMe too
DeleteAppreciate you sharing, great article post.Really looking forward to read more. Cool.
ReplyDeleteJava online online training
Machine learning online online training
Magento online online training
Nice article, Which you have shared about the Moisture Absorber. Your article is very informative and useful to know more about the Moisture Absorber. Thanks for sharing this article here. Moisture Absorber for Bathroom
ReplyDeleteGreat job for publishing such a nice article about Moisture Absorber Pouch. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us. Moisture Absorber
ReplyDeleteNice stuff, it was nice to see this article about Moisture absorber. It was really appreciable. Thank you so much for sharing such an informative article about - moisture absorber manufacturers
ReplyDeleteYou have shared a nice article here about desiccant Pouch. Your article is very informative and nicely describes desiccant bag. I am thankful to you for sharing this article here.
ReplyDelete