The architecture of the security system
In the following section, we will explain how the security system works and how it will be operated. The hardware connections of the system are as follows:
- The button (works as the doorbell of the system)
- A relay module that controls the lock or unlocks the door
- Connects the web camera that will detect the person that wants to enter the house
- Speakers that will notify the messages about the system
- When the button is pressed, it will request the image taken by the camera
- The Raspberry Pi 3 is connected to the internet by Ethernet interface
The following diagram shows the elements of the system:

Materials required
These are materials that are required for this project:
- Raspberry Pi 3
- Perma-Proto breadboard half-size
- Leviton 12-Volt DC electric door strike
- SainSmart 2-channel 5V relay module
- Adafruit female DC power adapter
- Adafruit 12V—5A switching power supply
- Microsoft lifecam 3000 (recommended)
- Male-female jumper wires
- Female-female jumper wires
- Generic keyboard
- Generic...