Example Code for Arduino-Fingerprint Recognition

Last revision 2026/01/15

This tutorial will teach you how to use the fingerprint module to read the fingerprint.

Hardware Preparation

  • UNO x1
  • Fingerprint Sensor x1
  • Fingerprint Sensor Cable x1

Software Preparation

Wiring Diagram

SEN0188 Fingerprint Sensor with 5 Fingerprint Projects Connection Diagram
Fingerprint Pin UNO Pin
VIN 5V
TD 2 (Software Serial RX)
RD 3 (Software Serial TX)
GND GND

Other Preparation Work

  • Similar to the fingerprint input, download the Exemples -> fingerprint.ino to UNO.
  • Set Board and Port.
  • Open Serial Monitor.

Sample Code

  • Open Fingerprint Library sample code -> fingerprint -> examples -> fingerprint.ino.
SEN0188 Fingerprint Sensor with 5 Fingerprint Projects Code downloads

Result

If the fingerprint module is connect successful, it will always prompt you to press your fingers:

SEN0188 Fingerprint Sensor with 5 Fingerprint Projects Read fingerprints

Press your finger on the screen and do not move, if your fingerprints has been in the template, it will appear as shown:

SEN0188 Fingerprint Sensor with 5 Fingerprint Projects Read Succeeded

Was this article helpful?

TOP