Sie sind auf Seite 1von 4

PASSWORD BASED ELECTRONIC DOOR LOCK SYSTEM

DEEPIKA KUMARI, SANTOSH KUMAR, NEHA NEGI

ABSTRACT
Security is a prime concern in our day-today life. Everyone wants to be as much secure as possible. An access control for doors forms a vital link in a security chain. The microcontroller based Door locker is an access control system that allows only authorized persons to access a restricted area. The system is fully controlled by the 8 bit microcontroller AT89S52 which has a 2Kbytes of ROM for the program memory. The password is stored in the MEMORY so that we can change it at any time. The system has a Keypad by which the password can be entered through it. When the entered password equals with the password stored in the memory then the Led glow and stepper motor gets on and so that the door is opened. If we entered a wrong password for more than three times then the Alarm is switched on. When we go inside and come back then the microcontroller will sense the person using the Laser light, the microcontroller will automatically open the door for you. INTRODUCTION Home/office security is top priority of all concerned. Today there are plenty of home/office security products to ensure your familys security completely. Home/office security is the most significant one for every home/office owner either in an individual house or an apartment. For that different security systems are available. Some are smart cards, RFIDs, I-button, password and biometrics etc. Access control is the ability to

permit or deny the use of a particular resource by a particular entity. Access control system can be used in managing physical resources (such as a movie theater, to which only ticket holders should be admitted), logical resources (a bank account, with a limited number of people authorized to make a withdrawal), or digital resources, for these kinds of things.The main idea of designing password based locking system is to provide many modern security features than mechanical lock. Applications are entrance doors, car doors, bank lockers etc.

DESCRIPTION
A password based lock is a device which has an electronic control assembly attached to it. They are provided with an access control system. This system allows the administration to unlock the device with a password. The password is entered by making use of a keypad. The admin can also set his password to ensure better protection. The major components include a keypad, LCD and which belongs to the controller AT89s52

the 8051 series of microcontrollers. Our capstone project describes the making of a password based door lock using the 8051 microcontroller. A 4x3 matrix keypad and a 16x2 LCD have been used here. Keypad and LCD are very commonly used input & output devices, respectively. A five digit predefined password needs to be specified the admin. This password is stored in the system memory thats can changed number of times by admin. While unlocking, if the entered password from keypad matches with the stored password, then the lock opens , led glows and a message is

displayed on LCD.If password does not match continuously for three time then buzzer sounds and it requires correct master lock . Master code are using while changing the password and while when system block it is known only by admin. As the program starts, string Enter Password is displayed on LCD. The keypad is scanned for pressed digits one by one. Every time, row and column of the key pressed is detected and is displayed on LCD corresponding to the entered number. After the four digits are entered, the user is prompted to Confirm Password and again the input is taken through LCD. If the passwords do not match, a message is displayed to indicate Wrong Password; otherwise the user is prompted to unlock the device. To unlock, user needs to Enter lock code through keypad. Again the keypad is scanned for pressed keys and corresponding digits are identified and is displayed on the LCD screen. After the five digits are entered, they are compared with the pre-set password. If all the five digits match with set password, LCD displays lock deactivated and the lock output pin goes high. If the security code is wrong, Wrong Password is sent to be displayed on LCD. The system gets locked if more than three attempts are made with wrong password to open the electronic lock. The system needs to be reset in such a case through master code. FLOW CHART OF PROJECT

CIRCUIT OPERATION
Here after giving the power supply it will display lock is deactivated for open door or to close the door to we have to press the # and for opening the door after entering the right password # has to pressed. Program will not continue till we press #.after that it will ask to enter the password and password is displayed on the LCD. If password is

FLOWCHART

matched

according to the command door will

open/close. For opening and closing the door in this project we connected stepper motors and we are

rotating anticlock wise direction for opening the door and clockwise direction for closing the door. If password not matched buzzer will start .This process will continue for 3 times .Here in this project we kept password as 54321, we can change it through 12345 and then master code is entered and new password is saved in to the microcontroller.

TRASISTOR BC109 Transistor is a device which transforms current flow from low resistance path to high resistance path. It is capable of performing many functions of the vacuum tube in electronic circuits, the transistor is the solid state device consisting of a tiny piece of semi conducting material, usually germanium or silicon, to which three or more electrical connections are made.

