Make an infra-red santa detector with Raspberry Pi. via raspberrypi.org
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!
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — How Intel Makes a Chip
Wearables — FOSSHAPE familiarity
Electronics — Stay disciplined with ERC
Biohacking — Itch Tracker for Apple Watch
No comments yet.
Sorry, the comment form is closed at this time.