DVSR
-
Upload
sumanth-reddy -
Category
Documents
-
view
4 -
download
1
description
Transcript of DVSR
Why this system is required? Or what are the current scenarios?
1. Security is the main concern for everyone. Everyone
wants to live securely in his/her house. Everybody
wants themselves to keep safe or secure from
various incidents like theft in their house.
2. Now days many times we hear news about house
robbery or theft in some houses, bungalows, flats.
These robberies or thefts take place when nobody is
in house or in some cases we find that robbery take
place even if people are in their houses.
3. sometimes key of our home is lost. If we do not
replace our lock and if these keys are found by
thieves then it can cause robbery. We all know that
duplicate key can be created within few minutes and
also key duplication is easy. These are the
disadvantages of traditional locking system which
uses a key and a lock. To overcome all the above
stated disadvantages of existing system we have
designed a GSM based home security system.
Why To Use GSM Door Lock?
Normal digital door comes with the option of
password entry but we provide you a more secure,
easy, and comfortable way i.e. controlling your door
lock with your mobile call, SMS, RF Remote or keypad.
Auto alert generation is its one of main security
feature.
Is it safe?
Digital door lock comes with 2 different panels; control panel, display panel. Control panel is heart of this system that is installed inside of house so that no outsider can interrupt the whole system. If it’s installed with our designed home automation system it can alert you in case of unauthorized entry or even call security.
How to operate it?
You can simply SMS or call the system, can use remote,
or enter your password to operate it. Or install our
complete automation system to use it with your web
browser. With our building management system user
can entertain his visitor by first watching his live video
on his laptop/ desktop screen.
Description:
This project has 3 basic modules along with a GSM modem. GSM modem is used to send the SMS whenever there are changes in any of the three modules.First module of this project detects if any person is entering inside the house. This feature is helpful at night time or whenever we are out of our home.Second part of project serves the functionality of a door-latch opening using a password entered through keypad. As well as sending this data to a GSM modem through serial port. This module also turns on buzzer if 3 wrong passwords are entered
consequently. User can change this password anytime he/she wish using a keypad.
Block Diagram:
Description in detail:It mainly consist of following blocks1. Infrared Transmitter: We are going to implement the Person detection module using 1 transmitter and 1 receiver. We are going to use InfraRed transmitter because infrared beams are not visible to human eyes. Transmitter used is IR LEDs
2. Receiver: We are going to use an Infrared receiver. It is an active low device which means it gives low output when it receives the Infrared rays.3. Microcontroller: This is the CPU (central processing unit) of our project. We are going to use a microcontroller of 8051 family.
The various functions of microcontroller are like:I. Reading the digital input from infrared receiver to find whether person is entered inside house or not. II. Sending this data to LCD so that the person operating this project should read the number of persons inside the room. III. Sensing the password using keypad and to check whether it is a correct password or a wrong password and rotate the stepper motor if the password entered is a correct password. IV. Sending the data to the GSM modem using serial port. This data consist of number of persons inside the room and the status of entered password (Correct/wrong)4. LCD: We are going to use 16×2 alphanumeric Liquid Crystal Display (LCD) which means it can display alphabets along with numbers on 2 lines each containing 16 characters.5. GSM Modem: We are going to use sim300 as a GSM modem. The status of persons inside the room, LPG Gas leakage status and the status of entered password (Correct/wrong) will be sent to GSM modem.
6. Keypad: User will enter the password using the keypad. Various keys of keypad are as following,I. 0 to 9 II. Enter III. Escape
Microcontroller:
The microcontroller is a chip, which has a computer
processor with all its support functions, memory (both
program storage and RAM), and I/O built into the
device. These built in functions minimize the need for
external circuits and devices to design in final
applications.
In this project we used AT89S52 microcontroller. For
most applications, we will be able to find a device
within the family that meets our specifications with a
minimum of external devices, or an external but which
will make attaching external devices easier, both in
terms of wiring and programming.
Features of AT89S52:
8K Bytes of Re-programmable Flash Memory.
RAM is 256 bytes.
4.0V to 5.5V Operating Range.
Fully Static Operation: 0 Hz to 33 MHz’s
Three-level Program Memory Lock.
256 x 8-bit Internal RAM.
32 Programmable I/O Lines.
Three 16-bit Timer/Counters.
Eight Interrupt Sources.
Full Duplex UART Serial Channel.
Low-power Idle and Power-down Modes.
Interrupt recovery from power down mode.
Watchdog timer.
Dual data pointer.
Power-off flag.
Fast programming time.
Baud Rate Generator:
Timer 2 is selected as the baud rate generator by
setting TCLK and/or RCLK in T2CON. Note that the
baud rates for transmit and receive can be different if
Timer 2 is used for the receiver or transmitter and
Timer 1 is used for the other function. Setting RCLK
and/or TCLK puts Timer 2 into its baud rate generator
mode.
The baud rate generator mode is similar to the auto-
reload mode, in that a rollover in TH2 causes the
Timer 2 registers to be reloaded with the 16-bit value
in registers RCAP2H and RCAP2L, which are preset by
software.
The baud rates in Modes 1 and 3 are determined by
Timer 2’s overflow rate according to the following
equation.
4.5 GSM Technology:
GSM (Global System for Mobile communications) is an
open, digital cellular technology used for transmitting
mobile voice and data services.
GSM Frequencies
GSM networks operate in a number of different
frequency ranges (separated into GSM frequency
ranges for 2G and UMTS frequency bands for 3G).
Most 2G GSM networks operate in the 900 MHz or
1800 MHz bands. Some countries in the Americas
(including Canada and the United States) use the 850
MHz and 1900 MHz bands because the 900 and 1800
MHz frequency bands were already allocated. Most 3G
GSM networks in Europe operate in the 2100 MHz
frequency band. The rarer 400 and 450 MHz
frequency bands are assigned in some countries where
these frequencies were previously used for first-
generation systems.
Mobile Telephony Standards
GSM Modem:
A GSM modem is a wireless modem that works with a
GSM wireless network. A wireless modem behaves like
a dial-up modem. The main difference between them
is that a dial-up modem sends and receives data
through a fixed telephone line while a wireless modem
sends and receives data through radio waves.
A GSM modem can be an external device or a PC Card /
PCMCIA Card. Typically, an external GSM modem is
connected to a computer through a serial cable or a
USB cable. A GSM modem in the form of a PC Card /
PCMCIA Card is designed for use with a laptop
computer. It should be inserted into one of the PC Card
/ PCMCIA Card slots of a laptop computer.
The number of SMS messages that can be processed by
a GSM modem per minute is very low i.e., about 6 to 10
SMS messages per minute.
MAX 232:
Max232 IC is a specialized circuit which makes
standard voltages as required by RS232 standards.
This IC provides best noise rejection and very reliable
against discharges and short circuits. MAX232 IC chips
are commonly referred to as line drivers.
To ensure data transfer between PC and
microcontroller, the baud rate and voltage levels of
Microcontroller and PC should be the same. The
voltage levels of microcontroller are logic1 and logic 0
i.e., logic 1 is +5V and logic 0 is 0V. But for PC, RS232
voltage levels are considered and they are: logic 1 is
taken as -3V to -25V and logic 0 as +3V to +25V. So, in
order to equal these voltage levels, MAX232 IC is used.
Thus this IC converts RS232 voltage levels to
microcontroller voltage levels and vice versa.
5.1 Working procedure:
Engine motor control using GSM is carried out in a
very efficient way. The user has to send predefined
messages from his mobile to the controlling unit. The
controlling unit consists of a microcontroller, GSM
modem, circuitry to allow the serial communication
between the microcontroller and modem and the
motor unit.
Whenever the user sends a predefined message to the
controlling unit, the modem receives this and passes
the data to the microcontroller. The microcontroller
upon reading this data, starts or stops the vehicle
motor as per the request sent by the user. The system
can also send a message as a confirmation reply to the
user mobile.
Since the DC motor requires more current for its
functioning, the microcontroller cannot handle the
motor and cannot provide the required current to the
motor, a current driver IC L293D is used as an
interface between the microcontroller and the DC
motor. Thus, the status of the motor can be changed
within no time using the concepts of GSM.
6.1 Software Tools Required
Keil µv3, Proload are the two software tools used
to program microcontroller. The working of each
software tool is explained below in detail.
Applications:
1) This project has its main application in security system. This project can be used in home as SMS based domestic security system. It will be really useful for the security of flat, bungalow or any row house. It can be used in our house for theft detection at night time. The other part of the project (password detector) can be used to automate the door locking process, so the user need not to carry the door lock keys along with him, he/she can just remember the password and use it later to open the door.2) Various parameters monitored in this project like LPG gas leakage, theft detection and overheat due to fire are also applicable for industrial purpose as well. So this system can also be used in industries as a GSM based industrial security system.3) We can use this project in Restaurants as well as hotels, since LPG Gas cylinders are majorly used for cooking purpose in hotels and restaurants. Also they are very much prone to fire. So this project can be fitted in cooking section or kitchen of hotels. We can also use this project for the lodging rooms in hotels or rented rooms in a hotel. User will be provided a password to enter in this room and various parameters in this room will be monitored.4) This project can be used in hospitals. We need to do little bit modifications for use in hospital. We can add oxygen gas sensor to detect the leakage in oxygen gas
cylinders, as it can also cause fire. The password operated locking section can be used in hospitals for those rooms which have limited access like rooms with chemical or x-ray machine units. So only authorized person can gain access to this areas/rooms/sections.Advantages:1) Remote indication: With the use of GSM technology owner of the house or industry get remote indication through SMS. So even if the user is away from home or industry, he/she will be intimated about the hazardous or undesirable conditions / situations inside the house.2) This system is fully automated. So once this system is installed inside home or industry, then it does not require any human interaction to operate.With the use of this system we can save the life of person inside home / industry. Since the accidents caused due to fire and LPG gas leakage can cause life threat.3) Also the property inside house and various materials inside the house and industry are saved from to theft and from fire detection.4) This system is Cost effective. Also it is Fast and efficientFuture Development:
1) Voice announcement system can be added to indicate device conditions. We can add voice announcement system along with the buzzer so if there are hazardous parameters detected then respective voice message will be announced.2) We can add fingerprint sensor instead of password based door operating. So entry will be allowed for the authorized person using their fingerprints.3) We can monitor and control more parameters and devices.We can implement other related modules like fire sensor, wind sensor.