In this lesson I will show how to use PIR sensor with the Raspberry Pi. I show step-by-step how to connect the sensor and then how to code it. This sensor allows security devices, by detecting motion of warm objects (people). This will be an important component in future lessons.