Adafruit Fingerprint Sensor not functioning

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
GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Adafruit Fingerprint Sensor not functioning

Post by GuruShiva »

Hello, I have an Adafruit Fingerprint Sensor. The device is being recognized in the Windows-test software as well as in the Arduino. But when it comes to running the sketch 'enroll', when it asks to type in the ID, I type in the ID but nothing happens. In the 'Fingerprint' sketch, it does find the device, but when it comes to scanning, nothing is happening, the sensor led just blinks. The Wndows test software finds the device, but when I click enroll, it says place the finger to enroll, but then nothing happens. Please help.

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

Re: Adafruit Fingerprint Sensor not functioning

Post by adafruit_support_bill »

Post a photo that shows all of your connections between the sensor and the Arduino.

GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

Post by GuruShiva »

Here is the picture. The wire has been soldered to header pins. The connection seems to be fine as the sensor is being recognized by the Arduino. Please help. Much appreciated.
Attachments
Fingerprint Sensor connected to Arduino
Fingerprint Sensor connected to Arduino
IMG-20130329-WA0001.jpg (72 KiB) Viewed 1000 times

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

Re: Adafruit Fingerprint Sensor not functioning

Post by adafruit_support_rick »

hmmm...
Please forgive a silly question:
But when it comes to running the sketch 'enroll', when it asks to type in the ID, I type in the ID but nothing happens.
Are you clicking the 'Send' button after you enter the ID number?

Does it print out anything at all after you enter the ID number? At a minimum, it should print out "Enrolling ID #" and "Waiting for valid finger to enroll". Do you see those messages?

GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

Post by GuruShiva »

At DriverBlock: Do not worry about the silly question, any help is much appreciated. Yes I put in the number and click send. Nothing happens. I am still seeing put in the ID...nothing happens after putting in the ID...Thank you

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

Re: Adafruit Fingerprint Sensor not functioning

Post by adafruit_support_rick »

That is very strange. I'm not sure what to think. The fingerprint reader is not involved in the sketch at that point. After you enter the ID number, the sketch does this:

Code: Select all

  Serial.print("Enrolling ID #");
  Serial.println(id);
  
  while (!  getFingerprintEnroll(id) );
So, if it's reading the number you enter, it should print "EnrollingID # nnn" before it ever goes to read the fingerprint.

You are entering a number for the ID, right? The sketch wants digits. But, even if you are not entering digits, it should still print "Enrolling ID# 0".

EDIT: Aha! Are you hitting the return key after you type in the number? Just clicking Send might not be enough - the sketch wants to see a non-digit before it will get out of the loop where it reads the ID number.

GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

Post by GuruShiva »

Yes. I did put a digit, then following your advice- Clicked Enter and then Send. Nothing happened. Still showing type in the ID#. Please help.

GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

Post by GuruShiva »

Scratch the previous comment. You my friend - pure genius. The enter key did not work. But when I put in the space. it worked. Thank you very much!

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

Re: Adafruit Fingerprint Sensor not functioning

Post by adafruit_support_rick »

GuruShiva wrote:Scratch the previous comment. You my friend - pure genius. The enter key did not work. But when I put in the space. it worked. Thank you very much!
Aha! I knew it!

I'll have to update the tutorial

GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

Post by GuruShiva »

1 more question: How can I erase the fingerprint ID stored?. Do I just re-enroll them? (Now this might be a stupid question!)...Much appreciated

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

Re: Adafruit Fingerprint Sensor not functioning

Post by adafruit_support_bill »

I believe you can just re-enroll one with the same number to over-write it.

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

Re: Adafruit Fingerprint Sensor not functioning

Post by adafruit_support_rick »

You can do that, or you can call emptyDatabase(void); to erase everything.

GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

Post by GuruShiva »

Would you know how one can approach the emptyDatabase?. Much appreciated. Cheers.

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

Re: Adafruit Fingerprint Sensor not functioning

Post by adafruit_support_rick »

It's a function call:

Code: Select all

  finger.emptyDatabase(); 

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

Return to “Other Arduino products from Adafruit”