No more propping your eyes open with matchsticks to try and catch Santa! This Scratch program uses a low-cost, infra-red detector to set off an alarm when Santa sneaks into your room. It's a great introduction to using simple sensors on the Raspberry Pi, and can be adapted to lots of different projects.
- A Raspberry Pi with an SD card loaded with Raspbian
- A passive infra-red detector (try eBay)
- Three female-to-female header leads
- Scratch GPIO 5
- Connect the sensor
- Test the sensor in Scratch
- Draw a sprite and add sound
- Program what happens when the detector spots movement
- Set up the detector in your room!
Unless otherwise specified, everything in this repository is covered by the following licence:
Santa Detector by the Raspberry Pi Foundation is licensed under a Creative Commons Attribution 4.0 International Licence.
Based on a work at https://github.com/raspberrypilearning/santa-detector