{"id":27641325,"url":"https://github.com/diegograham/key-pad","last_synced_at":"2026-05-02T02:36:36.075Z","repository":{"id":289525493,"uuid":"971557926","full_name":"diegograham/Key-Pad","owner":"diegograham","description":"An Arduino-based door lock system with a 4x4 keypad for password entry, LCD for status display, and a relay to control the lock. It includes audible feedback with a buzzer and locks out after three incorrect password attempts.","archived":false,"fork":false,"pushed_at":"2025-04-23T18:19:54.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T18:44:20.271Z","etag":null,"topics":["arduino","doorlock","electronics","embeded-systems","keypad","lcd","relay","security"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diegograham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-23T17:49:10.000Z","updated_at":"2025-04-23T18:21:57.000Z","dependencies_parsed_at":"2025-04-23T18:44:20.950Z","dependency_job_id":null,"html_url":"https://github.com/diegograham/Key-Pad","commit_stats":null,"previous_names":["diegograham/key-pad"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegograham%2FKey-Pad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegograham%2FKey-Pad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegograham%2FKey-Pad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegograham%2FKey-Pad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegograham","download_url":"https://codeload.github.com/diegograham/Key-Pad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535057,"owners_count":21446503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","doorlock","electronics","embeded-systems","keypad","lcd","relay","security"],"created_at":"2025-04-23T23:43:48.764Z","updated_at":"2026-05-02T02:36:36.044Z","avatar_url":"https://github.com/diegograham.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino Door Lock with Keypad\n### By: Diego J. Graham\n\n## Description\n\n**Arduino Door Lock with Keypad** is a security system project that allows users to input a password through a 4x4 membrane keypad. Once the correct password is entered, the lock opens (via a relay), and the system provides audible feedback through a buzzer and displays the status on an LCD. If an incorrect password is entered three times, the system locks out and displays a \"Break in Detected\" message, requiring a reset.\n\n---\n\n## Features\n\n- User input is gathered via a 4x4 membrane keypad.\n- LCD display shows user input (hidden as `*` symbols) and status messages.\n- Relay switches to open/close the lock.\n- Buzzer provides feedback on button presses, errors, and access granted.\n- The system allows for a 5-digit password and hides the user input for privacy.\n- Incorrect password attempts are tracked, and after 3 failed attempts, the system locks out.\n- \"Break in Detected\" message is shown, and the system must be reset.\n\n---\n\n## How It Works\n\n1. The user enters a password on the keypad.\n2. The password is displayed on the LCD as `*` symbols (or the actual password if visibility is toggled).\n3. After the user presses `#` or `*` to submit the password:\n   - If the password matches, the lock is opened, and a success message is displayed.\n   - If the password is incorrect, an error message is shown, and the system allows another attempt.\n4. After three incorrect attempts, the system locks out, displaying a \"Break in Detected\" message and requiring a reset.\n\n---\n\n## Required Libraries\n- LiquidCrystal - handles the LCD display.\n- Keypad - handles keypad input.\n\n---\n\n## Components Used\n\n- Arduino MEGA (or compatible board)\n- 4x4 Membrane Keypad\n- 16x2 LCD Display\n- Active Buzzer\n- SRD-05VDC-SL-C Relay\n- 10k ohm potentiometer\n- Jumper Wires\n- Breadboard\n\n---\n\n## Schematic\n\nA complete schematic for wiring the components is included in the repository.\n\n---\n\n## Getting Started\n\n1. Clone the repository.\n2. Open `Keypad.ino` in the Arduino IDE.\n3. Connect the components according to the schematic.\n4. Upload the sketch to your Arduino board.\n5. Use the keypad to enter the password and interact with the system.\n\n---\n\n## Notes\n\n- The default password is `12345`. Change it in the `PASSWORD` array in the code for your own security.\n- The system allows for a maximum of 3 incorrect password attempts before locking out.\n- The relay pin and buzzer pin are set to pins `6` and `5` respectively.\n- The keypad wiring should correspond to the `rowPins` and `colPins` in the code.\n- The lock time duration is set to 5 seconds (modifiable in the `LOCKTIME` variable).\n\n---\n\n## Future Improvements\n\n- Add support for password reset functionality.\n- Implement a logging system to track user access attempts.\n- Improve the security of the system by supporting more complex passwords.\n\n---\n\n## License\n\nThis project is open source and free to use with credit.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegograham%2Fkey-pad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegograham%2Fkey-pad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegograham%2Fkey-pad/lists"}