Playing with Raspberry Pi: Door Sensor Fun @Raspberry_Pi #PiDay #RaspberryPi

Unknown Reply 3:09 AM

Cool project and write-up, by Simon Prickett via Medium.

I recently noticed that Adafruit sells low cost ($3.95) wired door sensors that basically act as a switch — if the magnet from one part of the sensor is placed in close proximity to the other part, the switch circuit closes. As the magnet in the part that you’d normally attach to a door moves away (because the door swings open), the switch circuit opens. If you’ve read my previous Raspberry Pi posts, you’ll know I have a few sets of traffic light LEDs, so I thought I’d see if I could do something with these and a door sensor…

Read more


3055 06Each 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!

Post a Comment

Search

Follow us

Popular Reviews