PIR

Passive Infrared Motion Sensor is a module which detects human heat radiation in a particular IR range.

Power
The power requirement of this module is DC 5/3.3 V.

Interface
Interface of this module is a single bit TTL/CMOS compatible logic (Trigger).

Signal (output) voltage depends on module power input.

A bit of high level signal will be send if the PIR sensor detects human motion in front of the lens (0-6m of front sector).

AVR GCC Code
The signal can be monitored by MCU interrupt call or loop scanning.

Following shows the loop scanning method.