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

How to Use dy50 fingerprint scanner: Examples, Pinouts, and Specs

Image of dy50 fingerprint scanner
Cirkit Designer LogoDesign with dy50 fingerprint scanner in Cirkit Designer

Introduction

The DY50 Fingerprint Scanner, manufactured by Adafruit, is a biometric device designed to identify individuals by scanning and analyzing their unique fingerprint patterns. This compact and reliable module is widely used in security systems, access control, and other applications requiring biometric authentication. Its ease of integration with microcontrollers, such as Arduino, makes it a popular choice for hobbyists and professionals alike.

Explore Projects Built with dy50 fingerprint scanner

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 Pro Mini Fingerprint Access Control System with MAX3232
Image of R503 with arduino pro mini: A project utilizing dy50 fingerprint scanner in a practical application
This circuit integrates an Arduino Pro Mini with an R503 fingerprint sensor and a MAX 3232 module for serial communication. The Arduino controls the fingerprint sensor and communicates with external devices via the MAX 3232 module, enabling secure biometric authentication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Fingerprint Scanner System
Image of finger print door lock: A project utilizing dy50 fingerprint scanner in a practical application
This circuit consists of an Arduino UNO microcontroller connected to a fingerprint scanner. The Arduino UNO provides power to the fingerprint scanner and handles communication through its digital pins D2 and D3, enabling fingerprint data acquisition and processing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 Biometric Security System with Wi-Fi Connectivity
Image of Health Monitoring Device (Collab): A project utilizing dy50 fingerprint scanner 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 Mega 2560 Fingerprint Authentication System with LED Feedback
Image of AS608: A project utilizing dy50 fingerprint scanner in a practical application
This circuit is designed for user authentication using a fingerprint scanner interfaced with an Arduino Mega 2560, which controls a green LED for visual feedback. Two pushbuttons with pull-down resistors provide user inputs, and the scanner communicates with the Arduino via serial pins for data exchange.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with dy50 fingerprint scanner

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 R503 with arduino pro mini: A project utilizing dy50 fingerprint scanner in a practical application
Arduino Pro Mini Fingerprint Access Control System with MAX3232
This circuit integrates an Arduino Pro Mini with an R503 fingerprint sensor and a MAX 3232 module for serial communication. The Arduino controls the fingerprint sensor and communicates with external devices via the MAX 3232 module, enabling secure biometric authentication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of finger print door lock: A project utilizing dy50 fingerprint scanner in a practical application
Arduino UNO-Based Fingerprint Scanner System
This circuit consists of an Arduino UNO microcontroller connected to a fingerprint scanner. The Arduino UNO provides power to the fingerprint scanner and handles communication through its digital pins D2 and D3, enabling fingerprint data acquisition and processing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Health Monitoring Device (Collab): A project utilizing dy50 fingerprint scanner 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 AS608: A project utilizing dy50 fingerprint scanner in a practical application
Arduino Mega 2560 Fingerprint Authentication System with LED Feedback
This circuit is designed for user authentication using a fingerprint scanner interfaced with an Arduino Mega 2560, which controls a green LED for visual feedback. Two pushbuttons with pull-down resistors provide user inputs, and the scanner communicates with the Arduino via serial pins for data exchange.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Door lock systems with fingerprint authentication
  • Time and attendance tracking systems
  • Secure access control for devices and systems
  • Personal identification in embedded projects
  • Biometric data collection for research purposes

Technical Specifications

The DY50 Fingerprint Scanner is equipped with advanced features to ensure accurate and reliable fingerprint recognition. Below are its key technical details:

Key Technical Details

Parameter Specification
Operating Voltage 3.6V to 6.0V
Operating Current 120mA (typical), 150mA (max)
Interface UART (TTL)
Baud Rate Configurable (default: 57600 bps)
Fingerprint Capacity 162 templates
Image Resolution 508 DPI
Scanning Time < 1 second
False Acceptance Rate < 0.001%
False Rejection Rate < 1.0%
Operating Temperature -20°C to +50°C
Module Dimensions 56mm x 20mm x 21.5mm

Pin Configuration and Descriptions

The DY50 Fingerprint Scanner has a 6-pin interface for connecting to external devices. Below is the pinout:

