Password Controlled Door Opener with Arduino
This report details the development of a password-controlled door opener system using an Arduino Uno microcontroller, a 4×4 keypad for password input, a 16×2 LCD for displaying messages, a servo motor for actuating the door mechanism, and a buzzer for audio feedback.
Components
- Arduino Uno microcontroller
- 4×4 Keypad
- 16×2 LCD display
- Breadboard
- Servo motor (e.g., SG90)
- Buzzer
- Jumper wires
- 5V DC power supply
System Functionality
- User Input: The user enters a 6-digit password using the 4×4 keypad.
- Password Check: The Arduino compares the entered password with a pre-defined password stored in its code.
- Correct Password:
- The servo motor rotates to a designated angle, unlocking the door mechanism (e.g., turning a latch).
- A message confirming successful access appears on the LCD.
- The door remains open for 5 seconds.
- The servo motor then rotates back to its original position, re-locking the door.
- Incorrect Password:
- An “Incorrect Password” message displays on the LCD.
- The buzzer sounds for 4 seconds to provide audio feedback.
- The system remains in standby mode, awaiting a new password attempt.
Hardware Connections
- Connect the 4×4 keypad to the Arduino according to its pinout diagram.
- Connect the LCD display to the Arduino using its I2C interface or digital pins.
- Connect the servo motor’s control pin to a digital pin on the Arduino.
- Connect the buzzer to a digital pin on the Arduino.
- Ensure all components share a common ground connection.
- Power the system using the 5V DC power supply.
Software Development
- Include necessary libraries for keypad, LCD, and servo control in your Arduino code (e.g., Keypad.h, LiquidCrystal.h, Servo.h)
- Define the correct password as a character array in your code.
- In the setup() function, initialize the keypad, LCD, servo motor, and buzzer.
- In the loop() function:
- Read the entered password from the keypad.
- Compare the entered password with the stored password.
- If passwords match:
- Control the servo motor to open the door.
- Display a success message on the LCD.
- Use a delay() function to keep the door open for 5 seconds.
- Control the servo motor to close the door.
- If passwords don’t match:
- Display an “Incorrect Password” message on the LCD.
- Activate the buzzer for 4 seconds.
Report Conclusion
This project demonstrates a basic password-controlled door opener system using readily available components. The system offers a simple and secure solution for access control applications.
Further Enhancements
- Implement a mechanism for password reset in case it’s forgotten.
- Integrate a real-time clock module to allow for time-based access control.
- Utilize an RFID module for contactless password entry.
- Employ a more robust door locking mechanism for increased security.
Safety Considerations
- Ensure the chosen servo motor has sufficient torque to handle the door mechanism’s weight and friction.
- Design the door opening mechanism to prevent injuries during operation.
Reviews
There are no reviews yet.