Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use finger print sensor: Examples, Pinouts, and Specs

Image of finger print sensor
Cirkit Designer LogoDesign with finger print sensor in Cirkit Designer

Introduction

The Keyestudio Fingerprint Sensor is a biometric device designed to capture and verify an individual's fingerprint for authentication purposes. It is widely used in security systems, access control, and mobile devices to enhance security and provide a convenient, password-free user experience. This sensor uses optical technology to scan and store fingerprints, making it a reliable and efficient solution for biometric identification.

Explore Projects Built with finger print sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Mega 2560 Biometric Security System with Wi-Fi Connectivity
Image of Health Monitoring Device (Collab): A project utilizing finger print sensor in a practical application
This is a multi-functional sensor system controlled by an Arduino Mega 2560, designed to read biometric data from a pulse oximeter and an infrared thermometer, authenticate using a fingerprint scanner, display information on an OLED screen, and transmit data wirelessly via an ESP8266 module. User inputs can be received through two pushbuttons, and the system's power distribution is managed through common ground and voltage supply nets.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Based Fingerprint Access Control System with LCD Display
Image of FINGERPRINT_DOOR_LOCK/UNLOCK: A project utilizing finger print sensor in a practical application
This circuit is a fingerprint-based access control system. It uses an Arduino UNO to interface with a fingerprint sensor and a 20x4 I2C LCD panel for user interaction, and controls a 12V solenoid lock via an IRFZ44N MOSFET. The system allows users to enroll and verify fingerprints, displaying status messages on the LCD and actuating the solenoid lock upon successful verification.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Fingerprint Sensor and SD Card Module for Secure Data Storage
Image of FingerPrint: A project utilizing finger print sensor in a practical application
This circuit is a fingerprint capture and storage system using an ESP32 microcontroller. It interfaces with a fingerprint sensor to capture fingerprint images and stores them on an SD card. A pushbutton is used to trigger the fingerprint capture process.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560-Based Biometric and Health Monitoring System with Wi-Fi Connectivity
Image of Health Monitoring Device: A project utilizing finger print sensor in a practical application
This circuit is a biometric and environmental monitoring system that uses an Arduino Mega 2560 to interface with a fingerprint scanner, an OLED display, a WiFi module, and various sensors including a MAX30102 pulse oximeter and an MLX90614 infrared thermometer. The system is designed to capture biometric data, display information, and communicate wirelessly.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with finger print sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Health Monitoring Device (Collab): A project utilizing finger print sensor in a practical application
Arduino Mega 2560 Biometric Security System with Wi-Fi Connectivity
This is a multi-functional sensor system controlled by an Arduino Mega 2560, designed to read biometric data from a pulse oximeter and an infrared thermometer, authenticate using a fingerprint scanner, display information on an OLED screen, and transmit data wirelessly via an ESP8266 module. User inputs can be received through two pushbuttons, and the system's power distribution is managed through common ground and voltage supply nets.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of FINGERPRINT_DOOR_LOCK/UNLOCK: A project utilizing finger print sensor in a practical application
Arduino-Based Fingerprint Access Control System with LCD Display
This circuit is a fingerprint-based access control system. It uses an Arduino UNO to interface with a fingerprint sensor and a 20x4 I2C LCD panel for user interaction, and controls a 12V solenoid lock via an IRFZ44N MOSFET. The system allows users to enroll and verify fingerprints, displaying status messages on the LCD and actuating the solenoid lock upon successful verification.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of FingerPrint: A project utilizing finger print sensor in a practical application
ESP32-Based Fingerprint Sensor and SD Card Module for Secure Data Storage
This circuit is a fingerprint capture and storage system using an ESP32 microcontroller. It interfaces with a fingerprint sensor to capture fingerprint images and stores them on an SD card. A pushbutton is used to trigger the fingerprint capture process.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Health Monitoring Device: A project utilizing finger print sensor in a practical application
Arduino Mega 2560-Based Biometric and Health Monitoring System with Wi-Fi Connectivity
This circuit is a biometric and environmental monitoring system that uses an Arduino Mega 2560 to interface with a fingerprint scanner, an OLED display, a WiFi module, and various sensors including a MAX30102 pulse oximeter and an MLX90614 infrared thermometer. The system is designed to capture biometric data, display information, and communicate wirelessly.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Door lock systems for secure access control
  • Time and attendance tracking systems
  • Biometric authentication for embedded systems
  • Integration with Arduino and other microcontrollers for DIY projects
  • Security enhancements in IoT devices

Technical Specifications

The Keyestudio Fingerprint Sensor is equipped with the following technical features:

Parameter Specification
Operating Voltage 3.3V - 6V DC
Operating Current 50mA (typical), 80mA (peak)
Interface Type UART (TTL logic level)
Baud Rate 9600 bps (default, adjustable)
Fingerprint Capacity 1000 fingerprints
Image Resolution 500 DPI
Scanning Time < 1 second
Working Temperature -20°C to 50°C
Dimensions 56mm x 20mm x 21.5mm

