π 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