
🔐 RFID Door Lock with OLED & Servo | KitKraft Arduino Security Project
📌 Introduction
In this DIY security project, we will create an RFID-based Door Lock using an Arduino Nano, an RC522 RFID reader, an OLED display, and a Servo motor. This system enhances security by unlocking the door only when an authorized RFID tag is scanned. The OLED display will provide real-time status updates like "Scan Card," "Verifying...", and "Door Unlocked."
This project is perfect for home automation, offices, or personal security setups. Let's dive into the components and the step-by-step guide!
🛠️ Components Required
-
Arduino Nano – The brain of the project
-
RC522 RFID Module – Reads RFID cards & tags
-
0.96" OLED Display – Displays system status
-
SG90 Servo Motor – Controls the door lock
-
Jumper Wires – For circuit connections
-
Breadboard – For prototyping
-
Authorized RFID Cards/Tags – Used for unlocking
⚙️ How It Works
-
System starts with the door locked – The servo remains at 0°.
-
OLED displays “Scan Card” – Waiting for an RFID tag.
-
User scans an RFID tag – The system reads the tag’s unique ID.
-
Verification Process:
-
If the card matches the stored ID → "Door Unlocked!" appears on the OLED, and the servo moves to 90° (Unlocked).
-
If the card is invalid → "Access Denied!" is displayed, and the door remains locked.
-
-
Auto Lock: After 5 seconds, the servo returns to 0° (Locked) position.
🔌 Circuit Connections
-
RC522 RFID Module
-
VCC → 3.3V (Arduino Nano)
-
RST → D9
-
GND → GND
-
MISO → D12
-
MOSI → D11
-
SCK → D13
-
SDA → D10
-
-
OLED Display (SSD1306)
-
VCC → 5V (Arduino)
-
GND → GND
-
SDA → A4
-
SCL → A5
-
-
Servo Motor (SG90)
-
VCC → 5V
-
GND → GND
-
Signal → D6
-
💾 Arduino Code & Schematic
Find the complete code & circuit diagram on our GitHub repository:
https://github.com/kitkraftin/Arduino_rfid_door.git
🚀 Demo & Practical Use
This RFID door lock system is ideal for DIY smart home projects, office security, or locker access. You can also modify the project by adding:
-
A buzzer for sound alerts 🚨
-
An EEPROM to store multiple RFID tags 🏷️
-
A relay module for controlling an electric door lock 🔒
📢 Watch the Video Tutorial
🎥 Check out our YouTube Shorts demonstration here: https://youtube.com/shorts/Pg8m_zXmk8w
🛒 Get your DIY electronics kits at www.kitkraft.in.
Stay tuned for more Arduino security & automation projects! 🚀💡
#Arduino #RFID #SmartLock #DIY #Security #HomeAutomation #KitKraft #Kitkraftindia