10Intruder Alarm with Email Notifications

In this project, you’ll create an intruder alarm that sends you email notifications. The alarm will detect whether someone has trespassed onto forbidden territory using a passive infrared (PIR) motion sensor. When the PIR motion sensor detects movement, it will send a warning email.

image

PARTS REQUIRED

Raspberry Pi

Breadboard

PIR mot ion sensor HC-SR501

Two 5 mm LEDs (different colors)

Two 330 Ω resistors

Pushbutton

Jumper wires

INTRODUCING THE PIR MOTION SENSOR

You’ve probably seen motion sensors in a wide variety of applications. They’re used in security lights, in commercial building lights that turn on ...

Get 20 Easy Raspberry Pi Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.