Adafruit Fingerprint Sensor not functioning
Moderators: adafruit_support_bill, adafruit

Adafruit Fingerprint Sensor not functioning

by GuruShiva on Thu Mar 28, 2013 7:36 pm

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

Re: Adafruit Fingerprint Sensor not functioning

by adafruit_support_bill on Fri Mar 29, 2013 5:56 am

Post a photo that shows all of your connections between the sensor and the Arduino.
User avatar
adafruit_support_bill
 
Posts: 32643
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit Fingerprint Sensor not functioning

by GuruShiva on Fri Mar 29, 2013 3:43 pm

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
IMG-20130329-WA0001.jpg
Fingerprint Sensor connected to Arduino
IMG-20130329-WA0001.jpg (72 KiB) Viewed 806 times
GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

by adafruit_support_rick on Fri Mar 29, 2013 8:53 pm

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?

adafruit_support_rick
 
Posts: 14541
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Adafruit Fingerprint Sensor not functioning

by GuruShiva on Sat Mar 30, 2013 7:43 pm

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

Re: Adafruit Fingerprint Sensor not functioning

by adafruit_support_rick on Sat Mar 30, 2013 10:09 pm

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 | TOGGLE FULL SIZE
  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.

adafruit_support_rick
 
Posts: 14541
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Adafruit Fingerprint Sensor not functioning

by GuruShiva on Sat Mar 30, 2013 10:48 pm

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

by GuruShiva on Sat Mar 30, 2013 10:52 pm

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

Re: Adafruit Fingerprint Sensor not functioning

by adafruit_support_rick on Sat Mar 30, 2013 11:02 pm

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

adafruit_support_rick
 
Posts: 14541
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Adafruit Fingerprint Sensor not functioning

by GuruShiva on Sat Mar 30, 2013 11:07 pm

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

Re: Adafruit Fingerprint Sensor not functioning

by adafruit_support_bill on Sun Mar 31, 2013 6:55 am

I believe you can just re-enroll one with the same number to over-write it.
User avatar
adafruit_support_bill
 
Posts: 32643
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit Fingerprint Sensor not functioning

by adafruit_support_rick on Sun Mar 31, 2013 10:52 am

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

adafruit_support_rick
 
Posts: 14541
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Adafruit Fingerprint Sensor not functioning

by GuruShiva on Mon Apr 01, 2013 8:46 am

Would you know how one can approach the emptyDatabase?. Much appreciated. Cheers.
GuruShiva
 
Posts: 32
Joined: Tue Oct 23, 2012 9:23 am

Re: Adafruit Fingerprint Sensor not functioning

by adafruit_support_rick on Mon Apr 01, 2013 12:05 pm

It's a function call:
Code: Select all | TOGGLE FULL SIZE
  finger.emptyDatabase();

adafruit_support_rick
 
Posts: 14541
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY