Quick, cheap and dirty Pi motion detection
There a number of ways to detect motion using a Pi:
- A webcam with motion-detection software.
- Ultra-sonic sensor.
- Passive Infrared detector. (PIR)
There are many easy tutorials on using PIR detectors with the Pi, like this one, but what do you do when you want it now, there are no local parts places, and ordering can balloon with shipping/tax and involves waiting?
Reduction to a problem already solved
Enter the discount stores: Dollarama, Dollar Store, Poundland, etc. These stores are great low-priced graveyards of small electronics, that can be re-purposed to other projects. I've picked all kinds of stuff in these places: webcams, Bluetooth camera shutter buttons, USB battery packs, etc, for pocket change. (See bigclivedotcom's YouTube channel. If you're curious about something, check his channel, because he's probably already taken one apart.)
The circuit (more or less)
The heart of the circuit is the BISS0001 IC chip, which seems to be a standard for PIR modules. In this video, Big Clive (dot Com) looks at a typical circuit and how to tweak it. Odds are, whatever unit you buy, it will have that chip. {{#evp:youtube|2dxhbXHYEG0}}