Search

Arduino Rfid Based Door Lock

About the project

The RFID Door Lock is the lock that can be installed simply at your home and allows to easily lock and unlock doors.

Project info

Difficulty: Moderate

Platforms: Arduino

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Arduino MKRFOX 1200 Arduino MKRFOX 1200 x 1
EM 18 RFID reader module EM 18 RFID reader module x 1
Relay Relay x 1
LED LED x 1
Buzzer Buzzer x 1
Connecting Wires Connecting Wires x 1

Software apps and online services

Arduino IDE Arduino IDE

Story

About Project:

EM-18 RFID reader works at 125 kHz and it comes with an on-chip antenna and it can be powered with 5V power supply. It gives serial output along with Weigand (Wiegand is the most popular communication method utilized by access control devices)output. The range is around 8-12cm. serial communication parameters are 9600bps, 8 data bits, 1 stop bit.

The output provided by EM-18 RFID reader is in 12 digit ASCII format.

IoT Course will give you a thorough view of all IoT devices.

EM-18 Reader Module

EM-18 Reader Module

EM-18 Reader Module

The RFID system contains two components: an RFID tag and a Reader. An antenna is for sending the data to the RFID reader module. Whenever the RFID tag arrives in the range of RFID reader, RF signal power the tag and then tag begins sending data serially. Data is further accepted by the RFID reader and the reader transfers it to the Arduino board. After that as per the code, the different tasks will perform.

In this circuit, we have saved the value of the RFID tag in the code. So, whenever that specific tag comes in range, the relay gets initiated. Whenever the Relay gets initiated the smart door lock will be opened.

If we scan any other RFID card than a specific tag, the buzzer will begin to beep as it’s the wrong RFID tag

Schematics and circuit diagrams

Arduino RFID door lock

Code

Run a program

Credits

Leave your feedback...