Home > Projects > Interfacing(USB – RS232 – I2c -ISP) Projects > Access control with Arduino plus Keypad 4×4 plus Servo

Access control with Arduino plus Keypad 4×4 plus Servo

Summary of Access control with Arduino plus Keypad 4×4 plus Servo


This article details a DIY Arduino-based access control system using a 4x4 keypad and a servo motor. The project allows users to input a password to unlock a mechanism, suitable for doors or similar applications. It outlines the necessary hardware components and provides specific wiring instructions, including resistor placement on the keypad and connections to Arduino digital pins, utilizing standard libraries for keypads and servos.

Parts used in the Access Control with Arduino plus Keypad 4x4 plus Servo:

  • Arduino UNO or similar
  • Servo motor - Large
  • KEYPAD 4X4 (or similar)
  • Proto Board
  • Breadboard jumper wire pack
  • Four resistors of 910 ohm
  • One resistor of 1k

Hi guys, I bring a new instructable for arduino, the control access with password, 4×4 keypad and a servo.

We will use the Password and Keypad librarie for arduino, besides using the servo library, but this project can also be modified by changing the servo, a motor reley or motor stepper, or any other ideas …

This project can be used in different cases, for doors, Servo action, etc..

Access control with Arduino plus Keypad 4x4 plus Servo

 

Step 2: Preparing the keypad

Well, now we must put the resistors,remember the potion of the pins of the keypad.

Output pins of keypad:

1 pin = col 1
2 pin = col 2
3 pin = col 3
4 pin = col 4

5 pin = row 1
6 pin = row 2
7 pin = row 3
8 pin = row 4

(look at the second image)

Now they must put three 910 ohm resistors on pin 1, 2 and 3 of the keypad, then put in the arduino digital pins of the NEXT form:

pins keypad  |  pins arduino
—————————————
1           |           8
2           |           7
3           |           6
4           |           9
5           |           5
6           |           4
7           |           3
8           |           2

Access control with Arduino plus Keypad 4x4 plus Servo

Major Components in Project

Step 1: The parts for the project

We will need this parts for the proyect:

Arduino UNO or similar ($29.95)
http://www.sparkfun.com/products/11021

Servo motor – Large ($12.95)
http://www.sparkfun.com/products/9064

KEYPAD 4X4 (or similar) ($7.79)
http://www.ebay.com/itm/DATA-KEYPAD-4X4-BLACK-BLACK-KEYS-4-4-Switch-Key-x-/270347954381?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item3ef1fe68cd#ht_2720wt_1037

Proto Board  ($9.58)
http://www.olimex.cl/product_info.php?currency=USD&products_id=170&product__name=Proto_Board_Bread_board

Breadborad jumper wire pack ($10.59)
http://www.olimex.cl/product_info.php?cPath=21_138&products_id=872&product__name=Breadborad_jumper_wire_pack

Four resistor of 910 ohm

One resistor of 1k

For more detail: Access control with Arduino plus Keypad 4×4 plus Servo

Quick Solutions to Questions related to Access Control with Arduino plus Keypad 4x4 plus Servo:

  • What libraries are required for this project?
    The project uses the Password and Keypad libraries for Arduino, along with the servo library.
  • Can the servo be replaced with other motors?
    Yes, the servo can be modified to use a motor relay or a stepper motor.
  • How many resistors are needed for the keypad preparation?
    You need three 910 ohm resistors placed on pins 1, 2, and 3 of the keypad.
  • Which Arduino pin connects to keypad pin 5?
    Keypad pin 5 connects to Arduino digital pin 5.
  • What is one potential use case for this project?
    This project can be used for controlling access to doors via servo action.
  • Where should the 910 ohm resistors be installed?
    The resistors must be put on pin 1, 2, and 3 of the keypad.
  • Is an Arduino UNO mandatory for this build?
    No, an Arduino UNO or a similar board can be used.
  • What component is used to process the password input?
    A 4x4 keypad is used to input the password.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top