Sei sulla pagina 1di 14

PIR Sensor and GSM

Based Security System


Guide : Prof. Bhargavi Kaslikar
By
Nimit Shah 1612089
Dhruvil Patel 1612094
Introduction
● In this project, we are going to develop a PIR sensor and GSM based home security system. This project is
developed using 8051 microcontroller. It can be used to detect any intrusion in houses and offices and
send the alerts on cell phones.
● We all now a days have a phone in our pockets. So it is very convenient if we could track when some one
enters our house and we get notified on our cell phones.
● We carry them everywhere so when we are not at home and someone enters our home we can easily
track it from our phone
● This system can not only implemented in our home services but also in banks and higher security services
where the message can directly be sent to police in near by area or the head of security in charge.
Components Required
● 8051
● GSM Module
● PIR Sensor Module
● LM7805
● LED
● 1K resistor
● 10K resistor
● 1000uf capacitor
● 10uf capacitor
● 10K
● Crystal 11.0592 MHz
● Power Supply
PIR Sensor
PIR Sensor
PIR sensors are used to detect living being movement. PIR is a Passive Infrared sensor, which detect
infrared rays. All living being with a temperature above absolute zero emits heat energy in the form
of radiation. These radiation are infrared ray. Human eye cannot see these rays because these rays
are radiated at infrared wavelength. When any living being comes in range of PIR sensor, it detects
heat of that living being and generate an output. PIR sensor module does not send any rays for
detection, its only detects heat (Infrared). You can know more about PIR sensor in PIR sensor circuit.
GSM Module
The SIM900 is a complete Quad-band
GSM/GPRS Module which delivers
GSM/GPRS 850/900/1800/1900MHz
performance for voice, SMS and Data
with low power consumption.
LM7805
Voltage sources in a circuit may have fluctuations
resulting in not providing fixed voltage outputs. A
voltage regulator IC maintains the output voltage at a
constant value. 7805 IC, a member of 78xx series of
fixed linear voltage regulators used to maintain such
fluctuations, is a popular voltage regulator integrated
circuit (IC). The xx in 78xx indicates the output voltage it
provides. 7805 IC provides +5 volts regulated power
supply with provisions to add a heat sink.

● Input voltage range 7V- 35V


● Current rating Ic = 1A
● Output voltage range VMax=5.2V ,VMin=4.8V
8051 Microcontroller
8051 microcontroller is designed by Intel in 1981. It
is an 8-bit microcontroller. It is built with 40 pins
DIP (dual inline package), 4kb of ROM storage and
128 bytes of RAM storage, 2 16-bit timers. It
consists of are four parallel 8-bit ports, which are
programmable as well as addressable as per the
requirement. An on-chip crystal oscillator is
integrated in the microcontroller having crystal
frequency of 12 MHz.
Step By Step Process

Circuit Diagram
AT Commands

AT commands are used to control GSM module. There are commands for calling and messaging that we have used in this
project for sending message. After receiving AT Command GSM Module respond with OK which means GSM module is
working fine. Here are some useful commands
ATE0 - For echo off
AT+CMNI=2,2,0,0,0 <ENTER> - Auto opened message Receiving. (No need to open message)
ATD<Mobile Number>; <ENTER> - making a call (ATD+919610126059;\r\n)
AT+CMGF=1 <ENTER> - Selecting Text mode
AT+CMGS=”Mobile Number” <ENTER> - Assigning recipient’s mobile number
>> Now we can write our message
>> After writing message
Ctrl+Z - send message command (26 in decimal).
ENTER=0x0d in HEX
Working
● In this project we have used 8051 microcontroller for controlling the whole process of the project. A PIR
sensor is used for sensing human presence. And when PIR sensor sense any movement in targeted area of
room then it gives a HIGH logic to microcontroller and then Microcontroller take place and make a call via
GSM module using AT commands. Controller calls to a predefined mobile number and at the same time it
also sends a message to the same number via GSM Module.
Results

Thus pir based security system was implemented using 8051 microcontroller.
Operation of the Circuit

1. Make the connections and power on the circuit.


2. Open the door enter the room and close the door behind you.
3. This action will be detected by the pir sensor.
4. The PIR sensor will send a message to GSM module and it will send a SMS on your phone.
Future Scale

Keep your home secure.

Potrebbero piacerti anche