Fingerprint problem - Arduino UNO

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Fingerprint problem - Arduino UNO

Post by adafruit_support_bill »

Not sure what else to try here. All the individual parts are working - just not together. :?

If you have a soldering iron, you can try soldering some header pins (or just heavier gauge wire) to the ends of the sensor wires. The thin wires do not always make a reliable connection in the breadboard.

ABadDream
 
Posts: 6
Joined: Thu Oct 18, 2012 9:23 pm

Re: Fingerprint problem - Arduino UNO

Post by ABadDream »

Hi

I downloaded the fingerprint library two days ago and happened the same.

What I found out is that in "Adafruit_Fingerpring.CPP" in line 49 col 32, there's a typo. It is a condition to be met and there's only one = character.

line goes

if ((len == 1) && (packet[0] = FINGERPRINT_ACKPACKET) && (packet[1] == FINGERPRINT_OK))

and must be

if ((len == 1) && (packet[0] == FINGERPRINT_ACKPACKET) && (packet[1] == FINGERPRINT_OK))


Also changed speed on SFGDemo from 115200 to 57600.

It worked well with fingerprint example, hope it helps.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Fingerprint problem - Arduino UNO

Post by adafruit_support_bill »

Thanks for reporting that. I've entered it as an issue on the Github repository.

mxlukax
 
Posts: 10
Joined: Fri Sep 21, 2012 10:49 am

Re: Fingerprint problem - Arduino UNO

Post by mxlukax »

Thanks for help me, now it's working. :D

ABadDream
 
Posts: 6
Joined: Thu Oct 18, 2012 9:23 pm

Re: Fingerprint problem - Arduino UNO

Post by ABadDream »

Hey, It's me again.

Found now a problem on fingerprint example, So I got into the code again.

I was trying to get response if I entered a id that was not in the finger reader, but nothing happened. Only was able to get response when an enrolled fingerprint was entered. So I found this.

In the example says:

void loop()
{
getFingerprintIDez();
}

and must say:

void loop()
{
getFingerprintID();
delay(2000); //This was added by myself to have the reader waiting between readings.
}


It works now with all the messages and error messages.

Regards

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”