SparkFun Spooky Sketches - PIR Motion Sensor
4,546 views · Published 7 October 2015 · 0:31 · Indexed 21 September 2026
Channel: SparkFun Electronics · 2015 · Science & Technology
PIR motion sensor: https://www.sparkfun.com/products/13285 RedBoard: https://www.sparkfun.com/products/12757 Big Orange LED: https://www.sparkfun.com/products/12645 Code: https://github.com/sparkfun/Spooky_Sketches/blob/master/SparkFunSpookySketchLights/SparkFunSpookySketchLights.ino This is a simple to use motion sensor. Power it up and wait 1-2 seconds for the sensor to get a snapshot of the still room. If anything moves after that period, the ‘alarm’ pin will go low.