MissionX Logo
Junkbot

Keypad-Protected Door Lock

School G11 — Specialized Tech Missions

: Interface a 4x4 (or 3x4) matrix keypad with your Arduino. Decide on a secret code (for example, “1 2 3 4”). Program the Arduino to listen for key presses and store the sequence entered. If the corr...

Keypad-Protected Door Lock

Mission Description

  • Context: Many electronic safes and doors use PIN codes for entry. Create a Keypad-Protected Door Lock system to secure a locker or box, which only opens when the correct code is entered.
  • Task: Interface a 4x4 (or 3x4) matrix keypad with your Arduino. Decide on a secret code (for example, “1 2 3 4”). Program the Arduino to listen for key presses and store the sequence entered. If the correct PIN is entered, activate a servo motor that unlocks or opens the mini door latch, and maybe flash a green LED with an “Unlocked!” message on an LCD. If the code is wrong, flash a red LED and keep the door locked (servo doesn’t move to unlock), perhaps displaying “Wrong Code” and even sounding a short alert buzz. Include a clear or reset function to retry.
  • Expected Output: An electronic combination lock. In a live test, pressing the sequence 1-2-3-4 on the keypad (followed by “#” or another key if you program it as an enter key) should result in the servo turning to the unlock position – visibly opening the latch – and a confirmation beep. Entering any other random sequence causes a red LED blink and no movement on the lock. This mission mimics real security systems found on doors and vaults, underscoring programming logic and the importance of cybersecurity basics (like needing the right code).

Student Goal

: Interface a 4x4 (or 3x4) matrix keypad with your Arduino. Decide on a secret code (for example, “1 2 3 4”). Program the Arduino to listen for key presses and store the sequence entered. If the correct PIN is entered, activate a servo motor that unlocks or opens the mini door latch, and maybe flash a green LED with an “Unlocked!” message on an LCD. If the code is wrong, flash a red LED and keep the door locked (servo doesn’t move to unlock), perhaps displaying “Wrong Code” and even sounding a short alert buzz. Include a clear or reset function to retry.

Mission Information

Status
Open
Deadline
December 31, 2025
Category
School
Grade
G11 — Specialized Tech Missions
Rewards
Recognition, Internships, Prizes

Presented by

Junkbot

Junkbot

UAE

Visit Website

Ready to Join This Mission?

Take on the challenge and make a difference with Keypad-Protected Door Lock.