Passive Infra-Red (PIR) sensor is a motion detector sensor by measuring changes in the infrared levels emitted by surrounding objects. It gives HIGH signal at the I/O pin when motion is detected. Usually used as a security device in a monitored area (such as a room or hall) to detect the appearance of human being.