Synopsis: Locking System Using Microcontroller
Synopsis: Locking System Using Microcontroller
INTRODUCTION
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 lock is an access control system that allows only authorized persons to access a restricted area. The password is stored in such a memory device which can programmed and reprogrammed so that we can change it at any time (for eg. EEPROM). The system should have an input device (like Keypad) by which the password can be entered through it. When the entered password is same as that stored in the memory then the relay gets ON so that the door can opened.
COMPONENTS USED
1. The system comprises a number keypad which is connected to the 8 bit Microcontroller AT89C2051. Characteristics of Microcontroller It has only 20 pins and there are 15 input/output lines. The microcontroller has a program memory of 2 Kilobytes. 2. Relay switches 3. Keypad 4. EEPROM 5. Motor 6. LED 7. Capacitors, Resistances, etc
LOGIC IN BRIEF
The microcontroller continuously monitors the keypad and if somebody enters the password it will check the entered password with the password which was stored in the memory and if both are same then the microcontroller will switch on the corresponding device. Thus, this system only allows the person who knows the password and doesnt allow who dont know the password. The system will also bring to the notice of guard the person who tries to break the protection barrier by a special alarm system. If we enter a wrong password for more than three times then the Alarm is switched on.
BLOCK DIAGRAM
FLOWCHART