Adafruit Fingerprint Sensor not functioning
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 32
- Joined: Tue Oct 23, 2012 9:23 am
Adafruit Fingerprint Sensor not functioning
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.
- adafruit_support_bill
- Posts: 88090
- Joined: Sat Feb 07, 2009 10:11 am
Re: Adafruit Fingerprint Sensor not functioning
Post a photo that shows all of your connections between the sensor and the Arduino.
-
- Posts: 32
- Joined: Tue Oct 23, 2012 9:23 am
Re: Adafruit Fingerprint Sensor not functioning
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
- IMG-20130329-WA0001.jpg (72 KiB) Viewed 1001 times
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Fingerprint Sensor not functioning
hmmm...
Please forgive a silly question:
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?
Please forgive a silly question:
Are you clicking the 'Send' button after you enter the ID number?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.
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?
-
- Posts: 32
- Joined: Tue Oct 23, 2012 9:23 am
Re: Adafruit Fingerprint Sensor not functioning
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
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Fingerprint Sensor not functioning
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:
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.
Code: Select all
Serial.print("Enrolling ID #");
Serial.println(id);
while (! getFingerprintEnroll(id) );
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.
-
- Posts: 32
- Joined: Tue Oct 23, 2012 9:23 am
Re: Adafruit Fingerprint Sensor not functioning
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.
-
- Posts: 32
- Joined: Tue Oct 23, 2012 9:23 am
Re: Adafruit Fingerprint Sensor not functioning
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!
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Fingerprint Sensor not functioning
Aha! I knew it!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!
I'll have to update the tutorial
-
- Posts: 32
- Joined: Tue Oct 23, 2012 9:23 am
Re: Adafruit Fingerprint Sensor not functioning
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
- adafruit_support_bill
- Posts: 88090
- Joined: Sat Feb 07, 2009 10:11 am
Re: Adafruit Fingerprint Sensor not functioning
I believe you can just re-enroll one with the same number to over-write it.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Fingerprint Sensor not functioning
You can do that, or you can call emptyDatabase(void); to erase everything.
-
- Posts: 32
- Joined: Tue Oct 23, 2012 9:23 am
Re: Adafruit Fingerprint Sensor not functioning
Would you know how one can approach the emptyDatabase?. Much appreciated. Cheers.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Adafruit Fingerprint Sensor not functioning
It's a function call:
Code: Select all
finger.emptyDatabase();
Please be positive and constructive with your questions and comments.