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:

Get Raspberry Pi 3 Home Automation Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.