Home Security Projects for Arduino. Learn how to attach PIR motion sensors & Magnetic Door sensors to your PC using an Arduino board. Learn how to make two Arduinos communicate wirelessly using NRF24L01+ radio modules. Make wireless sensors for PIR, Magnetic Door & Light sensors. Attach your 2nd Arduino to a Raspberry Pi and take a photo on your Pi & email it to your phone, when the remote wireless Arduino sensor is triggered.
Table of Contents
Introduction
Connecting a PIR module to the Arduino
Setup the Arduino software
Setup Python on your PC
Python on Windows PCs
Setting up a spare Gmail account
Python script with email function
How to grab an image from a webcam in Python
Capture a photo & email it as an attachment
Connect a magnetic door sensor to the Arduino
Setup the Arduino software for door sensor
Setup Python with door sensor on your PC
Python door sensor example on Windows PCs
Python door alarm script with email function
How to grab an image from a webcam in Python
Capture a photo & email it as an attachment
Part 2 – Going Wireless
How to connect the NRF24L01+ to Arduino
Cabling diagram for Arduino Uno R3 wireless PIR
Cabling diagram for an Arduino Nano wireless PIR
Installing ManiacBug’s RF24 library for Arduino
Upload PIR transmitter code to the Arduino
Upload receiver code to a 2nd Arduino
Setting up a spare Gmail account
Python script with email function to run on your PC
Arduino Uno R3 wireless magnetic door sensor
Arduino Nano with wireless magnetic door sensor
Upload transmitter code to the Arduino for magdoor
Python code for wireless magnetic door sensor
Python code for wireless PIR & door sensor to email
Connect a LDR light sensor to the Arduino
Arduino analog input pins
Make a wireless Arduino LDR light sensor
Sketch code for wireless Arduino LDR light sensor
Python code for wireless Arduino LDR light sensor
Make a standalone battery powered beeping receiver
Arduino & NRF24L01 receiver portable beeper Sketch
Setting up Arduino IDE software on a Raspberry Pi
Using the Python scripts on a Raspberry Pi
Python script to capture from Pi Camera module
Something Else