Main Content

Secure Door Access Control and Email Alert System

The Secure Door Access Control and Email Alert System that aims to enhance the security of buildings or rooms by restricting access.

The system is about card access and mail alert and receive captured image of visitor at door as Email alert. Secure door access control and email alert system is used wide range in many companies and many college now a days. The design and development of secure door access system, based on the RFID card and the person detection, to check the visitor identity and to control Door accessibility has been reported in this paper. This paper describes about the implementation and development of RFID card accessibility in to the office environment for authentication people only who have the matched RFID card. A RFID reader and Camera module are used to identify the person and capture images respectively are dedicatedly make the security system alive as per the request. The proposed model uses controller interface system with Raspberry Pi which is used to operate the whole model it just act like a min CPU and also it is low cost and consume smaller amount of power. When visitor placed the RFID card at door, Camera module interfaced to Raspberry Pi capture images, and send it as Email alert as like the person entry is accepted or the person entry is denied.

PROPOSED SYSTEM
The proposed system is a smart door system that uses the Raspberry Pi 4 Model B microcomputer and several components including the PiCamera, RC522, and RFID tags. The system is designed to provide secure access to specific users while denying entry to unauthorized users. The RC522 module reads the RFID tags and compares them to a pre-defined list of valid tags. If the tag is valid, the system unlocks the door, and if the tag is invalid, the system denies entry. Additionally, when an authorized user presents their RFID tag, the system clicks an image of the user using the PiCamera, and the image is sent to the owner of the system for verification. The system is capable of storing multiple RFID tags, making it ideal for shared access applications such as offices, homes, and apartments. The system can be remotely accessed and managed using a mobile phone or laptop, allowing the owner to monitor and manage access to the door from anywhere in the world. The system provides a secure and convenient access control solution that is easy to install and operate. It ensures that only authorized individuals have access to the protected area and provides an added layer of security by capturing the image of the user for verification purposes.

Hardware Description
The hardware components used in this project include a Raspberry Pi 4 Model B single-board computer, a Pi Camera, an RC522 reader, RFID tags, and a servo motor.

The Raspberry Pi 4 Model B is a powerful single-board computer that features a Broadcom BCM2711 quad-core Cortex-A72 (ARM v8) 64-bit SoC running at 1.5GHz, 4GB of LPDDR4-3200 SDRAM, dual-band 802.11ac wireless, Bluetooth 5.0, Gigabit Ethernet, and two USB 3.0 ports. It also includes two micro-HDMI ports that support up to 4Kp60 resolution, as well as a 40-pin GPIO header for interfacing with external devices.

The Pi Camera is a high-quality camera module designed specifically for use with the Raspberry Pi. It features a Sony IMX219 8-megapixel sensor with a fixed-focus lens, and can capture 1080p video at 30 frames per second or 720p video at 60 frames per second.

The RC522 reader is an RFID reader/writer module that can operate at 13.56MHz frequency. It communicates with the Raspberry Pi through SPI interface and can read data from and write data to RFID tags.

The RFID tags are small electronic devices that store and transmit data using radio waves. They are used to identify and track objects or people in various applications, such as access control, inventory management, and payment systems.

The servo motor is a small motor that is controlled by sending electrical pulses to its control wire. It can rotate between 0 and 180 degrees and is often used in robotics and automation projects.

All of these hardware components are connected to the Raspberry Pi via its GPIO header. The Pi Camera is connected to the CSI interface, the RC522 reader is connected to the SPI interface, and the servo motor is connected to one of the GPIO pins. The RFID tags are placed within range of the RC522 reader to allow for data transfer.

Software Description
This program has been developed using Python programming language and runs on a Raspberry Pi 4 Model B microcomputer. It has capability to run on various operating systems accepted by raspberry pi of any model. The software uses several libraries, including RPi.GPIO, time, SimpleMFRC522, smtplib, picamera, os, email.mime.image, and email.mime.multipart. The RPi.GPIO library is used for setting up and controlling the General-Purpose Input Output (GPIO) pins on the Raspberry Pi. The SimpleMFRC522 library is used for reading data from the RFID reader. The smtplib library is used for sending emails, while the picamera library is used for taking pictures. The email.mime.image and email.mime.multipart libraries are used for attaching the picture to the email message. The picamera module is installed into raspberry pi, which is used for taking live pictures and videos. The MFR522 module is used to establish SPI communication with the RC522 reader. For controlling servo motor, we just need to enable PWM pin and set a duty cycle for rotation. Smtp library is used for connecting our program with email server and MIMEimage and MIMEmultiport is used to set images as main content and send that content as a mail.”

Link to article