A passive infrared (PIR) sensor uses infrared light to detect movement in a room and are one of the most commonly used devices for human presence detection. These sensors look for a change in the amount of reflected infrared light and then send a binary signal to your microcontroller to indicate that the sensor detected movement. It can take these sensors a few seconds to reset before motion can be detected again, but they do work rather well.

PIR (motion) sensor with a cable around it.
PIR sensors are used to detect motion from pets/humanoids from about 20 feet away (possibly works on zombies, not guaranteed). This one has an adjustable delay before firing (approx...
In Stock

The signal wire from the PIR sensor will be connected to Signal 3 on the Crickit and the Ground wire will need to be connected to GND 3.

This sensor requires 5V of power to operate, so we will want to connect the 5V pin on the sensor to the 5V terminal of the Drive section on the Crickit.

I like to mount this sensor so that it is facing into the Mini Smart Home and pointed slightly down. This will limit the likelihood that the sensor will trigger when things are moving outside the house.

This guide was first published on Oct 02, 2019. It was last updated on Oct 02, 2019.

This page (Motion Sensor) was last updated on Jul 02, 2019.

Text editor powered by tinymce.