Arduino RFID Entry System
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
OLED 0.96” x1
RFID RC522 receiver x1
Power Converter x1
Electric Door Strike x1
Connector wires x10
Connect the RFID Reader to Arduino
RFID uses I2C interface.
Also it runs on 3.3v not 5v
Connect the pins
Also it runs on 3.3v not 5v
Connect the pins
Connect the OLED Display
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
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
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.
This was a really fun project. It is in use now at our Makerspace in Kentucky.