The easiest way to enroll a new fingerprint is to use the Windows software. The interface/test software is unfortunately windows-only and the fingerprint image preview section only seems to work with these sensors:

but you only need to use it once to enroll, to get the fingerprint you want stored in the module.
First up, you'll want to connect the sensor to the computer via a USB-serial converter. The easiest way to do this is to connect it directly to the USB/Serial converter in the Arduino. To do this, you'll need to upload a 'blank sketch' this one works well for "traditional" Arduinos, like the Uno and the Mega:
// this sketch will allow you to bypass the Atmega chip // and connect the fingerprint sensor directly to the USB/Serial // chip converter. // Red connects to +5V // Black connects to Ground // White goes to Digital 0 // Green goes to Digital 1 void setup() {} void loop() {}
If you're using a Leonardo, Micro, Yun, Zero, or other native-USB device like ATSAMD21 or ATmega32U4-based controller, use the Leo_passthru sketch instead of the "blank" sketch.
//Leo_passthru // Allows Leonardo to pass serial data between fingerprint reader and Windows. // // Red connects to +5V // Black connects to Ground // Green goes to Digital 0 // White goes to Digital 1 void setup() { // put your setup code here, to run once: Serial1.begin(57600); Serial.begin(57600); } void loop() { while (Serial.available()) Serial1.write(Serial.read()); while (Serial1.available()) Serial.write(Serial1.read()); }
Wire up the sensor as described in the sketch comments after uploading the sketch. Since the sensor wires are so thin and short, we stripped the wire a bit and melted some solder on so it made better contact but you may want to solder the wires to header or similar if you're not getting good contact. When you plug in the power, you may see the LED blink to indicate the sensor is working.
Check the Arduino wiring page for the different wire colors for each kind of sensor
You'll connect to the hardware RX / TX pins on the microcontroller:
On success you will get a notice.
Page last edited January 22, 2025
Text editor powered by tinymce.