How To Use PIR Motion Sensor With Arduino + Upload Programme Code in Arduino Onu
Yellow Purple
When a warm body like a human or animal passes by, it first intercepts one half of the PIR sensor, which causes a positive differential change between the two halves. When the warm body leaves the sensing area, the reverse happens, whereby the sensor generates a negative differential change. These change pulses are what is detected.
int pir = 7; int buz =8; int state;
void setup() { pinMode (pir, INPUT); pinMode (buz, OUTPUT); }
void loop() { state = digitalRead (pir); digitalWrite (buz, state);
}
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
★★=== = = = = = = = ==★★
#yellowpurple #PIR #Sensor === = = = = = = = == = = = == = = = == = = ... https://www.youtube.com/watch?v=7BsumcTR9wU
161686041 Bytes