GSM Based Home Security Alarm System
GSM Based Home Security Alarm System
GSM Based Home Security Alarm System
DR.PACHIYANAN
DR.SHARAD KUMAR TIWARI
MR.JANAKI RAM
MRS.SHIVA DURGA
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING
This is to certify that the minor project entitled “GSM BASED HOME SECURITY ALARM
SYSTEM” that is being submitted by I.UDAY KUMAR, K.LEELA RAKESH,
A.PRABHAKAR bearing Regd. No. 191FAO5033, 191FA05043, 191FA05004 in partial
fulfillment for the award of 2nd year 2nd Semester B. Tech degree in Electronics and
Communication Engineering to Vignan’s Foundation For Science, Technology and
Research, is a record of work carried out by them under the guidance of DR.PACHIYANAN,
MR.JANAKI RAM, DR.SHARAD KUMAR TIWARI, MRS.SHIVA DURGA of ECE
Department.
Home Security Systems are an important feature of modern residential and office setups. Home
security systems must be affordable, reliable and effective.
Modern complex home security systems include several security features like fire, intruders,
electronic door lock, heat, smoke, temperature, etc. Some security systems may be a combination
of all the security measures.
In this project, we designed a simple but very efficient home security that has a function of
calling the homeowner on his/her mobile number in case of an intruder alert, the working of the
project is explained below.
PIR sensor detects motion by sensing the difference in infrared or radiant heat levels emitted by
surrounding objects. The output of the PIR sensor goes high when it detects any motion. The
range of a typical PIR sensor is around 6 meters or about 30 feet. When the PIR sensor detects
any motion, the output of the sensor is high. This is detected by the Arduino. Arduino then
communicates with the GSM module via serial communication to make a call to the
preprogrammed.
INTRODUCTION
Security is a big challenge everywhere because thefts are increasing day by day owing to the
unsafe and insecure security systems in homes, commercial complexes and industries. Several
conventional technologies are available to keep home properties safe from intruders, but most
common smart home security systems work on wireless GSM communication. Such systems
provide security from natural, incidental, intended, unintended, accidental and human made
problems by continuously monitoring homes with different sensory systems like motion, smoke,
gas, temperature, glass break or door break detectors and fire alarm systems.
HARDWARE REQUIREMENTS
Arduino UNO
SIM 900A (or any other) GSM Module with SIM inserted.
LCD(16 x 2)
9V BATTERY CLIP
LED
PIEZO BUZZER
BREAD BOARD
An USB CABLE
A COMPUTER
CIRCUIT DIAGRAM
Passive Infra-Red or PIR Sensor is a Pyroelectric device that detects motion. Hence, it is also
called as motion detection sensor. It detects motion by sensing the changes in infrared levels
emitted by nearby objects.
SIM 900A is the GSM/GPRS module with built in RS232 interface. It has dual band GSM/GPRS
system that works on 900/1800MHz frequencies. With the help of RS232, the modem can be
connected to PC or microcontroller via serial cable. Voice calls, SMS and internet access are
possible with this module. There are on board connections for microphone and headphones with
which we can make or receive calls.
The modem needed only 3 wires (Tx, Rx, GND) except Power supply to interface with
microcontroller/Host PC. The built in Low Dropout Linear voltage regulator allows you to
connect wide range of unregulated power supply (4.2V -13V). Yes, 5 V is in between. Using this
modem, you will be able to send & Read SMS, connect to internet via GPRS through simple AT
commands.
The GSM module is designed as a DCE (Data Communication Equipment), following the
traditional DCE-DTE (Data Terminal Equipment) connection. The GSM Modem and the client
(DTE) are connected through the following signal (as following figure shows). Auto bauding
supports baud rate from 1200bps to 57600bps. Serial port • TXD: Send data to the RXD signal
line of the DTE • RXD: Receive data from the TXD signal line of the DTE serial port of the
GSM engine supports auto bauding for the following baud rates: 1200, 2400, 4800, 9600,
19200,38400 and 57600bps. Factory setting is auto bauding enabled. This gives you the
flexibility to put the GSM engine into operation no matter what baud rate your host application is
configured.
Arduino UNO:
It is the main controller used in this project. It detects the signals from PIR sensor and sends
commands to GSM Module accordingly. The serial pins of the Arduino are used in this project to
communicate with the GSM Module.
int GND1=13;
int LED2=8;
int GND2=9;
int pirOutput=5;
void setup()
Serial.begin(9600);
pinMode(LED1,OUTPUT);
pinMode(GND1,OUTPUT);
pinMode(LED2,OUTPUT);
pinMode(GND2,OUTPUT);
pinMode(pirOutput,INPUT);
digitalWrite(pirOutput,LOW);
digitalWrite(GND1,LOW);
digitalWrite(GND2,LOW);
digitalWrite(LED1,LOW);
digitalWrite(LED2,LOW);
delay(15000);
digitalWrite(LED1,HIGH);
void loop()
if(digitalRead(pirOutput)==HIGH)
{
digitalWrite(LED2,HIGH);
Serial.println("OK");
delay(1000);
delay(15000);
Serial.println("ATH");
digitalWrite(LED2,LOW);
delay(1000);
}
}
EXPERIMENTATION RESULTS
ADVANTAGES:
The given system is handy and portable, and thus can be easily carried from one place to another.
The circuitry is not that complicated and thus can be easily troubleshooted.
The given system sets off a powerful buzzer, and it is effective as any other alarm system
available in the market.
DISADVANTAGES:
The given alarm system determines the presence of the intruder only, and does not determine how
many persons are in there actually.
The alarm activates only when the person cuts through the line of the PIR sensor.
APLLICATIONS:
This type of motion sensing alarm system can be easily employable for security purposes at
banks, various offices and even for sensitive establishments such as for military. We can easily set
up this system for household purposes.
CONCLUSION
A GSM based home security alarm system is designed using Arduino, PIR motion detection
sensor and a GSM module.
When the system is activated, it continuously checks for motion and when the motion is detected,
it make a phone call to the owner.
Only intruder alert is present in this system and can be upgraded to other security alert systems
like fire, smoke etc.
FUTURE SCOPE
GSM is one of the latest mobile technologies using smart MODEM, which can easily have
interfaced to embedded microcontrollers. Now everything is going to be automated using this
technology, using this technology we can access the devices remotely. Using GSM and GPS now
we can identify the people, vehicles etc. in anywhere of the world.
MODEM is communicating with the microcontroller using AT commands, for example if we
want to send an SMS to number +919828379647, the commands we have to send is
AT+CMGS=” <+919828379647>”, <enter>, <message>, <ctrl-Z>.
In this project, it is used to make call to the owners mobile when somebody entered the home
without permission.
In this project in future we can add a multimedia camera to see what is going inside the home by
sitting in office or somewhere.
REFERENCES
Websites Referred -:
www.electronicshub.org
https://en.wikipedia.org
www.arduino.cc
www.engineersgarage.com
Books referred -:
Programming Arduino: Getting Started
Smart Sensor Systems.