Identification / RFID
Interfacing Fingerprint Sensor (R307) Identification / RFID with Arduino Uno
What is the Fingerprint Sensor (R307)?
The R307 is an optical fingerprint reader module from Hangzhou GROW Technology, built around an integrated optical sensor and an onboard DSP that handles image capture, feature extraction, and fingerprint template matching entirely on-module. Rather than sending raw images to your microcontroller, it does the heavy lifting itself and returns simple pass/fail match results over a UART packet protocol (0xEF01 header, 4-byte address, checksum), making it a popular choice for DIY smart locks, biometric attendance systems, and secure-access add-ons for existing projects. Per the manufacturer's manual it draws a modest 50mA typical, images a finger in under 0.5s, and can store up to 1000 templates with sub-1s 1:N search across the full library.
Specifications
| Sensor type | Optical fingerprint sensor with onboard DSP/processor — handles image capture, feature extraction, template generation and matching entirely on-module |
| Operating voltage | DC 4.2V–6.0V (5V typical) — per Hangzhou GROW R307 datasheet |
| Operating current | Typical 50 mA (datasheet-rated; some resellers list higher figures — 50 mA is what GROW's own manual specifies) |
| Interface | UART, TTL logic level, default 57600 bps (configurable 9600–115200 bps in 9600 bps steps) — or USB 2.0 on modules that break out D+/D- |
| Image acquiring time | < 0.5 s |
| Matching modes | 1:1 verification (match against one specified template) and 1:N search (match against the whole library) |
| Template / library storage | Up to 1000 fingerprint templates in onboard flash; 512-byte template size, 256-byte character file size |
| Security level | 5 grades, set via SetSysPara (1 = lowest FRR / highest FAR, 5 = highest FRR / lowest FAR) |
| False Accept Rate (FAR) | < 0.001% |
| False Reject Rate (FRR) | < 0.1% |
| Average search time | < 1 s across a 1000-template library (1:1000) |
| Sensing window | 19mm x 21mm |
| Operating / storage environment | Operating: -10℃ to +40℃, 20%-85% RH; Storage: -40℃ to +85℃, <85% RH |
| Dimensions | Module: 44.1 x 20 x 23.5mm, split-type optical housing |
Fingerprint Sensor (R307) Pinout
| Pin | Name | Description |
|---|---|---|
| 1 | VCC (5V) | Power input, DC 4.2V–6.0V (5V typical) |
| 2 | GND | Ground, common with power ground |
| 3 | TXD | UART data output, TTL logic level — connect to microcontroller RX |
| 4 | RXD | UART data input, TTL logic level — connect to microcontroller TX |
| 5 | TOUCH | Finger-detect output signal (max 50mA drive) — goes active when a finger touches the sensor window, useful for waking a sleeping MCU |
| 6 | 3.3V | Power input for the touch/finger-detection circuit only (DC 3.3V–5V, ~5µA) — separate from the main VCC supply on pin 1 |
The module ships with a 6-pin JST connector carrying VCC, GND, TXD, RXD, TOUCH and 3.3V (the last two power and read the capacitive touch/wake circuit, not the main module). Per GROW's datasheet the module needs 4.2V-6V on pin 1 to operate reliably — running it purely off a 3.3V rail is under spec even though the UART lines themselves are TTL level. On 5V boards like the Arduino Uno you can wire directly; on 3.3V-only boards (ESP32, STM32) power the module from a 5V rail but consider a level-shifter or divider on the module's TX line feeding back into the MCU's 3.3V-only RX pin.
Setting Up Fingerprint Sensor (R307) with Arduino Uno
Library
Adafruit Fingerprint Sensor Library by Adafruit
Search "Adafruit Fingerprint" in Library Manager (Sketch > Include Library > Manage Libraries)
Wiring
| Component pin | Arduino Uno pin | Note |
|---|---|---|
| VCC | 5V | — |
| GND | GND | — |
| TX | D2 (Arduino RX via SoftwareSerial) | — |
| RX | D3 (Arduino TX via SoftwareSerial) | — |
Example code
This assumes fingerprints have already been enrolled — enrollment is a separate multi-step process (the Adafruit library's example sketches include a ready-made enroll sketch, worth running once before this matching code). Default baud is 57600, not the more common 9600.
Related Components
Related Guides & Projects

Arduino Uno R3 Pinout: Every Pin Explained (Digital, Analog, PWM, Power)
Complete Arduino Uno R3 pinout reference: all 14 digital pins, 6 analog inputs, PWM, UART, SPI, I2C, AREF, and power rails explained with wiring tips and common mistakes.

Ultimate Arduino Mega 2560 Pinout Guide: Complete Power & I/O Reference
Master the Arduino Mega 2560 pinout. Detailed reference for all 54 digital pins, 16 analog inputs, PWM, UARTs, SPI, I2C, interrupts, and power. Includes a printable table and practical wiring tips.

Interfacing HC-SR04 Ultrasonic Sensor with Arduino
Measure distance accurately using ultrasonic sound waves and an Arduino Uno — no complex math, no expensive hardware.
HC‑SR04 Ultrasound Distance Measurement with Arduino – Parking Alert (LCD & Buzzer)
Learn HC‑SR04 ultrasound distance measurement with Arduino Uno. Build a parking alert system with 16x2 LCD and buzzer – shows distance and beeps faster as you approach.