Fingerprint problem - Arduino UNO

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

Moderators: adafruit_support_bill, adafruit

Re: Fingerprint problem - Arduino UNO

Postby adafruit_support_bill » Wed Sep 26, 2012 12:18 pm

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.
User avatar
adafruit_support_bill
 
Posts: 16024
Joined: Sat Feb 07, 2009 9:11 am

Re: Fingerprint problem - Arduino UNO

Postby ABadDream » Thu Oct 18, 2012 8:38 pm

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.
ABadDream
 
Posts: 6
Joined: Thu Oct 18, 2012 8:23 pm

Re: Fingerprint problem - Arduino UNO

Postby adafruit_support_bill » Fri Oct 19, 2012 7:08 am

Thanks for reporting that. I've entered it as an issue on the Github repository.
User avatar
adafruit_support_bill
 
Posts: 16024
Joined: Sat Feb 07, 2009 9:11 am

Re: Fingerprint problem - Arduino UNO

Postby mxlukax » Fri Oct 26, 2012 6:09 am

Thanks for help me, now it's working. :D
User avatar
mxlukax
 
Posts: 10
Joined: Fri Sep 21, 2012 9:49 am
Location: Florianópolis, SC, Brazil

Re: Fingerprint problem - Arduino UNO

Postby ABadDream » Mon Oct 29, 2012 2:24 pm

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
ABadDream
 
Posts: 6
Joined: Thu Oct 18, 2012 8:23 pm

Previous

Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]