Access Control System With 555 Timer, RFID, LCD, and Keypad

by ssnomercy in Circuits > Arduino

626 Views, 3 Favorites, 0 Comments

Access Control System With 555 Timer, RFID, LCD, and Keypad

image_6483441.JPG

In this project, I will be showing you how to create a Keypad RFID Door Access. They've been commonly seen in hotels and apartments. With this project, you will be able to understand how hotels/apartment buildings are able to add this security to prevent unwanted visitors and maybe use it to lock any areas in your home that need that added security. Let's get started!

Step 1: Order Your Components

dasdfsadfsafsdfasd.jpg

To build this project you will need the following parts linked below. Since these are all common parts you can usually find them in kits for cheap!

Amazon.ca:
Kit including the first 14 items: https://www.amazon.ca/Freenove-Raspberry-Processin...

1 x Arduino UNO R3: https://www.amazon.ca/Elegoo-Board-ATmega328P-ATME...

1 x RFID-RC522 Card Reader Module: https://www.amazon.ca/IZOKEE-RFID-RC522-13-56MHz-A...

1 x RFID Tag: Link Above
1 x I2C LCD1602 Display: https://www.amazon.ca/SunFounder-Serial-Module-Dis...

1 x SG90 Micro Servo Motor: https://www.amazon.ca/Miuzei-Helicopter-Airplane-R... (any servo to open a door will do)
1 x 16v 10 Microfared Capacitor: https://www.amazon.ca/Value-Electrolytic-Capacitor...

1 x Buzzer: https://www.amazon.ca/Gikfun-Terminals-Passive-Ele...

1 x Potentiometer: https://www.amazon.ca/Gikfun-Knurled-Linear-Potent...

1 x 4*4 Keypad: https://www.amazon.ca/Matrix-Membrane-Switch-Conne...

1 x 5mm Red, Green, and Blue LED: https://www.amazon.ca/Gikfun-Assorted-Arduino-100p...

4 x 330-ohm Resistors: https://www.amazon.ca/EDGELEC-330-ohm-%C2%B11-Resi...

1 x Active Buzzer: https://www.amazon.ca/Gikfun-Terminals-Passive-Ele...

1 x 400 Pin Breadboard: https://www.amazon.ca/Breadboard-Solderless-Protot...

A couple of jumper cables (male to male / female to male): https://www.amazon.ca/Breadboard-Solderless-Protot...

1 x 555 Timer: https://www.amazon.ca/Robojax-NE555-Timer-DIP-8-ch...

Step 2: Wiring

RFID Keypad Door Access.png
anakak.jpg

I created my circuit through TinkerCAD just follow the wiring schematic. https://www.tinkercad.com/things/btrCfi1ohSl-copy-...

It's important to note that the RFID Reader uses 3.3V NOT 5V. Make sure to send the right voltage or you may perminantely damage your RFID Reader. When connecting polarized capictors make sure to plug them into your breadboard correctly or you may damage them perminately as well.

For the connections incase you aren't able to read them below I have every connection necciccary.
Keypad:
Row 1: A0
Row 2: A1
Row 3: A2
Row 4: A3
Column 1: D2
Column 2: D1
Column 3: D0

LCD:
SDA: A4
SCL: A5
VCC: 5V
GND: GND

RFID:
3.3V: 3.3V
RST: D9
GND: GND
IRQ/SOI: None
MISO: D12
MOSI: D11
SCK: D13
SDA: D10

Servo:

GND: GND
Power: 5V
Signal: D3

Green LED: D7
Blue LED: Powered
Red LED: D6

555 Timer: D5
Power: D5 and Reset
Discharge: 5V and Wiper of Potentiometer
Threshold: Trigger and Terminal 2 of Potentiometer
Control Voltage: None
Ground: GND
Trigger: Threshold and Positive end of Capacitor
Out: Buzzer
Reset: Power

Buzzer:
Power: Out
Ground: GND

Notes:

Make sure your LCD is at your desired brightness. Use the blue dial to change the brightness. The servo can be replaced with any mechanism to open an actual door.

Step 3: Coding

I'll link the code I used below but there are some things you need to note:

Make sure all your components are connected to the right pins, otherwise change the variables.

I won't completely go over the code since it's relatively self-explanatory however before uploading you want to change your "tagUID" to your specific RFID Card. You can use the serial monitor as it prints all UID's.

You can also change the initial password to whatever you'd like (6543, 4352).

Step 4: Enjoy

Summative Engineering Project

Watch the video to see how the Arduino operates! Thanks for reading!