Main Content

Spi-Box: A Motion Activated Security Camera

Spi-Box is a Raspberry Pi-based, motion-activated camera designed to use as a DIY kit for beginners and security purposes.

Spi-Box is a Raspberry Pi based motion activated camera designed to use as a DIY kit for beginners and security purposes. Spi-Box can send an e-mail notification with an attachment of the captured image or video.

Here are the things you will need to set up a Spi-Box:
- Raspberry Pi model 2 / 3 / 3B+ models
- Spi-Box Case
- Raspberry Pi Camera
- PIR Sensor
- Jumper Wires F-F

Keep caution while assembling Spi-Box, better turn off the power supply if you are using as a beginner.

Spi-Box Hardware Configuration
Please be aware that the bottom half of the case of the Spi-Box is shallower than other SB Components’ cases making the mounting process slightly different:

- Line up the HDMI side of the pi with the lower half of the case and ease it into place at a slight angle pressing down gently but firmly until the mounting posts (highlighted in red)click into place in the Pi’s screw mounting holes.

- Press the other side of the board down into place gently but firmly until the mounting posts on the GPIO side of the board click into place in the board’s screw-mounting holes.

Mounting Camera and PIR

Attach the camera module to the top half of the case using the screws provided to secure it into place. Note: The camera module ribbon cable should point toward the USB holes in the case.

- Attach the PIR module to the top half of the case using the screws provided to secure it into place. NOTE: The pins should be closest to the camera with the orange trimming controls aligned with the two holes in the side of the case.

- Connect the camera module ribbon to the Pi. For detailed information visit Raspberry Pi official documentation:

https://www.raspberrypi.org/documentation/usage/camera/README.md

- Connect the PIR to the Raspberry Pi using the following pin configuration:

PIR OUT —> Raspberry Pi GPIO4(PIN 7)
PIR VCC —> Raspberry Pi PIN 2(5V)
PIR GND —> Raspberry Pi PIN 6(Ground)
- Snap the two case sections together.”

Link to article