Arduino Projects

RFID & Fingerprint based Advanced Security System using Arduino

Advanced Security System:

RFID & Fingerprint based Advanced Security System using Arduino- Here is the Advanced Security System based on the PN532 RFID module, R557 Fingerprint module, Electronic Door Lock, I2C supported 16×2 LCD, 5V SPDT type relay and the Arduino Nano. Instead of using the Arduino Nano; you can also build the same project using Arduino Uno, Arduino Mega, and Arduino Pro Micro etc.

You might have seen in movies that, to open a door or a locker, two persons’ verification is required. So, this project also relies on a similar concept.

Because, in order to control this electronic door lock, you will need to perform both Fingerprint verification and scan an RFID card. If either of these steps is missing, the Door Lock will not open.




And not only that, you have only 15 seconds to complete both the RFID and Fingerprint verification. The 15 seconds time duration can be changed in the programming. So, anyway, after scanning the RFID card the 15 seconds timer is activated; the next person has to complete the Biometric verification within 15 seconds, otherwise, the system will reset. This is what makes this security system an advanced security system.

Advanced Security System

As usual, I am using my designed Arduino Nano and LoRa based development board, because it already has most of the electronics components which are needed for this project. It has a 5V and 3A powerful regulated power supply, an Oled display module, and 5V relays. Out of these 4 relays, I am using only 1 relay to control an electronic door lock.

Although this board has an Oled display module which I could use, but I have already used it in so many projects, so this time I decided why not to use this i2c supported 16×2 LCD.

Advanced Security System



So, anyway, you can see the project is ON, and you can see the message RFID Card is printed on the LCD. So, first we will need to scan the RFID card.

Advanced Security System

After scanning the RFID card the message “Place Finger” is printed on the 16×2 LCD. Now, we have 15 seconds to complete the biometric verification, let’s just not place the finger and let’s see what happens.

During the 15 seconds time duration, I didn’t place my finger, and the program automatically reset.

Advanced Security System

You can see the system is reset and again you can see the message RFID Card. It didn’t open the Door Lock. This is pretty amazing as the system is working.



This time round, let’s go ahead and complete both the verification steps and let’s see if the Electronic Door lock is going to open. So, first, I am going to scan my RFID card and then I will place my finger on the FingerPrint Module.

Advanced Security System

This is awesome, you can see the Electronic Door Lock just opened. Anyway, you can further modify this advanced security system. You can turn ON a buzzer if someone places a wrong finger or scans an invalid RFID card.

I am sure by now, you might have got an idea of how does this system work. So, without any further delay let’s get started!!!



Amazon Links:

Arduino Nano USB-C Type (Recommended)

PN532 RFID Module

R557 FingerPrint Module

Electronic Door Lock

I2C supported 16×2 LCD

Other Tools and Components:

ESP32 WiFi + Bluetooth Module (Recommended)

Top Arduino Sensors:

Super Starter kit for Beginners

Digital Oscilloscopes

Variable Supply

Digital Multimeter

Soldering iron kits

PCB small portable drill machines

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!




Advanced Security System Circuit Diagram:

For the technical specifications, Pinout, and how to get started with the PN532 RFID and R557 Fingerprint module, I highly recommend, you guys should read my getting started articles on these modules. Anyway, let me explain the connections.

Advanced Security System

Connect the RED and Yellow wires of the R557 Fingerprint module to the Arduino 3.3V. Connect the White wire to the Arduino GND. Connect the Green and Blue wires to the Arduino digital pins D2 and D3 respectively.

Connect the VCC and GND pins of the PN532 RFID module to the Arduino Vin and GND pins. The Vin and GND pins on the Arduino are connected to the 5V and 3A regulated power supply. So, apart from the Fingerprint module all the other electronics are powered up using this power supply. So, anyway, the SDA and SCL pins of the PN532 RFID module are connected to the Arduino A4 and A5 Pins. A4 is the SDA and A5 is the SCL.

This is the i2c version of the 16×2 LCD because it has this driver on its backside so you don’t need to connect a lot of wires. You only need to use 4 wires. All the 4 pins are properly labeled with GND, VCC, SDA, and SCL. Simply connect the VCC and GND pins to the Arduino Vin and GND pins; and connect the SDA and SCL pins to the Arduino A4 and A5 pins. A4 is the SDA and A5 is the SCL.

Connect the VCC and GND pins of the relay module to the Arduino Vin and GND pins. Connect the input pin to the Digital Pin 5 on the Arduino. Let me also tell you, this is a 5V SPDT type relay.

The GND wire of the the 12Vdc Electronic Door Lock is directly connected to the GND of 12Vdc power supply, whereas the Red wire of the Electronic Lock is connected to the 12V power supply voltage wire through this relay.

The Vin and GND wires in the circuit diagram are connected to the external 5V power supply.

Advanced Security System

Now let’s install the required libraries for the R557 fingerprint and the PN532 RFID modules.



Altium Designer, Altium 365, & Octopart:

Arduino LoRa Free SMS

Altium Designer is the world’s most trusted PCB design system. Altium Designer enables engineers to effortlessly connect with every facet of the electronics design process. Over 35 years of innovation and development focused on a truly unified design environment makes it the most widely used PCB design solution. With Altium Designer you can create PCB designs with an intuitive and powerful interface that connects you to every aspect of the electronics design process. Route it your way through any angle, tune for the delay, Push, Slide, and Walkaround faster than ever.

Easily work together with your mechanical team and forget about the days of swapping design files. Every design change stays in sync between Altium Designer and SOLIDWORKS, PTC Creo, Autodesk Inventor, Autodesk Fusion 360, or Siemens NX*.

Interact and collaborate with mechanical designers like never before in a photo-realistic, 3D design environment.

One of the best things about Altium Designer is that you can share your designs with your team members using Altium 365. They can check your design, leave comments, and if there are any issues, they can fix them from anywhere in the world. Altium Designer also uses the world’s fastest components search engine, Octopart, so you won’t have any difficulty in searching for components.

Altium Designer, Altium 365, and Octopart—unleashes the full potential of electronics design by seamlessly integrating design tools, collaboration platforms, and component databases. Together, they offer engineers a comprehensive and synchronized experience, leading to improved productivity, reduced errors, and accelerated innovation in the world of electronics design.



Required Libraries:

For this open the Arduino IDE. Click on the Sketch Menu, go to Include Library, and click on the manage libraries.

Advanced Security System

Search for the Adafruit_fingerprint library and install it.

Advanced Security System

You can see the Adafruit Fingerprint Sensor Library has been installed.

You will also need to install the LiquidCrystal_i2c library.

Advanced Security System

You can see I have also installed this library.

Download PN532 RFID Module Library:

Simply download the above WinRAR folder, extract it, and double-click to open the folder.

Advanced Security System

You can see inside this folder we have all the required libraries, so simply copy these folders and paste them into the Arduino libraries folder.



Advanced Security System Programming:

This is the final program and there isn’t anything complicated, I have just combined the two projects. I am going to remind you one more time, you need to watch my getting started videos on the R557 Fingerprint module and the PN532 RFID module. Because, for this project you will need to enroll your finger and then you will be able to use the finger ID. I have covered this in the getting started video. Anyway, most of the instructions are well commented and I am sure you won’t face any issues.




Watch Video Tutorial:

Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Related Articles

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button