0

Adafruit Fingerprint module problem
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit Fingerprint module problem

by uaeuae on Fri Mar 20, 2015 1:50 pm

Hi,

I'm using Adafruit Fingerprint module.

Im facing a problem when I enroll a finger

the problem is whenever I give an ID 35266, the ID is set 194

how can Solve this problem?

Image

Image

Code: Select all | TOGGLE FULL SIZE
void loop()                     // run over and over again
{
  Serial.println("Type in the ID # you want to save this finger as...");
  uint8_t id = 0;
  while (true) {
    while (! Serial.available());

    char c = Serial.read();
    if (! isdigit(c)) break;
    id *= 10;
    id += c - '0';
  }
  Serial.print("Enrolling ID #");
  Serial.println(id);
 
  while (!  getFingerprintEnroll(id) );
}

uaeuae
 
Posts: 3
Joined: Fri Mar 06, 2015 2:22 pm

Re: Adafruit Fingerprint module problem

by franklin97355 on Fri Mar 20, 2015 5:57 pm

uint8_t id = 0; This creates a variable that can hold a number from 0 to 255.

franklin97355
 
Posts: 20505
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Adafruit Fingerprint module problem

by uaeuae on Sat Mar 21, 2015 3:25 am

so to which value I should sit it in order to hold a number >10000?

uaeuae
 
Posts: 3
Joined: Fri Mar 06, 2015 2:22 pm

Re: Adafruit Fingerprint module problem

by franklin97355 on Sat Mar 21, 2015 1:48 pm

uint16_t

franklin97355
 
Posts: 20505
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Adafruit Fingerprint module problem

by omer908 on Wed Mar 25, 2015 2:58 am

adafruit library has enrol and fingerprint sketches... when ever i enrol with some id number and later check it with fingerprint sketche, it just founds the last finger tht i enrol and with id number "0"....
.
(i am using arduino UNO and SM20-fingerprint sensor with adafruit library)

omer908
 
Posts: 6
Joined: Wed Mar 25, 2015 2:47 am

Re: Adafruit Fingerprint module problem

by irfan_afgan on Wed Mar 25, 2015 1:10 pm

HEY Bro u are few steps ahead of me... kindly help me out in first step ... i have enrollement problems
I have recently purchased a Adafruit fingerprint module (FPM10A), but it is not detected by enrol arduino sketch in the included library. after uploading i face a statement
"finger print did not match".. kindly help me out

irfan_afgan
 
Posts: 14
Joined: Sun Mar 22, 2015 10:09 am

Re: Adafruit Fingerprint module problem

by sivabharani on Thu Feb 07, 2019 7:37 am

Hello adafruit,
I am also facing same problem,when i am registering my finger for first time it is taking finger matches and at the time of comparing the both finger templates 9/10 times it is showing fingerprint did not match,the code is good and arduino board is good.But the problem is in library that is the confidence level of the finger matching is high.Can any one help regarding these issue ASAP.

sivabharani
 
Posts: 1
Joined: Thu Feb 07, 2019 3:46 am

Please be positive and constructive with your questions and comments.