![]() ![]() It means the delay time is equal to 30 seconds plus time_delay, which is set on the sensor's setting (via Time Delay Adjuster). HC SR501 Adjust Infrared IR PIR Motion SensorHC SR501 Adjust Infrared IR PIR Motion Sensor Detector Module Security MotionDimension: 3.2cm x 2.4cm x 1. ![]() Here we will discuss the introduction of the HC-SR501 PIR Sensor module, sensor pin diagram/pinout, sensor hardware overview, How PIR Sensor Module Works, its Specifications, and applications. Suppose that the repeatable trigger mode is set. Hello friends Welcome back to ElectroDuino.This blog is base on HC-SR501 (Passive Infrared) PIR Sensor How (Passive Infrared) PIR Sensor Module Works. Then the Arduino can take care of timing. * * Created by * * This example code is in the public domain * * Tutorial page: */ const int PIN_TO_SENSOR = 2 // the pin that OUTPUT pin of sensor is connected to int pinStateCurrent = LOW // current state of pin int pinStatePrevious = LOW // previous state of pin void setup() Normally the first thing you do with HC-SR501 sensors is to turn the 'time' pot fully anticlockwise for the shortest 'on' time (3sec).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |