In this article you will learn how to make an arduino based RFID door lock system.
As this is a RFID based system, you must know what is RFID and how RFID works.
What is RFID and how does it work?
RFID is defined as Radio Frequency Identification. The digital data is encoded and saved into the RFID tags. The data in the RFID tags are read using RFID readers using Radio waves.
There are two types of RFID tags available in the market, one is Passive RFID tags and other is Active RFID tags. The main difference between the both is passive RFID tags won’t have power supply to work, and active RFID tags need power supply to work. In this project we use passive RFID tag.
To read the data in RFID tags there are RFID readers. To write data into RFID tags there are RFID writers. These passive RFID tags contains coil inside it, which help to read and write to RFID tags with Radio Frequency.
How to write Data to RFID tags?
To write data to RFID tags we use RFID writers. In this process, the RFID tag is placed near by RFID writer, then RFID writer generates radio signal which will induce the current into coil of RFID tags and stored the data in it.
How to read the Data from RFID tags?
to read the data from the RFID tags, we will place the RFID tag near by RFID reader, then RFID reader will induce the current into the coil and reads the data stored in the tag.
Now lets start our project.
- DC Jack
- 7812,7805 voltage regulators
- Arduino RFID Module (MFRC522)
- Arduino Nano
- Servo/ Door lock module
- Red LED -2, Green LED
- i2C LCD Display
- BC547 Transistor
- 1k Ohm Resistor -2
- 220 Ohm Resistor -2
- 10k Ohm Resistor -1
- 100u Capacitor
RFID Door lock system Circuit
Arduino Code Requirements
First of you need to install the MFRC522 library.
- To install library, go to Sketch -> Include Libraries -> Manage Libraries.
- Search for MFRC522 and install it.
- Download i2c LCD library and install it.
Upload the code to the Arduino Nano.
Connect Connections as shown in the circuit diagram. We know its hard to connect a lot of components, even if you tried to connect it look odd. So we designed a PCB for you, where you need to just assemble the components as plug and play, it looks professional too. What you need to do is just download the gerber file and order PCBs from a vendor.
I recommend you to order from PCBWay, as they one of the leading professional PCB manufacturer and they also offer stencil and fabrication services. You can get professional-looking PCB for a cheaper price as they offer coupons. You can redeem the coupon and order PCBs for cheaper. PCBWay also sponsors PCBs under educational PCB programs, you can try it out. PCBWay also has an amazing shared collection of PCB projects, you can join and share them as well.
That’s it guys be creative and enjoy the projects.
If you have any queries feel free to connect us on social handles Facebook