An infrared (IR) sensor is an electronic device that measures and detects infrared radiation in its surrounding environment.
When an object comes close to the sensor, the infrared light from the LED reflects off of the object and is detected by the receiver
Commonly used to control lighting and extract ventilation
Power-saving by ensuring lights are not left on
They will save energy by ensuring lights not to be left on
The PIR acts as a digital output so all you need to do is listen for the pin to flip high (detected) or low (not detected). Its likely that you’ll want reriggering, so be sure to put the jumper in the H position!
Power the PIR with 5V and connect ground to ground.
Then connect the output to a digital pin.
Mention 800buildingmaterials when calling supplier to get a BEST DEALS