Dtynin
Dtynin
DIIDevHeads IoT Integration Server
Created by Dtynin on 10/3/2024 in #pcb-and-analog
Fingerprint Sensor Enrollment Failing at Image Conversion Step
hey guys, I’ve successfully initialized the fingerprint sensor using UART, but when I attempt to enroll a new fingerprint, the enrollment process fails after step 2 (converting image to template). The enrollFinger() method returns an error code FINGERPRINT_IMAGEMESS. here is my code:
int result = finger.enrollFinger(1); // Enroll fingerprint with ID 1
if (result == FINGERPRINT_OK) {
Serial.println("Fingerprint enrolled!");
} else {
Serial.print("Enrollment failed: ");
Serial.println(result);
}
int result = finger.enrollFinger(1); // Enroll fingerprint with ID 1
if (result == FINGERPRINT_OK) {
Serial.println("Fingerprint enrolled!");
} else {
Serial.print("Enrollment failed: ");
Serial.println(result);
}
I've tried adjusting the sensor sensitivity and checked for debris on the sensor, yet the error persists. what could be wrong?
3 replies