1) Initialize Mode 2) Passcode Changing Mode 3) Authentication Mode
1) Initialize Mode 2) Passcode Changing Mode 3) Authentication Mode
A digital door lock is an electronic lock for residential applications such as front doors on
apartments and single-family houses and its also mechanical or electronic device for securing a
door or receptacle so that it cannot be opened except by a key or a code. The lock originated in
the Middle East; the oldest known example was found near Nineveh. Possibly 4,000 years old, it
is of the pin tumbler type, otherwise known as an Egyptian lock. The Romans were the first to
use metal locks and to make small keys for them. They also invented wards, projections in the
keyhole that prevent a key from turning unless it has slots that avoid the projections. Probably
the most familiar lock today is the cylinder lock, a pin tumbler lock opened by a flat key with a
serrated edge; the serrations raise pins in the cylinder to the proper heights, allowing the cylinder
to turn.
Also common are the unit lock, housed within a rectangular notch cut into the edge of a
door, and the mortise lock, housed in a mortise cut into the door edge, the lock mechanism being
covered on both sides. Other types include lever and combination locks. Electronic locks that
open with a magnetic card key are popular for banks, hotel rooms, and offices. Electronic locks
are locking devices which are usually associated with access control, system. They may use
magnets, solenoids, or motors to engage the lock via supplying or, removing electric current.
There are various authentication methods used with electronic, locks, such as numerical codes
(passcode), smart card, biometric, RFID etc.
Introduction
Our duo project is to create an electronic door lock for security purpose. This electronic
door locks will use motor to engage the lock and 4 - digit passcode (numerical codes) via keypad
to authenticate the system. We also using Edsim51 simulator to implement and simulate our
project. In this project we use keypad, LCD display module, green and red LED, motor and
switch of the simulator.
In this project we had divide job into 2 part (software and report). Below is the
distribution:
NO NAME TASK
1 Software, Report
2 Report
For this simulator project we have setup 3 operation mode. The mode is:
1) Initialize mode
2) Passcode changing mode
3) Authentication mode
Project Explanation
In this simulator project, our initial position is when the motor is in counter clockwise
direction when the door is closed. The first thing will appear after fulfill this condition what will
be appear on 2X16 LCD are option for change new password and unlock door. Here is the mode
that we apply:
Initialize mode
This mode will go in upon power on or during system reset. The first thing that this mode does is
checking whether the door is close. If the door is close means that the motor are in the correct
position which is the motor is align with the sensor by rotating motor in clockwise direction.
After checking process if the door is still open, the red LED will trigger for a 5 second and then
the user need to choose whether to press ‘*’ or ‘ #’ ( user choice ) .
The ‘*’ symbol will automatically go to passcode changing mode while ‘#’ symbol will go into
authentication mode. If users press other key, it will appear again the same thing in user choice
until correct input given to the systems.
Authentication mode
For ‘#’ choice, it will activate this authentication mode. Purpose of this mode is to unlock the
system for open the door. First thing in this mode is users need to key in the passcode. If the
passcode is correct so it will turn on green LED and will appear ‘LOCK OPENED!!!’ on the
same time before unlock the system by rotate 1 rotation the motor in counter clockwise.
Extra Features
In this project we try to add features to make our project goes creative and shows our works and
interests on this assignment, the feature that we add are blinking text on LCD2X16 where after
user key in wrong code for unlock the door, there the lcd will blinking text and buzzer sound. So
here is our extra feature, on assignments.
Conclusion
From the project above which is digital door lock system, where assign to us is really helpful
to us to learn a lot about microcontroller 8051. More than it, we also learn about Edsim51
software, in detail where I t might useful for us for our upcoming projects and assignments
regarding microcontroller and microprocessor soon.
In nutshell we as group member want to thank Mr. Khair our ECP2036 dedicated lecture, for
gave us opportunity to gain knowledge in these field.