

Today we're going to be setting up our motion sensor then testing it by moving our bodies.

These sensors are commonly used in home alarm systems - if your home has an alarm, have a look in the corners of the ceilings and you may see something similar. PIR sensors detect movement via the heat energy (Infra-Red radiation) given off by humans or animals. The sensor in your kit is a PIR sensor, which stands for Passive Infra- Red. We can code this in a similar way to the buttons from day #3 as a trigger for our program. This is a digital sensor, giving us a HIGH signal if movement is detected. Today we're going to be using a sensor that detects motion, allowing our Pico to react to things like people and animals when they are near our project. Welcome to day seven of your 12 Projects of Codemas Advent Calendar.
