Вы находитесь на странице: 1из 4

Password Based Door Locking

Description: Main concept behind this project is of a door-latch opening using a password entered through keypad. As well as sending this data to a computer through serial port. User can change this password anytime he/she wish using a keypad

Block Diagram:

Description: It mainly consist of following blocks 1. Microcontroller: This is the CPU (central processing unit) of our project. We are going to use a microcontroller of 8051 family. The various functions of microcontroller are like: I. Reading the digital input from Keypad II. Sending this data to LCD so that the person operating this project should read the password III. Sensing the password using keypad and to check whether it is a correct password or a wrong password and rotate the stepper motor if the password entered is a correct password. IV. Sending the data to the computer using serial port. This data consist of the status of entered password (Correct/wrong) 2. LCD: We are going to use 16x2 alphanumeric Liquid Crystal Display (LCD) which means it can display alphabets along with numbers on 2 lines each containing 16 characters. 3. PC Interfacing: We are going to use max 232 IC for pc interfacing, the values of number of persons inside the room and the status of entered password (Correct/wrong) will be sent to pc. 4. Keypad: User will enter the password using the keypad. Various keys of keypad are as following, I. 0 to 9 II. Enter III. Escape

Password Based Door Locking (AT89C2051) 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 AT89C2051 which has a 2Kbytes of ROM for the program memory. The password is stored in the EPROM 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 relay 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. The default password is 1111 and you can change the password by dialing 1234, old password, new password #button. for example if you want to change the password from the default to 4523 then dial 123411114523# after dialing you can hear a beep sound which confirm the operation goes successful. There are two relays one to open the door and other to close the door. There is an button which should be placed inside the door so that the person inside can open/close the door. The passwords are stored on the EEPROM chip. The EEPROM works on I2C technology. please refer the tutorials for the I2C interface. IC 24C02-EEPROM