How to interface a PIR motion sensor with the Raspberry Pi 

Raspberry Pi try reading the output from the PIR motion sensor. The sensor outputs a digital HIGH (5V) signal when it detects a person.