Популярное

Automatic Plant Watering System Using Arduino Uno || YL 69 Soil Hygrometer & 5v 1 Channel Relay

90 Просмотры
Размещено
YL-69 Soil Hygrometer Humidity Detection Module Soil MoistureWater Sensor For Arduino.

1 This is a summary of the moisture sensor. It can be used for testing soil moisture, when the soil lack of water, the module outputs a high voltage, while output a low voltage. Using this sensor need to make an automatic flower watering device, let your plants do not need to manage in the garden

2 This is an adjustable sensitivity (shown in blue digital potentiometer adjustment)

3 Working voltage is 3.3V-5V

4 Module is a dual output mode, the digital output is simple, analog output is more accurate

CODE:
https://drive.google.com/file/d/16f8HBkzIIxM4Q_3VyhTJ1tMXDCoasSgP/view?usp=sharing

int digitalSensor = 2; //A0 pin
int pumpPin = 8; //relay pin

void setup() {
pinMode(digitalSensor, INPUT);
pinMode(pumpPin, OUTPUT);
}

void loop() {
if(digitalRead(digitalSensor) == HIGH){
digitalWrite(pumpPin, HIGH);
delay(1500); // Pump runnig time (1.5 second)
digitalWrite(pumpPin, LOW);
}
delay(3600000); // 1hour (pump stop time)
}

=== = = = = = = = == = = = == = = = == = =

Arduino Software Download + Install + Driver install
https://www.youtube.com/watch?v=bplfd-ZXhDE

LIKE | COMMENT | SHARE | SUBSCRIBE
=== = = = = = = = == = = = == = = = == = =
== = = = = == = = = = = = = == = = = = = ==
★★ Please like and subscribe ★★
https://www.youtube.com/channel/UCNqYc-ojesF6AbXwiWdZbeg?sub_confirmation=1


=== = = = = = = = == = = = == = = = == = =

How to extend wifi range with another router wirelessly
https://www.youtube.com/watch?v=_EpCRg5ggEs


Hack ip camera easy way
https://www.youtube.com/watch?v=u0ILfIY5Bqk


How to extend wifi range with another router
https://www.youtube.com/watch?v=wkyKX2ifPFo


★★=== = = = = = = = ==★★

Contact us for any enquiries :
EmailForViewers@gmail.com
www.facebook.com/rubel1628

★★=== = = = = = = = ==★★

#Automatic
#YL69
#Hygrometer
=== = = = = = = = == = = = == = = = == = =
Категория
Ардуино
Комментариев нет.