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.
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 respective input pin
sbit input_door_1 = P1^0;
sbit input_door_2 = P1^1;
sbit input_door_3 = P1^2;
sbit input_door_4 = P1^3;
sbit input_door_5 = P1^4;
sbit input_door_6 = P1^5;
sbit input_door_7 = P1^6;
sbit input_door_8 = P1^7;
// outputs
// coresponding output will be generated by applying logic one on respective output pin
sbit output_door_1 = P2^0;
sbit output_door_2 = P2^1;
sbit output_door_3 = P2^2;
sbit output_door_4 = P2^3;
sbit output_door_5 = P2^4;
sbit output_door_6 = P2^5;
sbit output_door_7 = P2^6;
sbit output_door_8 = P2^7;
sbit flashing = P3^6;
sbit alarm = P3^7;
void delay2(void){
unsigned int i;
for(i=0;i<25000;i++); }
void main (void) { P1 =0xff; P2 = 0; alarm = 0; flashing = 0; initialize_serialcommunication(); initialize_GSM_modem();
while (1) {
flashing =~ flashing; delay2();
if(input_door_8 == 0){ output_door_8=0; alarm = 1; puts("door # 1 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(input_door_7 == 0){ output_door_7=0; alarm = 1;
puts("door # 2 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(input_door_6 == 0){ output_door_6=0; alarm = 1;
puts("door # 3 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(input_door_5 == 0){ output_door_5=0; alarm = 1;
puts("door # 4 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(input_door_4 == 0){ output_door_4=0; alarm = 1;
puts("door # 5 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(input_door_3 == 0){ output_door_3=0; alarm = 1;
puts("door # 6 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(input_door_2 == 0){ output_door_2=0; alarm = 1;
puts("door # 7 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(input_door_1 == 0){ output_door_1=0; alarm = 1;
puts("door # 8 is opened"); delay2(); while(!TI); TI = 0;SBUF = 0x1A;}
if(alarm == 1) {
counterup++;
if(counterup>=10)
{
counterup = 0; alarm = 0; P2=0;}
}
}
}
void initialize_GSM_modem(void){
delay2();
puts(Command_AT);
delay2();
puts(Command_CMGF);
delay2();
puts(Command_CMGS);
delay2();
puts(msg02);
delay2();
while(!TI); TI = 0;SBUF = 0x1A;
}
void initialize_serialcommunication(void){
TMOD = 0x20;
SCON = 0x50;
TH1 = 0xFD;
TL1 = 0xFD;
TR1 = 1;
TI = 1;
}
microcontroller 8051 security alarm based system circuits Security Camera Systems,Security System with GSM - Comfort Intelligent Home System,best wireless camera security system,microcontroller based home security system - Keyword Stats camera wireless security system,outdoor security cameras reviews,gsm based projects microcontroller 8051 security alarm based system circuits HOME/ OFFICE SECURITY SYSTEM (8051 BASED « Final Year Projects electronic projects with code and scripts for the freshers
Implementation of location based advertising system using GPS and Graphical LCD. Serial communication of signal conditioning circuit with PC Using Hyper Terminal.pc based robot projects using microcontrollerAT89C2051 microcontroller based programmable 4 digit lock system at89c2051 simple home security projects at89c2051 using simple mini projects gps system project using 8051 controller home security system microcontroller code








Hi,
ReplyDeleteCould you please help me in doing a project using 8051 microcontroller which acts as a fire and a burglar alarm(using ir sensors or to detect motion)? Please do let me know soon
Regards
Asha
@ Asha
ReplyDeleteHow many sensors for fire and motion detection you want to use in your security project of home or offices using microcontroller.
Please send me complete proposal of your project, i.e, what you have decided and presented to professors in university.
what kind of sensors for fire you want to use?
if nothing is decided or cleared sofar, then do not worried about it, we can make a good proposal of your project by mutual discussion , you can send me e-mail, also, my MSN ID is given on this blog.
sir,
ReplyDeletei want to do a project on the topic "microcontroller 8051 security
alarm based system circuits GSM based Home security system hidden
cameras".here i want to send mms instead of sms to owner .plz send me
the circuit diagram,component,coding.related to mms.
i would be highly grateful to you if you kindly help me on this topic.
@ rabindra biswal :-
ReplyDeleteI have not any project in which mobile is interfaced with microcontroller for the sending of MMS.
So, I can not provide you circuit diagrams and code regarding MMS sending from mobile and microcontroller.
Hi,
ReplyDeleteFirst of all i'm really happy to read you're blog and it helps me in my study so thank you for that..
I'm looking for the project in which i want the security lock system..
in it i'd like to use components like LCD , 8051 processor, Keypad Etc..
I hope you can help me out..i'm waiting for you're positive reply as soon as possible..
@ golf clubber :-
ReplyDeleteThanks for reading the blog and liking the projects on it.
I have not uploaded the project, you are asking so far.
But iin near future i will develop a digital lock based on microcontroller 8051 and having LCD with keypad interface.
So that you can get idea from it anf develop your own microcontroller project for digital lock control system.
Dear Sir,
ReplyDeleteHi, I'm going to do my final year project total. "GPS-Assisted Car Parking System" is my title. This project is wants to let the vehicle to park in suitable place without driver. We will give the instruction to the vehicle. I will use GPS, PIC, ultrasonic sensor and so on to apply on my project. So, sir do you have any idea on this project? How to connect the GPS with the vehicle and the car park lot?
Best Regards,
YV Ong
@ YV Ong (for GSM PIC Car parking) :-
ReplyDeleteI have not worked on the interfacing of GSM with microcontroller.
So, if you have any progress regarding the interface of GSM with PIC, share with me.
Is ADC is required for wireless video transmission?
ReplyDelete@ Anonymous (FOR VIDEO SIGNAL TRANSMITTER)
ReplyDeleteMr.Anonymous i can not understand , why people hide their names while asking questions.
Why people not ask the complete question?
like ur name, ur question is also Anonymous.
ask complete question and send me files of circuit diagram of video transmitter and details, then i will reply. ok
sir,,
ReplyDeletemyself saurabh,, b.tech 2nd year
I trying to do a dammmnnn simple task but it is not getting done...
what i want is that ki send AT command to GSM modem, and then the recieved OK is displayed on lcd..
@ saurabh :-
ReplyDeletesend me your circuit diagram and code, then i wil check it.
my e-mail id is given on this web-blog.
sir,
ReplyDeletemyself saurabh, b.tech 2nd year student. i want your help regarding a basic step of my project i.e. i want to use GSM in my project..so wat i am trying to do is to send the AT command to the GSM via my microcontroller and then the recieved OK is to displayed on the screen...
my lcd is initiallised already but still it is not displaying the OK text...
can u tell me what possible faults i may be doing...
regards
saurabh shandilya
b.tech 2nd year
delhi college of engg.
@ saurabh shandilya (GSM mobile interface microcontroller) :-
ReplyDeleteNo, I can tell you where the problem is in communication without examin the program written for microcontroller.
So, if you want help from me on this project of interfacing GSM with microcontroller and displaying text on LCD, you should send these two things:
1. Circuit diagram (should be designed in proteus isis and all files related to it)
2. Code or program you have written sofar (all files related to it in zipped format).OK
hi,
ReplyDeleteam james,
i want to connect a buglarm alarm to a microcontroller then interface with a gsm modem, so as an owner can rceive a call or an sms when an intruder is breaks in a his premise. i would appreciate much if you would send me circuit diagram of the same and the program. i will highly appreciate any assistance of the same.
jkigotho2011@gmail.com
@ njoroge or james (connect a buglarm alarm to a microcontroller & GSM modem) :-
ReplyDeleteYour Project of interface GSM modem with microcontroller 8051 for security system of CARs or vehcals is a nice idea and you can develop this project very easily if you try concentrate on my post on the topics related to interface of mobile phobes with microcontrollers or control machiines through GSM modem and microcontrollers.
You should try it my your own instead of asking me to send the circuit diagram and code.
what i can help you is, i can guid you in your code or circuit designing where you are stuck or confused or feel problems, but to provide all ready made work to some one is not justified.
Hi, Sir i have a project for our our final year,my project is all about sms controlled irrigation system. Where in my main goal is to turn on and off the water pump. I don't know where to start. I really don't know how to connect the gsm modem into the mcu. I am using eGizmo GSM/GPRS modem and for my microcontroller is Gizduino. Any suggestion sir?
ReplyDelete@ Naef ( Plant irrigation System based on GSM GPRS Gizduino microcontroller):-
ReplyDeleteSorry, I can not understand your comment, is it just information OR, is it order OR is it request to help. Nothing is conclude from it.
Do you want spoon feeding?
OR
Do you want to discuss some technical points , problems with me?
OR Do you want help in software?
OR
Do you want help in circuit designing?
OR
Do you want some ready made solution of it?
Please write clearly
ok
hi sir
ReplyDeletetis is hardik patel. I want ur help in making project of home security system with gsm modem using sensor not using led or cameras, so can please help me in making my project
hardik ( home security system with gsm modem ):-
ReplyDeleteYes help can be provided in this project, write in detail what you want?
Good Day sir, I'm elben..I need your help sir for my project with gsm that when I send a message to the GSM the IR will "ON" and the same time the GSM will send a confirmation to the sender. I am making a GSM Based Car Security System.. This my first time to make this project with GSM.. Tnx in advance..
ReplyDeletedear sir , i am AMEY KAMAt , BE ETC student, GOA
ReplyDeletewe r doing project on gsm operated robot, but here we r going to use 3G to see the area around the robot/guard.
our planning is that, we aill use a sensor to detect if any theif passes frm d door , once sensor detects this , that microcontroler wil make a call to the owner as an indication ..so that when call is established the owner wil b able to see whats going on in his house....
pls help me how can i make the microcontroller call the owner...what is the idea? how to do this? i jus hav this much idea bt idont knw anything about how to do it...
Sir,
ReplyDeleteI'm new to programming with microcontrollers.. Can you please help me with the c language code and circuit diagram of an electronic keypad lock that asks the user to input a password and displays message on LCD whether the password is correct or not!
This GSM based home security system is very complicated and tough for me, I want to start from basic microcontroller programming..
Your help in this regard will be highly appreciated..
kindly mail me at a_shafqat2262@yahoo.com
thanks in advance..
hello can you help my to do an home alarm system in microcontroler easy8051a with microprocesor AT89S8253
ReplyDeletehi sir dis is vasu from jntuk
ReplyDeletei want to do project on gsm based home security system can u help me in suggesting ckt diagram of dat
@ elben (Car security system using GSM and microcontroller):-
ReplyDeleteYou are doing a nice project, have you develop circuit diagram or not?
If you have develop circuit diagram and written some code, then please send me these things so that i can check and find out where the problem is.
OR you have done nothing then tell me what exactly you want from me??
ok
Tell exactly what is ur area of dificulty?
@ AMEY KAMAt (gsm operated robot):-
ReplyDeleteYou are doing interesting project.
but you have not mention about which microcontroller and gsm or 3g you are using???
ok any way, i suggest you to finalize the gsm modul and then search and study uts data sheets, there would be some commands on GSM to call a particular number from its list. this will solve you problem. if you donot find the information like above then directly contact the menufecturer of GSM maduls about this option.
@ shafqat (Microcontroller project):-
ReplyDeleteYour idea about learning the microcontroller is nice, i have added you in my yahoo messenger, so try to catch me on yahoo, i will guid you about how to develop the microcontroller project by your own.
@ beni (Home alarm system):-
ReplyDeleteYes, i can help you develop a home alram system using microcontroller, write about the details of your project and its functionality you want to achive from it. if you can provide circuit diagram it will be more helpful to guid you.
@ vasu (circuit diagram of home security system):-
ReplyDeleteyes, i am here to help students in their degree projects, but not this kind of help that a ready solution.
you should find and learn, if you feel some difficulty then discuss that particular problem with me, if will guid you.
Sir
ReplyDeleteI'm Kiran doing my final year.Our project is GSM based Electronic house.We have information about electronic house
(http://www.electrofriends.com/projects/ehouse/)
Can you give information how to implement it with GSM using microcontroller?
Hello to all, my name is Elijah. I am a BTech Electronics Engineering final year student and yes it is time for final project and am requesting for help. I am looking at two projects (1)power energy saving management using ARM MIC or PIC24 or Dspic33 and two (2) Hyrachical Home security using same microcontroller as in the first project.
ReplyDeleteCould some one help me with writting a code in c/c++ because am only good at assembly and this is going to be crazy for me to do the coding.
Thank you very much
@ Kiran ( GSM based Electronic house):-
ReplyDeleteNo, things are not that simple , you people take.
Go step by step and asks what you feel difficult or not understanding.
ok
HI every one at this moment i require a bank locking system project with gsm module.dfat should send sms to the owner when door is opened
ReplyDeleteHi,
ReplyDeleteCan u please provide me ur sample synopsis of the above project to kiranvelu1@gmail.com
I am in a very urgent need of this, so please do the needfull ASAP..Please dont mind
hi sir
ReplyDeletemy project topic is smoke alarm system when alarm trigger it can send message or call i need help for this project for designing circuit diagram and the code
thanks
Hello sir,
ReplyDeletemy project is low cost solar inverter with solar charger based on microcontroller.I want to write the coding in c language for the charger circuit where am using 8051 for this purpose.Can u plz help me?
Hello sir,
ReplyDeleteI have a question related to the project you have shared here.I want to modify my current project which is similar to this and want to know
: when an intruder crosses a trigger signal is generated.Is it possible to program 8051 to receive this trigger signal and send it through bluetooth to a pc ?is any free code for the same available online?
I want to know how can we send the trigger message to a pc wirelessly from a microcontroller.
Thank you for your help and time!
Arora
Good morning sir,
ReplyDeleteAm Susan could there be any devices that work better than the micro controller 8051 that i can use for the GSM based home security system
Respected sir
ReplyDeleteI want a project based on 8051 with dtmf.like i can control a car using mobile . I want the cke diagram components & coding of this project.
Regards
Ravi Mittal
dear please send me your project of GSM based home security system project using microcontroller 8051.
ReplyDeletei need circuit diagram as well as component value,i hope u will send me ,my email add is (shahuruyazlatheef@gmail.com)
thnks
dear,i want to do this project of GSM based home security system project using micro controller 8051.please send me circuit diagram as well as component value of this project.my email address is (shahuruyazlatheef@gmail.com)
ReplyDeletethanks
sir i will check the same circuit and program in above
ReplyDeletebut don't see any (clear) message in the Virtual Terminal screen.some unknown symbols are displayed ..why ...
please Replay me (rk9047545247@gmail.com)
sir i also have another Quires about gsm modem and AT command. my friend told me all the AT commands not suitable for all gsm modem if its true or not..
ReplyDelete...in above coding's are suitable for all modem.?
please replay me
@ slatheef from Maldives :
ReplyDeleteAdded in Gtalk for live discussion.ok
hi Dr Rana..Im currently doing a project on PIR security system and i have only managed to send an sms to the user using a GSM module. is there any way that i can improve my project so that it includes a camera chip so that it can send an image via mms to the user ?? please help.
ReplyDeletehi..i'm fahmi..
ReplyDeletei want to do project design of ethernet based reote monitoring and controlling system for home security...using silicon labs..the board is c8051f340...i'm using magnetic sensor to send signal to the ethernet and the board...can u write the c code for this program?...
dear sir
ReplyDeleteThis is selva
Basicaly I am a mechanical studeant now am doing a 89c51 with gsm modem (sim300) used motor monitoring system i need 2 call command and 3 msg command
I dont know to create a c sorce file
For keil 4
Will you please help me sir
My e mail id is prdp.selvam@gmail.com
sir we need flow chart of this project
ReplyDeletehello Dr.I am a final year student of Northumbria University and i have a final year project to design a home alarm system using pic16f887. Please i need your help as i am to submit this by 25th of this month. Here is my email talk2sammyonline@yahoo.com
ReplyDeleterespected sir !!i m making project on security integrated system on wireless access protocol using gsm modem .i found a code on net but it does not include header files like gsm.h and eeprom.h.can u please help me??or rather u can send me a project on security system within 5 days!!watever charges mail me at pvyas763@gmail.cm.waiting for your reply
ReplyDelete@ Anonymous (asking for help on wireless security system based on microcontroller):-
ReplyDeletei have added you in Google talk and try catch me online, we will discuss your project live through chatting. or e-mail me what you have sofar and what are the problems you are facing in development of your security system integrated through wireless and GSM modem. indicate clearly where you find the code and circuit diagram, sothat i can check what exactly the problem you are facing.