Pir Sensor & Camera Room Security Email Alerts

Made by Will Phillips

About the project

Using a PIR sensor with a camera for the raspberry pi, you can create a room security system. The PIR sensor can detect motion and will then activate the camera to take a snapchat photo. The python code will then email the snapshot as an attachment to your own email address.

Project info

Difficulty:

Platforms:

Estimated time:

1 hour

Published:

19th May 2018

Items used in this project


Hardware components

Raspberry Pi 3 x 1
Webcam - USB USB x 1
Picamera x 1
PIR (Motion) Sensor x 1
Raspberry pi cover x 1
Jumper Wire - 0.1\", 2-pin, 12\" 0.1\", 2-pin, 12\" x 3

Software app and online services

Raspbian OS

Story


Using a PIR motion sensor with a usb webcam or a picamera for the raspberry pi, you too can turn your raspberry pi device in a home security system which will send email alerts when someone enters your room.

The PIR sensor will detect motion, example someone enters or walks up to your desk. This is then activate the webcam or picamera and take a snapshot of who entered.

The image will then be sent as an attachment to your own email address.

So image your out and your annoying younger brother or sister tries to steal something from for room This device will then modify with a snapshot and time-stamp which can be received on your phone, proving they entered and the times when they did.

Schematics


PIR sensor diagram

Code


The Python Code needed for this project

Just change your own email address and password.

Leave your feedback...