Fingerprint module questions

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.
Locked
User avatar
r0163
 
Posts: 6
Joined: Sun Apr 06, 2014 3:21 pm

Fingerprint module questions

Post by r0163 »

Hello All!

I'm new here and also new to Arduino. Just got a fingerprint module
and tested it with examples provided. But failed trying to use a fingerprint module
both for enrolling fingerprints and checking in one sketch. Is it possible?

The main objective is to make an automated locker with ~20 cells controlled
with Arduino. Simplified algorithm as follows (the full one is a big block scheme on a paper and hopefully will grow to a useful product some day):
- User pushes the button to start registration
- Scans his finger twice for registration
- Program checks which cell is currently free and opens it
- Waiting it to be closed (signal from magnetic sensor on a door or electronic locks with feedback)
- Marks this cell as locked
- Waits for user input (if button from step 1 is not pressed sensor remains in 'fingerprint check' mode)

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Fingerprint module questions

Post by adafruit_support_rick »

Sure. No reason why it can't be done. Do you have any code you can post?

User avatar
r0163
 
Posts: 6
Joined: Sun Apr 06, 2014 3:21 pm

Re: Fingerprint module questions

Post by r0163 »

Thanks for a reply.
Have no code yet, trying to understand how it is works in general.
At the moment digging forum topics here to find out comments and some more information.

It would be really great if examples were commented line by line so that newbies could read
and understand what is going on.

Maybe someone could give me an advice on how should code been 'traced'
for example in 'fingerprint' code:

Code: Select all

void loop()                     // run over and over again
{
  getFingerprintIDez();
}

uint8_t getFingerprintID() {
  uint8_t p = finger.getImage();
  switch (p) {
    case FINGERPRINT_OK:
      Serial.println("Image taken");
      break;
    case FINGERPRINT_NOFINGER:
      Serial.println("No finger detected");
      return p;
    case FINGERPRINT_PACKETRECIEVEERR:
      Serial.println("Communication error");
      return p;
    case FINGERPRINT_IMAGEFAIL:
      Serial.println("Imaging error");
      return p;
    default:
      Serial.println("Unknown error");
      return p;
  }

  // OK success!
What does getFingerprintIDez(); refer to?
I can't emulate other cases (f.e. "No finger detected")

User avatar
rajvignesh
 
Posts: 1
Joined: Sat Apr 12, 2014 12:38 pm

Re: Fingerprint module questions

Post by rajvignesh »

Hi,

"How to download fingerprint templates from the fingerprint sensor module?" is my question.
I am working on a project with fingerprint reader where I will have to hook up multiple fingerprint readers to a single database.
So I wonder if the Arduino library has provisions for downloading the fingerprint template from the sensor module.
If I am able to download the template from the sensor, I would upload it to a common database like google spread sheet.
Please help.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Fingerprint module questions

Post by adafruit_support_rick »

What will you do with the templates in a spreadsheet? You need a matcher, and that resides in the fingerprint sensor itself. There is no documentation on the template format, and there is no reasonable way to reverse-engineer the matcher algorithm.

It is certainly possible to download the templates, but our library doesn't support it because there is nothing much useful you can do with the template data.

User avatar
r0163
 
Posts: 6
Joined: Sun Apr 06, 2014 3:21 pm

Re: Fingerprint module questions

Post by r0163 »

Is there any method to know at least if the template #X empty or not?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Fingerprint module questions

Post by adafruit_support_rick »

The user manual is here:
http://www.adafruit.com/datasheets/ZFM% ... ualV15.pdf

In section 6.1.4, Read System Parameter, the command returns 8 values, one of which is the "Finger library size". Unfortunately, the manual doesn't explicitly define what this value represents, but it sounds like it may be the number you're looking for.

There is also a "notepad" section of the scanner's flash memory, where you can store your own information. This is mentioned in Section 4.1 and the commands are documented in section 6.3.2 and 6.3.3.

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

Return to “Other Arduino products from Adafruit”