Uploaded by Eng Ahmed

Password Based Door Lock System

advertisement
Password-Based Door Lock System:
1 Project Proposal:
1.1 Objective:
This project aims to design and implement a password-based door lock system using a microcontroller.
The system will only allow access to a secured area when the correct password is entered. After a
predefined time, the door will automatically lock.
1.2 Scope:
The scope includes the hardware and software design of the door lock system, integration of a keypad
for password entry, programming the microcontroller to control the locking mechanism, and testing the
system's functionality.
1.3 Expected Outcomes: (For Us as Mentors)
The expected outcome is a functional door lock system that enhances security by requiring a password
for access to the secured area.
1.4 Timeline, Milestones, and Deliverables:
 Day 1-2: Research and Planning.
 Day 2: Procurement of Hardware and Software Setup
 Day 3-5: Hardware Design and Assembly.
 Day 5-7: Software Development and Integration.
 Day 7-9: Testing, Debugging, and Documentation.
 Total Days = Maximum Nine days. (For Mentors)
 Total Weeks = Almost Three Weeks (For Students)
2 Hardware and Software Requirements:
2.1 Hardware:







Microcontroller (e.g. ATMega32 Microcontroller as an SoC, or Arduino Uno as an SoB) (290-560 LE)
Keypad for password entry (90 LE)
Servo motor or solenoid for locking mechanism (130 LE)
Power supply (battery or adapter) (210 LE )
Locking Mechanism. ?????
Connecting wire. (20-30 LE)
PCB with electronics component (500 LE) or breadboard with electronics component (100-130
LE)
2.2 Software:


Microchip Studio IDE (Recommended) or Eclipse IDE if AVR µC is used
Arduino IDE for programming the microcontroller if Arduino “SoB” is used.
3 Design and Implementation:
The system will comprise a keypad for entering the password, a microcontroller to process the input, and
a locking mechanism controlled by the microcontroller. When a correct password is entered, the
microcontroller will activate the locking mechanism to open the door. After a specified period, the
microcontroller will automatically lock the door.
4 Testing and Debugging:
Testing will involve verifying the functionality of the password entry system, ensuring the locking
mechanism operates as intended, and debugging any issues encountered during testing.
5 Documentation (Full Documentation):
Documentation will include detailed schematics of the system's hardware components, the code
implementation, testing procedures, and any troubleshooting steps. A user manual explaining how to set
up and use the door lock system will also be provided.
By following this project proposal, we aim to create a secure and user-friendly door lock system that
enhances access control to the secured area.
Password-Based Door Lock System Documentation
1. Introduction
The Password-Based Door Lock System is designed to enhance security by allowing access to a secured
area only when the correct password is entered. This documentation provides detailed information
about the hardware components, code implementation, testing procedures, and user manual for setting
up and using the system.
2. Hardware Components
2.1. Microcontroller:
- The system is based on a microcontroller (e.g., Arduino Uno) responsible for controlling the locking
mechanism and processing password inputs.
2.2. Keypad:
- A keypad is used for entering the password. It consists of numerical keys (0-9) and a "confirm" button.
2.3. Locking Mechanism:
- The locking mechanism can be a servo motor or a solenoid, which is controlled by the microcontroller
to lock and unlock the door.
3. Code Implementation
3.1. Setup:
- Initialize the microcontroller and keypad.
3.2. Password Storage:
- Store the predefined password securely in the microcontroller's memory.
3.3. Password Entry:
- Read input from the keypad and compare it with the stored password.
3.4. Locking Mechanism Control:
- Activate the locking mechanism to unlock the door upon successful password entry.
- Automatically lock the door after a specified time interval.
4. Testing Procedures
4.1. Functional Testing:
- Verify the functionality of the keypad for password entry.
- Test the locking mechanism's ability to lock and unlock the door.
4.2. Security Testing:
- Assess the system's resistance to unauthorized access attempts.
4.3. Performance Testing:
- Evaluate the system's response time for password verification and door locking/unlocking operations.
5. Troubleshooting Steps
- Provide troubleshooting guidance for common issues such as:
- Incorrect password entry.
- Malfunctioning keypad or locking mechanism.
- Software bugs or errors.
6. User Manual
6.1. System Setup:
- Step-by-step instructions for assembling the hardware components.
- Guidance on connecting the microcontroller, keypad, and locking mechanism.
6.2. Password Configuration:
- Instructions for setting and changing the system's password.
6.3. Operating Instructions:
- How to unlock the door using the keypad and enter the password.
- Automatic locking feature after a specified time period.
6.4. Maintenance:
- Recommendations for maintaining the system's functionality and security.
7. Conclusion
The Password-Based Door Lock System provides an effective solution for access control to secured areas.
With its robust hardware components, well-designed code implementation, and thorough testing
procedures, the system ensures reliable operation and enhanced security.
Download