GSM Based Home Security Alert Alarm System Using Ardino
GSM Based Home Security Alert Alarm System Using Ardino
ISSN No:-2456-2165
Abstract:- With break-ins and shady stuff happening industrial, commercial, and residential applications due to its
more than ever these days, it’s totally understandable to affordable and small hardware.
want our homes to be as safe as possible. And so, the cool
article I chanced upon was about a home security system These systems have demonstrated efficacy in real-world
that was like having a watchdog, only much smarter and situations and have been dependable in both academic
less furry. And it has something called Arduino. research and real-world applications. According to research,
Essentially, the brain of this operation, that’s friends with they are a good substitute for conventional security systems
a GSM gizmo so that if something fishy is going on, you’d because of their low cost, ease of use, and effectiveness. A
get a text or a call. Now, the thing’s even got a PIR motion mechanical layer of protection is added by integrating the
sensor, like those laser sensor, in a heist movie, but less servo motor, guaranteeing both electronic monitoring and
Dramatic and more reliable. He catches sight of any physical access control.
unwanted guests and advises you right away. it’s kind of
like having a little security guard in a box. Easy setup and II. LITERATURE REVIEW
doesn’t break the bank-all thanks to this SIM800A
thingamajig. Plus, does not mess with the other home Again, every now and again, security issues arise in our
techy gadgets. Well, if one is fussy about ensuring his place lives, particularly while we are outside. People have been
is safe, this might just be the ticket. creating some really cool technological devices in their labs
to keep us safe and sound, as we will see in the case of Baballe
Keywords:- Home Safety or Security using GSM, Keypad, et al.[1] and his colleagues creating this Internet of Things
Ardunio and Servo . security alarm that uses a tiny microcontroller called Arduino
and a sensor that can detect movement. If a burglar tries to
I. INTRODUCTION enter discreetly, it will display a show and even send you an
SMS about the breach. Next is Albak et al[3]. and his team,
An Arduino microcontroller, GSM module, keypad, and who developed a gadget that shows you what's going on in
servo motor are used in the home security alarm system, your house using your phone's infrared sensor. It's comparable
which offers a clever and safe method of protecting property. to having a private A smart home warning buddy that can
The main functions of this system are to allow or prohibit notify you of irregularities like a fire, gas leak, or burglary was
access to those who are permitted and to notify the then created by Sarhan et al. and his colleagues, who took it a
homeowner or security staff of any efforts at unauthorized step further. Because it will send you a message and give you
entrance.A keypad for entering passwords is the first step in with updates, you can relax knowing that your location is
the setup process. A servo motor that regulates a door's protected. Naturally, RRakib et al[4]. and their team are
locking mechanism is operated by users entering a responsible for somehow enabling you to control your entire
predetermined password. The servo motor opens the door and home from your phone, even while you're not there. You can
allows entry if the right password is input. On the other hand, check to see if the lights are on or if the door of your
if the homeowner enters an erroneous password, the GSM refrigerator is left open thanks to some GSM magic. Nwe et
module notifies them of the possible security breach by al.[5] and his team also had the wonderful idea to mix
sending an alarm SMS or calling a pre-specified cell number. Bluetooth and home automation to create a very safe home. It
Even in isolated locations without internet access, real-time appears that your house has a VIP access system. Oyekola et
communication is guaranteed by the GSM module. It is set up al[10]. and their colleagues built a home security system that
to respond quickly to emergency notifications and, if was entirely wire-free. They used amazing gadgets like GSM
necessary, notify several contacts. The Arduino technology, PIR sensors, and ultrasonic sensors to keep things
microcontroller functions as the main component, handling safe. Additionally, Abdullah et al[11]. and his group discussed
keypad input, servo motor control, and GSM module the significance of home security systems in our communities
connectivity. The system is appropriate for small-scale to ensure everyone's safety and stability without revealing all
of our secrets to the outside world. According to Elimarteena communication through a client's mobile phone in the event
et al[12]. and their associates, there has never been a bigger of a home security breach. In the event of a security breach,
need for home security systems. Others, including Shankar et the ringer is removed via a two-way link once it has completed
al. and his team, used a system that snaps photos whenever its operation. included in the design configuration that can
someone tries to steal your stuff. They assembled a camera, only be enlarged to add more sensors for the main structure.
sensor, and Arduino to detect if someone is moving around The Arduino Uno is an open-source microcontroller platform.
when they shouldn't. If something seems wrong, it will SMS The initial part of our setup is the Arduino. In order to call the
you or even call your phone. Lastly, Gupta et al[14]. and his previously configured smartphone or mobile phone, Arduino
group develop a home security system that incorporates a then connects to the GSM module and creates a serial transfer
number of little assistants. Regardless of the location, this connection with the GSM module. The string of integer values
employs sensors to detect whether there is a fire, gas leak, or that the code has set can be compared to the values that are
break-in before sounding an alert. It is powered by an Arduino input on a keypad. The keypad will send a signal and the
Uno, a gadget that doubles as a tiny computer for your house, message "Door Unlocked\" to the serial line. If the codes are
and features a small screen to show what's happening. Every accepted, the Arduino will let the servo motor know. The
day, homes are getting smarter and more safe, so I say thanks motor then turns 90 degrees to open the lock, allowing the
to these tech-savvy geniuses. door to be unlocked. Avoiding low output signals that are
separated by less time than a predetermined interval is how
III. PROPOSED SYSTEMS our Arduino unit is controlled. The implementation of a door
lock system that moves and makes simple security calls
Just as we care about our health and the things we use completed this project.
every day, we also worry about security. Security is a major
concern in our day-to-day existence. In our highly modern IV. HARDWARE
society, technology has given us access to a wide range of
tools for everyday use. In light of this, we have developed a A. Controller Unit
security module system that can reduce the worldwide The Arduino board functions as the system's main
misconduct ratio, particularly with regard to domestic theft control module. It manages outputs like the servo motor and
crimes. To live a modern life, we have to leave the house GSM module and processes inputs from parts like the keypad
every day for a number of reasons. The main function of the and PIR sensors. It is perfect for embedded systems because
device we designed is to provide security while the user leaves of its simplicity, programmability, and open-source nature.
the house. The system includes a keypad to receive Digital pins for sensor interfacing and serial communication
passwords, a GSM module to communicate with GSM are provided by an Arduino Uno or comparable board for this
phones, and other components. Keypads are employed for project, guaranteeing effective completion of duties like
user authentication and control. Usually, it is made of of To message transmission and password verification. It is
create a matrix, the buttons are arranged in rows and columns. dependable and reasonably priced due to its usage of the
The user must enter a security code in order to arm or disarm ATmega328P microcontroller, which allows for real-time
the system. The Arduino Uno will then communicate with the execution and minimal power consumption.
keypad to verify that the user's input is accurate and to send
the appropriate signals based on the code entered.A servo
motor powers a mechanical locking device, like a door lock
or latch. It provides an extra degree of security since it
enhances point accesses after the system is armed. The
Arduino Uno determines the servo's rotational angle to lock
or release the specified point of entry based on user commands
or pre-established security measures. Our main facility has the
speed, accuracy, and affordability to send to any point inside
the GSM network. This will be very helpful when using
security frameworks or systems with the help of SMS service
on the mobile phone, which is the newest and most practical
technology available today. The news is controlled by a
security framework and sent in SMS format to the client's
mobile device. As a result, an integrated security system is
designed to regulate information without requiring a personal
computer, making it simpler to quickly and economically
manage the state of the house. A connection was established
using the C programming language to develop a security
system that functions automatically and allows two-way Fig 1: Arduino
Fig 4: Keypad
System Design
V. SOFTWARE
VI. WORKING
Part I:
The first portion is where all of the keypad, servo motor,
and Arduino connections are made. It inputs the information
using a keypad and compares it to an existing password. The
GSM module is activated. This project, computer hardware,
and user community that develops and maps microcontroller Fig 7: Flowchart of Accepting Input
Part II rotate the servo motor to the unlock position. In case the
In a home security alert alarm system using Arduino, the passcode does not match correctly for more than a few times,
major components that involve interaction and access control the mechanism associated with the alert such as a buzzer or
of users are the 4*4 keypad and the servo motor .A keypad call generation module gets activated. To produce a call if
has 8 pins four rows and four columns. All of them are more than one time wrong password is entered that ca
connected to digital pins on the Arduino. For example, achieved by GSM module , such as SIM800L or SIM900A
Arduino from pin 2 up to pin 9. The Arduino can use keypad.h and connected to Arduino . Using a Tx of the GSM module
to determine what key is being pressed through the connected to RX pin of Arduino pin 11, the RX pin connected
intersection of a row and column. The servo motor has its to TX pin of Arduino , which is on pin 12 , and the module’s
signal connected to one of the PWM pins on the Arduino power pins to the 5V and GND pins of the Arduino.
while the power goes to the 5V pin and the ground to the GND To talk to the GSM module in Arduino, the SoftwareSerial.h
pin. Servo,h sets angle of motor Now one is able to move the library is used in order to send AT commands to dial a
door to the lock position ,say at 0o or unlock at say 900. predefined number. This shall also guarantee a mechanism
Once the passcode has been entered via the user key, Arduino of realtime alerts in conjunction with features within the
compares it with a pre-coded number in its security system.
memory. In case of a match, Arduino activates a signal to
Step 10: The procedures from Steps 3 through 9 will be Figure 7: The overall framework's stream graph, which
applied. also demonstrates how to turn on or off by sending an SMS
from the client's mobile device. The input obtained through
the keypad will be filtered by the home security system when
it is turned on. If deterrents are identified, the framework can
activate ringer alerts and send an SMS or call to the client's
cell phone. Due to our lack and necessity, home security
features have shown to be highly desirable in the future.
People are becoming increasingly concerned about protecting
their homes from unauthorized people. With the use of sensors
that may be synchronized with a GSM modem and a
microcontroller such as an Arduino, our system is able to
screen a residence. When there is a potential disruption,
clients might receive an SMS alarm message on their cell
phones. Since almost everyone carries a mobile phone these
days, the most significant benefit of our work is that clients
won't need to carry an additional gadget to monitor their
homes thanks to this platform. The effectiveness of this
Fig 9: System Architecture framework can be increased by adding more sensors without
altering the structure as a whole. This framework is updated
For security reasons, the illustrates how a servo motor is based on measured quality. Therefore, this framework has
controlled by a password-protected locking mechanism. The been regarded as an up-to-date approach and is in line with
system sets a predetermined password at the start of the modern technology. It functions similarly to a segregated
process. The user is asked to input a password when they try home security system in that the client and the framework
to unlock the system, which the system reads and compares to interact via SMS.
the pre-established password. If the password entered matches
the pre-established password, the system switches to a X. CONCLUSION
"Unlocked" state, activating the servo motor and permitting
access. This comparison serves as a decision point. The servo Home security system that uses GSM as its foundation.
motor is kept off and access is denied if the password entered Our system will continuously check for input and call the
does not match, leaving the system in a "Locked" condition. home owner if it detects an incorrect input. We have mapped
The system stays in a "Locked" state, turning off the servo a servo motor, keypad, Arduino, and a GSM module. An
motor and preventing access, if the password entered does not alarm message will only be generated if an unknown or
match. Only those who have the right password may trigger intruder approaches the system and tries different
the servo motor to open the system thanks to this cycle of combinations. Other security alarm systems, such as those for
reading, verifying, and reacting to the password input. When fire, smoke, etc., can be added to our system. In this instance,
unwanted attempts are made, the lock remains engaged thanks we are unable to complete our system in accordance with our
to this methodical process, which offers a secure approach to flowchart. We all belong to our group, though, and we firmly
access control. feel that this project has taught us a lot. Hopefully, we'll put
our complete and final system into place.
VIII. RESULT AND ANALYSIS
REFERENCES
After our project is successfully completed, if any pass
words are entered incorrectly, calls are made to the GSM Mo [1]. M. A. Baballe, M. I. Bello, B. A. Imam, A. T. Sule,
dule SIM800L. After a brief period of time to verify that eve and A. S. Muhammad, "Implementation of security
rything is in order, the SIM800L then calls the number we st alarm using arduino with pir motion sensor and gsm
ored in our application. module, Artificial & Computational Intelli- gence,
https://acors. org/ijacoi/VOL2 ISSUE2 8. pdf, pp. 1–7,
If the password is valid, a signal will be sent to the serv 2021.".
o motor, which will then rotate 90 degrees to unlock the door [2]. A. I. Abdulla, A. S. Abdulraheem, A. A. Salih, M.
Every system will function correctly in our algorithm. Sadeeq, A. J. Ahmed, B. M. Ferzor, O. S. Sardar, and
S. I. Mohammed, "Internet of things and smart home
security," Technol. Rep. Kansai Univ, vol. 62, no. 5, p.
2465–2476, 2020.