Arduino PIR

From James's Wiki
Revision as of 18:41, 7 October 2018 by Ractive (talk | contribs) (Created page with "How It Works First let’s explain the working principle. The module actually consists of a Pyroelectric sensor which generates energy when exposed to heat. File:PIR-Motio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How It Works

First let’s explain the working principle. The module actually consists of a Pyroelectric sensor which generates energy when exposed to heat.

File:PIR-Motion-Sensor-HC-SR501-Module.jpg

That means when a human or animal body will get in the range of the sensor it will detect a movement because the human or animal body emits heat energy in a form of infrared radiation. That’s where the name of the sensor comes from, a Passive Infra-Red sensor. And the term “passive” means that sensor is not using any energy for detecting purposes, it just works by detecting the energy given off by the other objects.

File:PIR-Sensor04.png

The module also consists a specially designed cover named Fresnel lens, which focuses the infrared signals onto the pyroelectric sensor.

File:PIR-Motion-Sensor-How-It-Works.png

The HC-SR501 PIR Sensor Module

The module has just three pins, a Ground and a VCC for powering the module and an output pin which gives high logic level if an object is detected. Also it has two potentiometers. One for adjusting the sensitivity of the sensor and the other for adjusting the time the output signal stays high when object is detected. This time can be adjusted from 0.3 seconds up to 5 minutes.

File:PIR-Sensor-Pinout.jpg