Adil Khan 10 months ago
AdiKhanOfficial #FYP Ideas

A Low Cost IoT based Home Security System using Computer Vision

Pandemics might have the potential to debilitate numerous societies, economies, and political systems of the countries. Subsequently, Pakistan has made several steps to overcome this pandemic by recognizing the hotspots and planned accordingly. Pandemics (COVI

Project Title

A Low Cost IoT based Home Security System using Computer Vision

Project Area of Specialization

Electrical/Electronic Engineering

Project Summary

Pandemics might have the potential to debilitate numerous societies, economies, and political systems of the countries. Subsequently, Pakistan has made several steps to overcome this pandemic by recognizing the hotspots and planned accordingly. Pandemics (COVID-19) are the foremost part of infection that gotten to be far-reaching as a result of the spread of human-to-human infection. However, the Government of Pakistan has announced that all people are required to wear a face mask in public spaces viable instantly in an exertion to control the spread of the coronavirus disease. The degree of this decision incorporates people going to or working in mosques, markets, shopping centers, on open transport, trains and commercial flights, and in other open regions. Pakistan is witnessing an increase within the positivity rate due to the Pandemic, inciting the government to raise an alert. In view of this fact, Pakistan limits gathering in the open spaces and even in the marriage halls due to the fears of a moment wave of the coronavirus widespread within the nation.

Since certain businesses started reviving and continuing operations, representatives working in production lines, shopping centers, and other retail stores, are now required to wear a face mask to dodge the spread of the coronavirus infection. This measure has presently been expanded to all open zones over Pakistan. Beyond its weakening effects, which have results straightforwardly, it has a range of negative social, financial, political, and security-risk out-turn. Analyzing the situation, one of the challenging tasks is to detect and recognize a person wearing a face mask, especially with Home/Hospitality-sector security. Therefore, a Low-cost IoT-based Home Security System using Computer Vision has been proposed. The proposed project focuses on both the residential and commercial buildings to provide a security system that tracks, detects, and recognizes a person and sends alerts to the control center using the Internet in case of any trespass. Besides that, the project also provides reliable detection and recognition of a person wearing a face mask by making use of the set of sensors and computer vision techniques. The leverage obtained by preferring this system is because the alerts and the status are preferably sent through the Wi-Fi connected microcontroller managed system, which can be received by the user or control room from any distance irrespective of the location. Furthermore, the system uses a camera to detect and recognize the person from the database. The overall functionality of the system is depicted in the following Figure.

A Low Cost IoT-Based Home Security System using Computer Vision

Project Objectives

The primary objective of the project is to design and develop "A low-cost IoT-based Home Security using Computer Vision". This project contains several sub-objectives. Each sub-objective include deliverables and assets with the motivation to have an impact on our society, especially in the current Pandemic situation like COVID-19. Additionally, the sub-objectives are attainable with time-bound against each milestone. The specific project sub-objectives are as follow:

  • Facial Detection and Recognition-based Door unlocking system (With and Without Face Mask)
  • Radio Frequency Identification (RFID)-based Door Access Control

  • Outerwall Security

  • Fire Alarm System

  • Power Monitoring

  • Room Lights Control using Bi-Directional Counter

  • Temperature and Humidity Control

Project Implementation Method

The proposed Low-cost IoT-based Home Security System has a complete framework, which is principally categorized into the software and hardware. The list of equipment used in its hardware framework contains several sensors and the microcontroller and along with this, the arrangement of detecting gadgets important to transfer data to fulfill the needs. In contrast to this, the software includes the mobile app to deliver the information received from the user and vice versa. Additionally, to process the sensed information from the deployed sensors at the Arduino (controller). There are several design challenges and considerations involved while developing a home security system, many of which are determined by the users' needs.

The implementation of the project is divided into two major portions.

  • Software Implementation: Software implementation refers to the process of adopting and integrating a software application into a project. Implementation of new tools and software into a project can be complex. Our project's major software implementation includes Face detection and Recognition systems and interfacing with Wi-Fi modules to use the IoT. It also includes the coding part of all the objectives we want to accomplish.
  • Hardware Implementation: The project is based on low-cost sensors and wireless network components that provide access to hardware through the Internet. The system uses NodeMCU which acts as a wireless module and a microcontroller (NodeMCU). It is powered by a 5V dc adapter for a continuous power supply. The NodeMCU Wi-Fi module is connected to the nearby router where it can send data in real-time to the Cloud. At the same time, the Wi-Fi module is connected to the Arduino to communicate with the camera for image processing; it helps to send the picture captured by a camera to the user using IoT. The Wi-Fi module is connected to Arduino with TX, RX pins. On the other end, we have also connected the GSM with our Arduino, if Wi-Fi is not available and the user could not able to use the IoT feature to send security alerts to the user using GSM about any failure or intrusion. To control the appliances, we are using the Relay Drivers. They are frequently used to interface an electronic circuit (working at low voltage) to an electrical circuit that works at extremely high voltage.

Benefits of the Project

Integrating a low-cost smart security system into a house is very beneficial in many ways like:

  • Helps to protect the family and belongings
  • We can access it virtually from anywhere
  • Saves money
  • Prevents theft and burglary
  • Provides control of all devices from one place.
  • Convenient and User friendly
  • Increases comfort level

Technical Details of Final Deliverable

In this system, the essential parts include Arduino, Wi-Fi module, Relay drivers, IoT-based application, 12v supply, servo, cameras, and GSM. The adapter steps down the voltage and is given to the Arduino with a Vin-pin. The Wi-Fi module is additionally associated with Arduino to RX and TX pins that give the data to the microcontroller. In Arduino, the transfer of the computation is according to necessity then it plays out some numerical activities to control the relays or any other specific circuit. Also, cameras are associated with the Arduino when an individual comes before the camera, where the ultrasonic sensor turns on the camera, detects the face, and matches or compares the image captured with the image saved in the database (PC). if the person is matched, the gate/door will be opened for that person. As we are concerned about home security, the overall monitoring of the outer wall using long-range lasers is used, just to be sure that if someone tries to jump over the wall. The user gets an alert message about it and he/she needs to take security measures accordingly. In this project, we are also controlling indoor rooms and electricity appliances using the phenomenon of a bi-directional counter. It basically counts the number of persons enter in the specific room and if there is a person in the room, it turns the lights on. Similarly, when a person leaves the room, all the electrical appliances will be turned off as per the defined status. Moreover, the fire alarm system is part of the framework. Basically, whenever, the project detects any flame or gas leakage, it sends an alert to the user about the situation. The temperature has also been controlled, automatically by using temperature and humidity sensors. If the temperature rises as per the defined threshold, the appliances will be turned on/off. As we are building a smart home security system using computer vision, power supply management plays an important role because, in any case, if the power supply (WAPDA) is down, the whole framework will be of no use. So, for that purpose, we are integrating a backup power source like backup battery banks or power generating through solar panels. The monitoring of the power consumption through an IoT application has also been integrated into the framework to see and overcome the issues if there is any power loss. Our major objective of the project is Facial detection and Recognition System with or without Face mask, its details are depicted through the following flowchart.

Final Deliverable of the Project

HW/SW integrated system

Core Industry

Security

Other Industries

IT , Energy , Telecommunication

Core Technology

Internet of Things (IoT)

Other Technologies

Artificial Intelligence(AI), Big Data

Sustainable Development Goals

Good Health and Well-Being for People, Industry, Innovation and Infrastructure, Sustainable Cities and Communities

Required Resources

Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Arduino Equipment512006000
Ultrasonic Sensor Equipment53001500
IR sensor Equipment6150900
NodeMCU Equipment47503000
Solenoid Lock Equipment88006400
Flame Sensor Equipment71501050
Smoke sensor Equipment83502800
RFID receiver with Tags Equipment95004500
Humidity and Temperature Sensor Equipment82502000
Servo Motors Equipment94504050
8 channel relay module 5V arduino Equipment86004800
Camera with flash Equipment420008000
GSM Module Equipment21100022000
Framework Miscellaneous 150005000
breadboards and Vero boards Equipment5150750
Capacitors and Resistors Equipment3010300
Soldering iron with wire Equipment110001000
Total in (Rs) 74050
If you need this project, please contact me on contact@adikhanofficial.com
0
106
Smart Glasses for Visually Impaired Persons

 According to statistical analysis study of WHO (World Health Organization), approxim...

1675638330.png
Adil Khan
10 months ago
Autonomous UAV based Surveillance and Security System

There has been a major increase in crimes in the residential areas. From the current pool...

1675638330.png
Adil Khan
10 months ago
Migration of Virtual Private Network (VPN) segment from traditional ne...

This project is the migration of virtual private network from traditional networking to so...

1675638330.png
Adil Khan
10 months ago
Auto plant irrigation

his Project is Arduino based project inthis project we identify the moisture of water in s...

1675638330.png
Adil Khan
10 months ago
Alphameter

Alphameter is a period the load up, following and declaring mechanical assembly that will...

1675638330.png
Adil Khan
10 months ago