Overview

In this lesson, you will learn how to use the digital inputs on the GPIO connector with a door sensor and a PIR motion detector.

In this lesson, we will concentrate on sensing movement and activation of the door switch. In Lesson 13 we will build on this security sensing to have the Pi use a digital output to control the power to an electrical appliance when movement is detected.

This guide was first published on Feb 13, 2013. It was last updated on Oct 19, 2018. This page (Overview) was last updated on May 04, 2015.