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?
2 Replies
Enthernet Code
Enthernet Code3mo ago
@Dtynin The error code FINGERPRINT_IMAGEMESS implies that the fingerprint image captured by the sensor is not clear enough for processing.
ZacckOsiemo
ZacckOsiemo3mo ago
Hey Destiny, I'm doing UART work and I would like to help. Let's start by understanding the specific issue(not the whole project). Could you tell us what the end result you were expecting is? Could you tell us what actually happened as opposed to what you were expecting (i.e errors and stack traces) Could you show us what you did for the above to happen
Want results from more Discord servers?
Add your server