Skip to content
BeginnerUnoarduinorfidrc522

Arduino RFID Door Lock with Access Log & LCD Display

Build a complete RFID access control system with Arduino, RC522 reader, LCD feedback, solenoid lock, and access logging via Serial. Works for doors, drawers, and cabinets.

SolderHub10/17/2026 10 min read 0 views

Why This Project Matters

RFID systems are everywhere — offices, hotels, gyms, parking lots. Understanding how they work from scratch, at the hardware level, gives you a serious edge whether you're learning electronics or building a real access control system.

This project teaches SPI communication, EEPROM storage, relay control, and basic security concepts all in one build.


Parts List

ComponentNotes
Arduino Uno/NanoNano preferred for compact builds
RC522 RFID ReaderSPI interface, 3.3V logic
RFID cards/fobsUsually included with RC522 kit
16x2 LCD (I2C)4-pin I2C version, much easier to wire
5V Solenoid Lock12V version also works with external supply
5V Relay ModuleTo drive the solenoid
Red + Green LEDVisual status indication
BuzzerActive buzzer, not passive

Wiring

RC522 → Arduino (SPI)

RC522Arduino Uno
SDAPin 10 (SS)
SCKPin 13
MOSIPin 11
MISOPin 12
RSTPin 9
3.3V3.3V
GNDGND

LCD (I2C) → Arduino

  • SDA → A4, SCL → A5, VCC → 5V, GND → GND

Relay → Arduino

  • IN → Pin 4, VCC → 5V, GND → GND

Complete Code

C++

Getting Your Card's UID

Upload the code, open Serial Monitor at 9600, and scan your card. The UID will print. Copy it into the authorizedUIDs array.

Build Sheet

Take this build with you

We'll email you the parts list for Arduino RFID Door Lock with Access Log & LCD Display, with buy links and the Wokwi and source links, so you can order and build later. You'll also get new builds as they're published.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.

Q&A is currently disabled site-wide.

Related projects