Get Flat 5% Use code- *FLAT5* and Free delivery on orders above Rs 900 | * Single Delivery charges for Multiple Items *


Your Cart is Empty

Back To Shop


Your Cart is Empty

Back To Shop

Interfacing Fingerprint Sensor With Arduino – Complete Guide.

Fingerprint Sensor Module with Arduino thumbnail

Interfacing a fingerprint sensor with an Arduino can be a useful way to add biometric security to your projects. Here’s a complete guide on how to do it:

Components Needed:

  1. Arduino board (e.g., Arduino Uno)
  2. Fingerprint sensor module (e.g., Adafruit Fingerprint Sensor)
  3. Jumper wires
  4. Breadboard (optional)




You’ll need to use a library to communicate with the fingerprint sensor. One popular library is the “Adafruit Fingerprint Sensor” Here’s a basic example of how to use it:

Install Library:

Open the Arduino IDE, go to “Sketch” > “Include Library” > “Manage Libraries.” Search for “Adafruit Fingerprint Sensor” and install it.

#include <Adafruit_Fingerprint.h>



Adafruit_Fingerprint finger = Adafruit_Fingerprint(&Serial1);

void setup() {




void loop() {


 delay(1000);  // Delay between readings


void getFingerprintID() {

 uint8_t p = finger.getImage();

 if (p == FINGERPRINT_OK) {

 p = finger.image2Tz();

 if (p != FINGERPRINT_OK) {

 Serial.println(“Image conversion failed”);



    p = finger.fingerFastSearch();

    if (p == FINGERPRINT_OK) {

      Serial.println(“Fingerprint found!”);


      Serial.println(“Communication error”);

    } else if (p == FINGERPRINT_NOTFOUND) {

      Serial.println(“No match found”);

    } else {

      Serial.println(“Unknown error”);





    • The code initializes the fingerprint sensor and checks for a fingerprint match in the loop.
    • When a fingerprint is placed on the sensor, it captures the image and searches for a match.
    • The result is printed on the serial monitor.

Enrollment (Optional):

If you want to use the fingerprint sensor for identification, you need to enroll fingerprints first. Libraries often provide functions for enrolling new fingerprints into the system. Check the documentation of the specific library you’re using.


Depending on the fingerprint sensor model, you might need to modify the code and pin assignments. Refer to the datasheet and library documentation for guidance.

Safety Considerations:

Ensure that your project respects privacy and legal considerations when using biometric data. Store and handle fingerprint data securely.

This guide provides a basic understanding of interfacing a fingerprint sensor with an Arduino. For more advanced applications, consider integrating the fingerprint sensor with databases, security systems, and other devices. Always refer to the documentation provided with the fingerprint sensor and any associated libraries for accurate instructions.


Your Cart is Empty

Back To Shop