Hello friends, today in this Project, we will make a door lock system with the help of Arduino. This system is based on a Password. We set the password in the code, and when the password is entered, if the password is wrong then the LCD backlight blinks and it shows the message "Please enter correct password". If the password is correct, then it locks the door lock and shows the message "Correct. Door lock".
The Keypad Door Lock System moves from theory to physical reality. It involves hooking up your Arduino to a heavy-duty Solenoid Lock or an Electric Strike, resulting in a system capable of securing a real door or shed.
Integrating the Password Library
Typing a 4-digit code requires storing the presses in sequence. The Keypad.h library is indispensable here.
It scans the matrix rows and columns constantly.
When you press '1', it appends the character to a String array.
When you press # (the enter key), the Arduino compares your inputted string to the saved Master Password string.
Hardware Components
Arduino Uno/Nano: The security controller.
4x3 Membrane Keypad: For entering passwords.
12V Electric Lock / Solenoid: For the physical barricade.
Power Transistor (Tip120) or Relay: To handle the high amperage required by the lock.
12V Power Supply: Separate power is required for the lock.
Advanced Modifications
Once the basic system works, you can add an EEPROM write function allowing the user to change the master password without having to re-upload code to the Arduino via a laptop. You can also add a "Hold Open" delay function.
ข้อมูล Frontmatter ดั้งเดิม
apps:
- "1x Arduino IDE"
author: "munir03125344286"
category: "Home & Automation"
components:
- "1x 12 volt battery Holder"
- "1x L298n Motor Driver"
- "1x 3.7 volt battery"
- "1x Arduino UNO"
- "1x I2c LCD Module"
- "1x Jumper wires (generic)"
- "1x Car door lock actuator"
- "1x LCD"
- "1x RGB LED"
- "1x 3x4 Keypad"
description: "Lock out intruders! Build a fully functional electronic deadbolt using a 4x3 matrix keypad and an electric strike lock."
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles:
- "https://projects.arduinocontent.cc/f48db6ee-1db6-431d-83f1-be925cb71f3e.ino"
- "https://projects.arduinocontent.cc/f48db6ee-1db6-431d-83f1-be925cb71f3e.ino"
encryptedPayload: "U2FsdGVkX18xFtHwPoIjMtqBDBolDr7/vj7A2Zat4xJ3pRKaBtiWWE33Sdso/o6+EPFHt9/km0EGu8z01V+pRirLgirHmQlkwOIuJxtiEmOeAdh5HIn/yMKY8Yio6hXRWb7ogeK7xZ5OleZJoT1tCEO4l1cBwjbb8/KHKK2ygR5vAhH7r+ubayHY2Gjnbf+eIHgrNVtBGC8ef7NbHO3uslZhvtYTCBdpmRtQy8dZrqNKcji8z1QcRfHlQh9mwBO/U+QiVD1Bsyyv/kPua59KRg=="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/keypad-door-lock-system-7b2d30_cover.jpg"
lang: "en"
likes: 5
passwordHash: "2114e47bab9542017fbd31d5bb17667e3eff0520a80d731d2364c065de7026d0"
price: 1120
seoDescription: "Create a Keypad Door lock System using Password for Arduino. A simple DIY Door lock project for beginners."
tags:
- "home security"
- "password base"
- "keypad doorlock"
- "door lock"
- "password base door lock"
title: "Keypad Door lock System"
tools: []
videoLinks:
- "https://www.youtube.com/embed/zb4NOxqTgCk"
views: 16708