Pin Configuration and Descriptions

The fingerprint sensor has a 4-pin interface for communication and power:

Pin Name Description
1 VCC Power supply input (3.3V - 6V DC)
2 GND Ground connection
3 TX UART Transmit pin (sends data to the microcontroller)
4 RX UART Receive pin (receives data from the microcontroller)

Usage Instructions

How to Use the Component in a Circuit

  1. Wiring the Sensor:

    • Connect the VCC pin of the sensor to the 5V pin of your microcontroller (e.g., Arduino UNO).
    • Connect the GND pin to the ground (GND) of the microcontroller.
    • Connect the TX pin of the sensor to the RX pin of the microcontroller.
    • Connect the RX pin of the sensor to the TX pin of the microcontroller.
  2. Library Installation:

    • Download and install the Adafruit Fingerprint Sensor Library from the Arduino Library Manager.
    • This library simplifies communication with the fingerprint sensor.
  3. Enrolling a Fingerprint:

    • Use the example sketch provided in the library (Enroll example) to register fingerprints.
    • Follow the serial monitor prompts to place and remove your finger for enrollment.
  4. Verifying a Fingerprint:

    • Use the Fingerprint example sketch to verify fingerprints.
    • The sensor will compare the scanned fingerprint with the stored templates.

Important Considerations and Best Practices

  • Ensure the sensor is clean and free of dust or smudges for accurate readings.
  • Avoid exposing the sensor to direct sunlight or strong light sources, as this may interfere with optical scanning.
  • Use a stable power supply to prevent communication errors.
  • When connecting to an Arduino UNO, ensure the baud rate in the code matches the sensor's default baud rate (9600 bps).

Example Code for Arduino UNO

Below is an example code snippet to enroll and verify fingerprints using the Keyestudio Fingerprint Sensor:

#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>

// Define the RX and TX pins for the fingerprint sensor
SoftwareSerial mySerial(2, 3); // RX = pin 2, TX = pin 3

Adafruit_Fingerprint finger(&mySerial);

void setup() {
  Serial.begin(9600); // Initialize serial communication with the PC
  while (!Serial);    // Wait for the serial monitor to open
  delay(100);

  Serial.println("Initializing fingerprint sensor...");
  mySerial.begin(9600); // Initialize communication with the sensor

  if (finger.begin()) {
    Serial.println("Fingerprint sensor detected!");
  } else {
    Serial.println("Fingerprint sensor not detected. Check connections.");
    while (1); // Halt the program if the sensor is not found
  }

  Serial.println("Place your finger on the sensor to enroll.");
}

void loop() {
  // Check if a fingerprint is detected
  if (finger.getImage() == FINGERPRINT_OK) {
    Serial.println("Fingerprint detected!");
    // Additional code for enrollment or verification can be added here
  } else {
    Serial.println("No fingerprint detected. Try again.");
  }

  delay(1000); // Wait 1 second before the next scan
}

Notes:

  • Replace 2 and 3 in SoftwareSerial with the pins you are using for RX and TX if different.
  • Use the Enroll and Fingerprint examples in the Adafruit library for more advanced functionality.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Sensor Not Detected:

    • Cause: Incorrect wiring or loose connections.
    • Solution: Double-check the wiring and ensure the VCC, GND, TX, and RX pins are properly connected.
  2. Fingerprint Not Recognized:

    • Cause: Fingerprint not enrolled or poor-quality scan.
    • Solution: Ensure the finger is clean and properly placed on the sensor. Re-enroll the fingerprint if necessary.
  3. Communication Errors:

    • Cause: Mismatched baud rate or unstable power supply.
    • Solution: Verify that the baud rate in the code matches the sensor's default baud rate (9600 bps). Use a stable power source.
  4. Slow Response Time:

    • Cause: High number of stored fingerprints or poor-quality scans.
    • Solution: Optimize the number of stored fingerprints and ensure the sensor is clean.

FAQs

Q1: Can the sensor store multiple fingerprints?
Yes, the Keyestudio Fingerprint Sensor can store up to 1000 fingerprints in its internal memory.

Q2: Can I use this sensor with a Raspberry Pi?
Yes, the sensor can be used with a Raspberry Pi by connecting it to the GPIO pins and using a UART communication library.

Q3: What is the default baud rate of the sensor?
The default baud rate is 9600 bps, but it can be adjusted if needed.

Q4: How do I reset the sensor to factory settings?
You can use the deleteModel() function in the Adafruit library to delete all stored fingerprints and reset the sensor.

Q5: Can the sensor work outdoors?
The sensor is designed for indoor use. Outdoor use may affect its performance due to environmental factors like sunlight and dust.