Monday, November 22, 2021

Password Security Door Lock System using Arduino | Keypad | LCD | Servo Motor | Proteus 8

Today, I will share a simple door lock project using Arduino UNO, servo motor, and LCD. The system can unlock and lock the door when the correct password is entered. You can change the password and the rotation of the servo motor in Arduino IDE. 


Components:

  • Arduino
  • Keypad 4 × 3 
  • LCD 16 × 2 I2C
  • Servo motor

Steps:
  1. Add  ARDUINO UNO R3, KEYPAD-PHONE, MOTOR-PWMSERVO, LM016L, and PCF8574  to the workspace.


  2. Connect keypad row pinouts of the keypad to 5, 4, 3, and 2 pins of Arduino UNO. Then, connect keypad column pinouts of the keypad to 8, 7, and 6 pins of Arduino UNO.


  3. Connect servo motor OUT pin to Arduino UNO pin 9. Then, connect GND and VCC pins to the ground and +5V.


  4. Connect LCD RS, RW, E, D4, D5, D6, and D7 pins to the PCF8574 IC P0, P1, P2, P4, P5, P6, and P7 pins. Then, connect PCF8574 IC A0, A1, and A2 pins to the +5V. Lastly, connect PCF8574 IC SDA and SCL pins to the Arduino UNO SDA and SCL pins.


  5. Click HERE to download the Arduino project code. Extract the project code and verify.


  6. Copy the Hex file, then paste it into the Proteus Arduino board.


  7. Start the simulation

  8. If the "DOOR IS LOCKED" word appears on LCD, enter the password and press "#" to unlock.


  9. If the "DOOR IS UNLOCKED" word appears on LCD, enter the password and press "#" to lock.


  10. If the "WRONG PASSWORD" word appears on LCD, press the "*" keypad key to reset the password.


Video:


If you have any suggestions, please write in the comment section. Thank you for your time 👷.

No comments:

Post a Comment