security door lock using pic microcontroller
#2
security door lock using pic microcontroller

This is a Password based Door locking system with GSM. The project mainly consisting of PIC microcontroller (16F877), 16x2 LCD Display, GSM Modem, Keypad and misc.(Relay, Crystal oscillator, power supply which is not shown in circuit diagram) The program is compiled using PICC Compiler and simulated on Proteus 8. All Header and simulation files are given at the bottom of this post. The default password is set as 123.

This project can be implemented anywhere where, higher security is required. If the user enters correct password, that is “123”, the relay gets active and opens the door. If an un-authorised person trying to access the system and enters the password incorrectly three times, the system gets locked and alert the owner by sms using Gsm modem. Once the system gets locked a count down timer will appear on lcd and you have to wait that predetermined time period.

#include <16f877.h>
#include <lcd_4bit.c>
#include <keypad.c>
#include <string.h>
#use delay(clock=4000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
void main()
{
char m[30];
signed int ss=60,mm=10,hh=00; //Setting the Count Down Timer.
int count=3;
lcd_init();
lcd_str("Password Door");
gotoxy(0,1);
lcd_str("Locking System");
delay_ms(1500);
char u[]="123",p[10],k; //set Password as 123
l1:
int i=0,d;
lcd_clear();
lcd_str("Enter Password:");
gotoxy(0,1);
while(TRUE)
{
k=key();
if(k=='c')
{
lcd_clear();
gotoxy(0,0);
lcd_str("Enter Password:");
gotoxy(0,1);
i=0;
}
else if(k=='=')
{
p[i]='\0';
goto l;
}
else
{
lcd_str(k);
p[i]=k;
i++;
}
}
l:
gotoxy(0,1);
d=strcmp(u,p);
if(d==0)
{
count=3;
gotoxy(0,0);
lcd_str("Correct Password");
delay_ms(500);
gotoxy(0,1);
lcd_str("Door Opening.."); // Here you can activate Relay or anything
delay_ms(1500);
goto l1;
}
else
{
lcd_str("Wrong...");
count--;
if(count==0)
{
lcd_clear();
lcd_str("SYSTEM LOCKED");
printf("AT\r"); //GSM Configuration
delay_ms(10);
printf("AT+CMGF=1\r");
delay_ms(10);
printf("AT+CMGS=+91999500xxxx\r"); //Set the mobile Number to receive sms alert.
delay_ms(10);
printf("Door Security Alert!!"); //Alerting Message.
delay_ms(10);
putc(0x1A);
delay_ms(100);
goto timer;
}
delay_ms(1500);
goto l1;
}
timer:
while(1)
{
ss--;
delay_ms(1000);
if(ss==0)
{
ss=60;
mm--;
if(mm<0)
{
mm=59;
hh--;
if(hh<0)
{
goto l1;
}
}
}
gotoxy(2,1);
sprintf(m,"%02d:%02d:%02d",hh,mm,ss);
lcd_array(m);
}
}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: automatic door control using pic, ppt of door lock system using 8051 microcontroller, pic based security system, microcontroller based barcode scanner door lock schematic diagram, microcontroller based door lock, door lock using 8051 microcontroller, pic 16f877 electronic door code lock,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Messages In This Thread
security door lock using pic microcontroller - by Guest - 09-03-2016, 08:39 PM
RE: security door lock using pic microcontroller - by seminar report asees - 10-03-2016, 02:50 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  border security using wins jana 2 10,053 11-01-2019, 01:44 PM
Last Post:
  ambient security expert systems seminars ppt 2 11,267 25-08-2018, 09:19 PM
Last Post: Zik
  source code for task scheduling using genetic algorithm using java 2 8,697 11-04-2017, 08:31 PM
Last Post: Guest
  electronic eye controlled security system using ldr pdf 3 9,144 15-02-2017, 12:42 PM
Last Post: jaseela123d
  cryptography and network security by atul kahate pdf torrent 2 2,562 16-08-2016, 12:08 PM
Last Post: Guest
  working principle of luggage security system 2 1,957 23-07-2016, 09:49 AM
Last Post: jaseela123d
  block diagram of electronic cough monitor based on microcontroller 3 1,144 21-07-2016, 12:03 PM
Last Post: visalakshik
  virtualization security in cloud computing seminars report pdf download 2 1,769 16-07-2016, 12:44 PM
Last Post: jaseela123d
  abstract for speaking microcontroller for deaf and dumb pdf 2 974 14-07-2016, 12:00 PM
Last Post: jaseela123d
  ambient security expert systems seminars ppt 1 7,675 02-07-2016, 01:58 PM
Last Post: visalakshik

Forum Jump: