Description: This example illustrates how to use the 8051, LCD display and 4 ⅹ 4 small keyboard, create a password lock. PORT 1 to connect to the LCD display data. PORT 3 of P3.3, P3.4 and P3.5, respectively, connected to the control line LCD display. Connected to the PORT 2 of 4 ⅹ 4 small keyboard, you can enter a password. Change Password or time to implement the program, first of all, let LCD display shows time and date.
When the user press the keypad 4 ⅹ 4 button A, you can enter a password. If the password is correct, it will allow the LED flashes P3.6 that lock open. If the password is incorrect when, LCD display will show
"PASSWORD WRONG".
When the user press the keypad 4 ⅹ 4 button B can be modified.
When the user press the keypad 4 ⅹ 4 button C, can modify the password.
File list (Check if you may need any files):
lock.doc.wps