Pin Number Name Description
1 VCC Power supply input (3.6V to 6.0V)
2 GND Ground connection
3 TXD UART Transmit pin (data output)
4 RXD UART Receive pin (data input)
5 TOUCH Touch detection signal (active high)
6 RESET Reset pin (active low, optional for hard reset)

Usage Instructions

The DY50 Fingerprint Scanner is straightforward to use and can be easily integrated into a circuit. Below are the steps and best practices for using the module:

Connecting the DY50 to an Arduino UNO

  1. Wiring the Module:

    • Connect the VCC pin of the scanner to the 5V pin on the Arduino.
    • Connect the GND pin of the scanner to the GND pin on the Arduino.
    • Connect the TXD pin of the scanner to the Arduino's digital pin 2 (via a voltage divider if needed).
    • Connect the RXD pin of the scanner to the Arduino's digital pin 3.
    • Optionally, connect the RESET pin to a digital pin on the Arduino for manual resets.
  2. Installing the Adafruit Fingerprint Library:

    • Open the Arduino IDE and go to Sketch > Include Library > Manage Libraries.
    • Search for "Adafruit Fingerprint Sensor Library" and install it.
  3. Uploading Example Code: Use the following example code to enroll and verify fingerprints:

    #include <Adafruit_Fingerprint.h>
    #include <SoftwareSerial.h>
    
    // Define the RX and TX pins for the fingerprint scanner
    SoftwareSerial mySerial(2, 3); // RX, TX
    
    Adafruit_Fingerprint finger(&mySerial);
    
    void setup() {
      Serial.begin(9600); // Initialize serial monitor
      while (!Serial);    // Wait for serial connection
      Serial.println("Adafruit Fingerprint Sensor example");
    
      // Initialize the fingerprint scanner
      finger.begin(57600);
      if (finger.verifyPassword()) {
        Serial.println("Fingerprint sensor detected!");
      } else {
        Serial.println("Did not find fingerprint sensor :(");
        while (1) { delay(1); }
      }
    }
    
    void loop() {
      Serial.println("Place your finger on the sensor...");
      int result = finger.getImage();
      if (result == FINGERPRINT_OK) {
        Serial.println("Fingerprint image taken!");
      } else if (result == FINGERPRINT_NOFINGER) {
        Serial.println("No finger detected");
      } else {
        Serial.println("Error reading fingerprint");
      }
      delay(1000); // Wait before the next scan
    }
    
    • Upload the code to your Arduino UNO.
    • Open the Serial Monitor (set to 9600 baud) to interact with the scanner.

Important Considerations and Best Practices

  • Power Supply: Ensure a stable power supply to avoid malfunctions. Use a decoupling capacitor if necessary.
  • UART Communication: Match the baud rate of the scanner with your microcontroller.
  • Fingerprint Enrollment: Enroll fingerprints in a controlled environment for better accuracy.
  • Touch Pin: Use the TOUCH pin to detect when a finger is placed on the scanner, reducing power consumption in idle mode.
  • Reset Pin: Use the RESET pin for hardware resets if the module becomes unresponsive.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Fingerprint Scanner Not Detected:

    • Cause: Incorrect wiring or baud rate mismatch.
    • Solution: Double-check the connections and ensure the baud rate is set to 57600.
  2. No Finger Detected:

    • Cause: Finger not properly placed on the scanner.
    • Solution: Ensure the finger is clean and placed flat on the scanner.
  3. Low Recognition Accuracy:

    • Cause: Poor-quality fingerprint images or environmental factors.
    • Solution: Re-enroll fingerprints in a clean and stable environment.
  4. Module Becomes Unresponsive:

    • Cause: Power fluctuations or software issues.
    • Solution: Perform a hardware reset using the RESET pin.

FAQs

Q1: Can the DY50 store multiple fingerprints?
Yes, the DY50 can store up to 162 fingerprint templates in its internal memory.

Q2: Can I use the DY50 with a 3.3V microcontroller?
Yes, the DY50 supports a voltage range of 3.6V to 6.0V. However, ensure proper level shifting for UART communication.

Q3: How do I clear all stored fingerprints?
Use the emptyDatabase() function from the Adafruit Fingerprint Sensor Library to clear all stored templates.

Q4: What is the default baud rate of the DY50?
The default baud rate is 57600 bps, but it can be configured using library functions.

By following this documentation, you can effectively integrate and use the DY50 Fingerprint Scanner in your projects.