Skip to main content

Posts

Showing posts from August, 2017

Arduino password protected door lock system

It is a password protected door lock project using arduino
Press # for clear then press the password ( in my case it is 1234)
and press * (star) for confirm.
now servo motor on and door lock will open .after 5 sec it will automatically close.



Parts need-

arduino uno
4x4 Matrix  keyboard
servo motor
jumper wire
power bank or battery for power supply
bread board
normal door lock
resistor 220 ohms


Connection -

key pad pin            Arduino digital pin

      1             to              9  
      2             to              8
      3             to              7
      4             to              6
      5             to              5
      6             to              4
      7             to              3
       8            to              2


green led to arduino digital pin 11

red led to arduino digital pin 12

led ground via 220 ohom resistor

servo signal to arduino digital pin 13


                        Connection Diagram




Arduino code--





#include <Password.h> //http://pl…