Projects / Ideas / Keypad code lock model

Keypad code lock model

BeginnerSecurityIdeaReviewed
In short

How do you build a keypad code lock model?

A model door opens a servo when the right four-digit code is typed, as a learning model. You need Arduino Nano, 4x4 matrix keypad (membrane), SG90 Micro Servo, LED 5 mm red, LED 5 mm green, Resistor 220 Ω × 2 and Breadboard 830 Tie Points.

Level
Beginner
Time
About 180 min
Parts
7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Read a keypad and compare a code.

Parts list

How to build it

  1. Wire the keypad matrix
  2. Read key presses
  3. Compare with a stored code
  4. Move the servo
  5. Lock out after three wrong tries

Related projects

Common questions

What parts do I need for the keypad code lock model?

Arduino Nano, 4x4 matrix keypad (membrane), SG90 Micro Servo, LED 5 mm red, LED 5 mm green, Resistor 220 Ω × 2 and Breadboard 830 Tie Points.

How long does the keypad code lock model take to build?

About 180 minutes for a beginner maker.