Sms Based Home Security

Only available on StudyMode
  • Download(s) : 1110
  • Published : February 11, 2012
Open Document
Text Preview
microcontroller 8051 security alarm based system circuits GSM based Home security system hidden cameras GSM based home security system project using microcontroller 8051. Main aim of this project is to provide sms based tracking of different locations in the home while you are not at home.This project can also be used to monior the different signals conditions of the machines in factory or industry. A GPS module will be installed in the home which will transmit the status of different doors continuously after short intervals or when the status of any signal is changed. Location will be sent as a sms through gsm network. These messages will be received by another GSM module situated at some remote location. The purpose of this project is to monitor and control electrical devices (Analog and Digital) remotely using GSM modem/phone. The GSM modem provides the communication mechanism between the user and the microcontroller system by means of SMS messages. User can have the condition of various signals attached at multiple electrical devices by recieving suitably formatted SMS message from the microcontroller based control system. These SMS commands are interpreted by microcontroller system and are transmitted to other remote mobile. Function and methodoly of GSM Based Route monitoring and security system. There are eight input devices attached to microcontroller, the input devices can be extended to 32 depending upon the need. But currently it has only eight inputs. The inputs can generated from from rad switches, IR transmitter and receiver or other magic switches. For security these should be implemented in such a way that these should be hidden. When any of the door is opened, coresponding switch is operated, microcontroller is contineously monitoring all eight switches, on finding the changed in status of the input from door, the microcontroller turns ON the security alarm for a few second. On the same time a SMS is sent to the remote mobile about the latest situation of the home security. If no other switch is operated (door is not crossed) and door is re-closed on the alarm, then the security alarm will be OFF otherwise it will be ON repeatdidly and do send SMS contineously to owner about home or office security.

The major building blocks of this gsm based project are:

1. Microcontroller based control system with regulated power supply. 2. GSM Modem/phone.
3. Digital and Analog sensors and controlled devices.

Above is the circuit diagram of home or office security system. We can see that system has TEN LEDs attached to microcontroller. These LEDs can serve two jobs. One is ofcourse indication and the second is "we can attach any external device with these signals like bulb or cameera, or any suitable device using proper optocoupler and relays. First LED is flashing led, which is an indication that the system is running smoothly. The second LED is for alarm against security problems, remaining eight LEDs can be used for controlling cameras in each room to take snaps of the person who has un-authorised access to that room. Thus we say that this GPS based camera controlled security system for home or offices. CODE of the GPS based camera controlled security system using microcontroller AT89s51 is written in keil C51 microvision 4.

#include<at89x51.h> // include at89x51 . h 
#include<stdio.h> // include stdio . h
#include<stdlib.h> // include stdlib . h

void initialize_GSM_modem(void);
void initialize_serialcommunication(void);

unsigned int counterup = 0;
unsigned char Command_CMGF[]="AT+CMGF=1\r"; 
// AT+CMGF for selecting Text Mode
unsigned char CtrlZ=0x1A; 
// CTRL+Z for sedning SMS after the message has been entered unsigned char Command_CMGS[]="AT+CMGS =+9233385xxxxx\r"; 
// recepient mobile number
unsigned char Command_AT[]="AT\r";
unsigned char msg02[]="Hello!";
// inputs 
// if any of the push button is pressed logic zero will be detected by microcontroller on...
tracking img