Fingerprint Sensor- R307S
Key Features:
R307 Fingerprint Sensor - Pin Details
The R307 fingerprint sensor has four important pins, which need to be connected to the Arduino Uno as follows:
R307 Pin | Wire Color | Arduino Pin | Function |
---|---|---|---|
Pin 1 | 🔴 Red | 5V | Power Supply (+5V) |
Pin 2 | âš« Black | GND | Ground (-) |
Pin 3 | 🟡 Yellow | D2 | Serial TX (Data Transmission) |
Pin 4 | 🟢 Green | D3 | Serial RX (Data Reception) |
Testing & Output
After making the connections, follow these steps to test your R307 Fingerprint Sensor with Arduino Uno using the Adafruit Fingerprint Sensor Library.
1. Install the Adafruit Fingerprint Sensor Library
👉 Open Arduino IDE
👉 Go to Sketch > Include Library > Manage Libraries
👉 Search for "Adafruit Fingerprint Sensor Library" and install it.
2. Load the Fingerprint Enrollment Code
👉 Go to File > Examples
👉 Scroll down and find Adafruit Fingerprint Sensor Library
👉 Select "enroll"
3. Upload the Code to Arduino
✅ Connect your Arduino Uno to your PC via USB
✅ Select the correct Board (Arduino Uno) and Port in Arduino IDE
✅ Click the Upload button
4. Open the Serial Monitor
🔹 Go to Tools > Serial Monitor
🔹 Set the Baud Rate to 9600
🔹 Follow the on-screen instructions to enroll a fingerprint
🔹 Once successfully enrolled, try scanning the same finger to verify
Expected Output in Serial Monitor