COMPONENT DETAILS
RESISTOR Resistor is a component that resists the flow of direct or alternating electric circuit. Resistors can limit or divide the current, reduce the voltage, protect an electric circuit, or provide large amounts of heat or light. An electric current is the movement of charged particles called electrons from one region to another.

CRYSTAL OSCILLATOR A crystal oscillator is an electronic oscillator circuit that uses the mechanical resonance of a vibrating crystal of piezoelectric material to create an electrical signal with a very precise frequency. This frequency is commonly used to keep track of time (as in quartz wristwatches), to provide a stableclock signal for digital integrated circuits, and to stabilize frequencies for radio transmitters and receivers. The most common type of piezoelectric resonator used is the quartz crystal, but other piezoelectric materials including polycrystaline ceramics are used in similar circuits. Quartz crystals are manufactured for frequencies from a few tens of kilohertz to tens of megahertz. More than two billion crystals are manufactured annually. Most are used for consumer devices such as wristwatches, clocks, radios, computers,and cell phones. Quartz crystals are also found inside test and measurement equipment, such as counters, signal generators, and oscilloscopes. Crystal oscillators are used in a variety of applications. In some instances crystaloscillators may be used to provide a cheap clock signal for use in a digital or logic circuit. In other instances they may used to provide an RF signal source. In view of the fact that quartz crystals offer a very high level of Q and they are stable, crystal oscillators are often used in oscillator circuits to provide stable, accurate radio frequency signals. BUZZER

CAPACITOR
Capacitor or electric condenser is a device for storing an electric charge. The simplest form of capacitor consists of two metal plates separated by a non touching layer called the dielectric. When one plate is charged with electricity from a direct current or electrostatic source, the other plate have induced in it a charge of the opposite sign; that is, positive if the original charge is negative and negative if the original charge is positive. The electrical size of the capacitor is its capacitance. Capacitors are limited in the amount of electric charge they can absorb; they can conduct direct current for only instances but function well as conductors in alternating current circuits. Fixed capacity and variable capacity capacitors are used in conjunction with coils as resonant circuits in radios and other electronic equipment. Capacitors are produced in a wide variety of forms. Air, Mica, Ceramics, Paper, Oil, and Vacuums are used as dielectrics depending on the purpose for which the device is intended.

A buzzer is an audio signalling device ,which may be mechanical,electromechanical or piezoelectric.typical uses of buzzer and beepers include alarm devices, timers and confirmation of user input such as a mouse click or keystroke.

provide security for every home by implementing security system for doors using microcontroller. This project uses automated password system for opening and closing door. Microcontroller takes password inputs form keypad input and when input matches with the stored password then door will open else alarm will rise. It may also contain a pick gun which is an instrument that vibrates and push several lock pins at the same time. The main goal of this project is develop an embedded password security door lock system using microcontroller. In this project we are going to use 4x3 keypad to enter the security lock. Here microcontroller place major role which is nothing but decision of door opening. Here predefined password is stored in microcontroller. We have to write a code such that whenever password is entered from keypad if that password is matches door has to open. Otherwise buzzer has to on.This project can be used in industrial application,household applications and business application.

CONCLUSION
Our password based door lock performed as expected. We were able to implement all of the functions specified in our proposal. The biggest hurdle we had to overcome with this project was interfacing the micro controller with the hardware components. We feel that this electronic door lock is very marketable because it is easy to use, comparatively inexpensive due to low power consumption, and highly reliable. This door lock is therefore particularly useful in applications such as hotel room door locks, residential housing, and even office buildings.

FUTURE SCOPE
Future prospect of every project is dependent on variety of implementation. Modern age is about of security of every thing, from software security to our own room also. This project is about the password protected door locking system, which actually helps to avoid the unnecessary people whom we do not want and the programmable password system gives the promise of more secure system, as it can be changed to keep it private. This system can be implemented to protect bank locker, private room, meeting room in office, data storage room and also in private car.The main idea is to

BIBILOGRAPHY
[1]Muhammd Ali Mazidi 8051 microcontroller and embedded system,2nd edition [2]Chris Braithwaite 8051 microcontroller, An application based introduction [3]Ayala 8051 Microcontroller [4] D. Neamen, Electronic Circuit Analysis and Design. [5]www.keil.com/dd/docs/datashts/atmel/at89s52_ ds [6]www.ti.com/lit/ds/symlink/uln2803a.pdf

Das könnte Ihnen auch gefallen