Identification / RFID
Interfacing Fingerprint Sensor (R307) Identification / RFID with Arduino Uno
What is the Fingerprint Sensor (R307)?
Fingerprint Sensor (R307) practical reference
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.
Key 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
Pinout and connection notes
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.
- VCC (5V): Power input, DC 4.2V–6.0V (5V typical)
- GND: Ground, common with power ground
- TXD: UART data output, TTL logic level — connect to microcontroller RX
- RXD: UART data input, TTL logic level — connect to microcontroller TX
- TOUCH: Finger-detect output signal (max 50mA drive) — goes active when a finger touches the sensor window, useful for waking a sleeping MCU
- 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
Integration checklist
- Confirm the exact part number and breakout-board revision.
- Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
- Check controller pin assignments and bus address or interface mode against the example code.
- Power up with external loads disconnected, then test signals before full integration.
- If readings or communication fail, check power and ground first, then pin mapping, interface settings, and library initialization.
Troubleshooting and reproducibility
Record the board used, wiring, library/version, supply arrangement, and measured behavior. Use the selected board-specific wiring example as the source of truth. Never assume visually similar modules share identical voltage tolerance or pin order.
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) |
Swipe sideways to see every column →
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 R4 Minima Pinout: Every GPIO, ADC, DAC, and Op-Amp Pin Explained
A complete Arduino Uno R4 Minima pinout reference — digital I/O, ADC, DAC, op-amp, CAN, dual UART, and exactly what it leaves out compared to the WiFi variant.
Mastering PWM on Arduino: Dimming LEDs and Controlling Motors
Understand what PWM actually is on Arduino, dim an LED smoothly, and safely control a DC motor's speed with a driver chip -- plus the mistakes (like wiring a motor straight to a pin) that damage boards.
4-Digit 7-Segment Counter with TM1637 & Arduino
Drive a TM1637-based 4-digit 7-segment display with Arduino Uno to show a real-time up/down counter, elapsed timer, and scrolling text. Covers library setup, brightness control, and custom segment mapping.
Arduino Uno R4 Minima vs WiFi: Which One Should You Choose?
Same processor, same memory, different price. Here's what the WiFi variant's extra hardware actually gets you, and when the Minima is the smarter buy.