Introduction: Keypad Door Lock

Picture of Keypad Door Lock
  • Arduino UNO
  • Breadboard
  • LCD 1602 Module
  • Potentiometer 10KΩ
  • Servo Motor
  • 4X4 Membrance Switch Module
  • Buzzer
  • Green LED
  • Red LED
  • Jumper Wires

Step 1: Add Potentiometer and LCD 1602 Module

Picture of Add Potentiometer and LCD 1602 Module
  1. Connect Potentiometer to D-33, D-34, and D-35.
  2. Connect Jumper wire to D-33 to negative rail on Breadboard.
  3. Connect Jumper wire to D-35 to positive rail on Breadboard.
  4. Connect LCD 1602 Module to J-3 - J-18.
  5. Connect Jumper wire to J-3 to negative rail on Breadboard.
  6. Connect Jumper wire to J-4 to positive rail Breadboard.
  7. Connect Jumper wire to J-5 to D-34 on Breadboard.
  8. Connect Jumper wire to J-6 to Digital Pin 12 on Arduino .
  9. Connect Jumper wire to J-7 to to negative rail on Breadboard .
  10. Connect Jumper wire to J-8 to Digital Pin 11 on Arduino .
  11. Connect Jumper wire to J-13 to Digital Pin 10 on Arduino .
  12. Connect Jumper wire to J-14 to Digital Pin 9 on Arduino.
  13. Connect Jumper wire to J-15 to Digital Pin 8 on Arduino.
  14. Connect Jumper wire to J-16 to Digital Pin 7 on Arduino.
  15. Connect Jumper wire to J-17 to positive rail on Breadboard.
  16. Connect Jumper wire to J-18 to negative rail on Breadboard.

Step 2: Add 4X4 Membrance Switch Module

Picture of Add 4X4 Membrance Switch Module
  1. Connect 4X4 Membrance Switch Module Pin 1 to Analog Pin A0 on Arduino.
  2. Connect 4X4 Membrance Switch Module Pin 2 to Analog Pin A1 on Arduino.
  3. Connect 4X4 Membrance Switch Module Pin 3 to Analog Pin A2 on Arduino.
  4. Connect 4X4 Membrance Switch Module Pin 4 to Analog Pin A3 on Arduino.
  5. Connect 4X4 Membrance Switch Module Pin 5 to Analog Pin A4 on Arduino.
  6. Connect 4X4 Membrance Switch Module Pin 6 to Analog Pin A5 on Arduino.
  7. Connect 4X4 Membrance Switch Module Pin 7 to Digital Pin 3 on Arduino.
  8. Connect 4X4 Membrance Switch Module Pin 8 to Digital Pin 2 on Arduino.

Step 3: Add Buzzer

Picture of Add Buzzer
  • Connect the Buzzer ground wire to the negative rail on the Breadboard.
  • Connect the Buzzer positive wire to Digital Pin 4 on Arduino.

Step 4: Add Red and Green LEDs

Picture of Add Red and Green LEDs
  • Connect Red LED to G-52 negative end and G-51 positive end on Breadboard.
  • Connect Jumper wire to negative rail and to J-52 on Breadboard.
  • Connect a Jumper wire to G-51 on Breadboard to Digital Pin 6 on Arduino.
  • Connect Green LED to G-57 negative end and G-56 positive end on Breadboard.
  • Connect Jumper wire to negative rail and to J-57 on Breadboard.
  • Connect a Jumper wire to G-56 on Breadboard to Digital Pin 5 on Arduino.

Step 5: Add Servo Motor

Picture of Add Servo Motor

Connect Servo Motor positive wire to positive rail on the Breadboard.

Connect Servo Motor ground wire to negative rail on the Breadboard.

Connect Servo Motor signal wire to Digital Pin 13 on Arduino.

Step 6: Connect Power and Ground

Picture of Connect Power and Ground
  1. Connect Jumper wire to 5v pin on Arduino to the positive rail on the Breadboard.
  2. Connect Jumper wire to GND pin on Arduino to the negative rail on the Breadboard.
  3. Connect Jumper wire to negative rail on the Breadboard to the other negative rail on the Breadboard.
  4. Connect Jumper wire to positive rail on the Breadboard to the other positive rail on the Breadboard.

Step 7: Code

Comments

db9pz (author)2017-12-07

That's very compact you write. Where is an explanation what the servo will do? Where can I See what ist writing in the display? How many "numbers" do I need to open and/or, close a door, or what ever you want? Perhaps a video will tell, so much more,... please make some additions. Best season greetings, and a merry x-mas! Markus ; db9pz

About This Instructable

633views

22favorites

License:

More by Selfcj:Servo PositioningLED ControlKeypad Door Lock
Add instructable to: