Aug 23, 2009

Digital Code Lock using AT89S52


We all know about the electronic code locking security system, here is the same concept of electronic code lock using AT89S52 i.e. 8051 family of micro controller. it has a 4×3 keypad for user input of password which will be numeric and a 20×4 alphanumeric LCD is used for user interface.

There are two kind of passwords one is the user password and the other is master password. when any user try to open the lock he must enter the right password which is of 5 digits. the user will be given 3 chances to enter the correct code otherwise he will be asked for the master password which is 10 digits long

LCD Commands for 20×4 Alphanumeric LCD are as follows:

Goto first line - 0×80

Goto second line - 0xC0

Goto Third line - 0×94

Goto Fourth Line- 0xD4

Code for this project includes Keypad interfacing and logic for password check, as well as LCD routines.

Download the complete source code as well as schematic for the project.

Download Schematic PDF here

for more details visit http://www.electroons.com



No comments:

Post a Comment