Arduino RFID Entry System

by philtrim in Circuits > Arduino

181 Views, 0 Favorites, 0 Comments

Arduino RFID Entry System

957BDE03-4D4F-4E05-ACD8-2B5606B28472.jpeg
2DEF1DDC-B7C4-40CA-9AD7-5AE2E5D35A89.jpeg
This is a simple RFID Entry system. It is setup using a standard Arduino UNO or clone. It also uses an RFID receiver along with an OLED for displaying information.

Supplies

Arduino x1
OLED 0.96” x1
RFID RC522 receiver x1
Power Converter x1
Electric Door Strike x1
Connector wires x10

Connect the RFID Reader to Arduino

305DF693-E8A6-4013-B1F4-AC59F811A1B1.jpeg
659D4F93-B3E6-4B4E-91B7-715F6FE2F43E.jpeg
RFID uses I2C interface.
Also it runs on 3.3v not 5v
Connect the pins

Connect the OLED Display

0BD26D53-9A17-4330-BA60-4C90CAC3B3E1.jpeg
7A7234A5-BC20-4BDB-ADE0-52828E4B6028.jpeg
The OLED display uses 4 pins.
It uses 5v for power.

OLED SCL pin to Arduino pin 5
OLED SDA pin to Arduino pin 4
OLED GND to Arduino GND
OLED VCC to Arduino 5v

Wire Up Electric Door Strike to Power Converter

0B79EFEC-6049-47BB-90AC-8AA5A75F017F.png
5CDC582E-583B-4DC2-961F-A7E73618DB98.png

Follow instructions that came with the power converter and door strike. On the converter you need to have the control connection running to pin 8 on the Arduino. This is the pin that gets set HIGH when the correct card is read on the rfid reader.

Arduino Code Setup

I took code from the RFID website to learn how to read the cards. I took a stack of cards and read the ID for each. I put these card ids in an array and it loops continuously through the array looking for one of these cards. If the correct card is scanned and matches one in this list then it sends signal to Arduino Pin 8 to open the door strike thus unlocking the door. If or while no cards are scanned or incorrect card is presented, door stays locked.

This was a really fun project. It is in use now at our Makerspace in Kentucky.