Iot 8
Iot 8
Objective: To develop a secure and efficient smart door lock system using RFID
technology, enabling authorized access through contactless RFID cards or tags,
enhancing security and convenience for residential or commercial applications.
Input/Apparatus Used:
1. 1 × Arduino Uno R3
2. 4 × Jumper Wires
3. 1 x RFID Sensor
Procedure:
CODE:
#include <SPI.h>
#include <MFRC522.h>
#define SS_PIN 10
#define RST_PIN 9
#define RELAY_PIN 8
void setup() {
Serial.begin(9600);
SPI.begin();
mfrc522.PCD_Init();
pinMode(RELAY_PIN, OUTPUT);
void loop() {
if (!mfrc522.PICC_IsNewCardPresent() || !mfrc522.PICC_ReadCardSerial()) {
return;
}
Serial.print("UID: ");
Serial.println(uid);
mfrc522.PICC_HaltA();
}
Fig 1.2 – Using RFID Sensor for sensing the Locking System.
Conclusion:
In conclusion, creating a smart door lock system using RFID technology provides a secure, convenient,
and efficient solution for controlling access. By utilizing RFID tags and readers, the system can identify
authorized users and unlock the door automatically, eliminating the need for traditional keys.
Additionally, the system can be enhanced with features such as real-time access logs, remote
management, and integration with other smart home devices, further enhancing security and user
experience. This project demonstrates the potential of RFID technology in modern security applications
and serves as a practical approach to smart home automation.