Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

DOA fingerprint reader
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

DOA fingerprint reader

by agranum on Wed Aug 12, 2020 11:17 am

I recently purchased one of these: Rugged Panel Mount Fingerprint Sensor with Bi-Color LED Ring - R503

I was quite happy that I finally found a fingerprint reader I can use on my motorcycle project.
Once it finally came through customs, and I paid DHL the rest of their ransom money, I was disappointed to find that the reader seems to be totally unresponsive.

I have looked at the datasheet and worked through the tutorial with the Adafruit fingerprint library, but none of the example sketches detect the device. And when connected while using the empty sketch, there is nothing on the serial monitor.

The build construction looks great. But I need one that works.

Where do I go from here?


Tested with Arduino Mega 2560

red --> 3.3V
black --> gnd
yellow --> RX
green --> TX

Any help greatly appreciated.

agranum
 
Posts: 5
Joined: Thu Jun 19, 2014 6:08 pm

Re: DOA fingerprint reader

by adafruit_support_carter on Thu Aug 13, 2020 7:00 pm

If you are using the example sketches without modification, it might just be software vs. hardware serial. The sketches default to using software serial:
https://learn.adafruit.com/adafruit-opt ... 2976065-15

red --> 3.3V
black --> gnd
yellow --> RX
green --> TX

Which specifics pins are RX/TX here?

Adding this here for reference, for when using software serial:
Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69).

adafruit_support_carter
 
Posts: 16944
Joined: Tue Nov 29, 2016 2:45 pm

Re: DOA fingerprint reader

by agranum on Fri Aug 14, 2020 9:13 pm

Not using software serial

D0 (RX)
D1 (TX)

agranum
 
Posts: 5
Joined: Thu Jun 19, 2014 6:08 pm

Re: DOA fingerprint reader

by adafruit_support_carter on Sat Aug 15, 2020 12:07 pm

Did you make the necessary changes to the sketch?

adafruit_support_carter
 
Posts: 16944
Joined: Tue Nov 29, 2016 2:45 pm

Re: DOA fingerprint reader

by agranum on Sat Aug 15, 2020 1:40 pm

There are no changes required for the "blank" and "fingerprint" sketches that I am aware of.

Can you be more specific please? What change are you talking about?

agranum
 
Posts: 5
Joined: Thu Jun 19, 2014 6:08 pm

Re: DOA fingerprint reader

by adafruit_support_carter on Sun Aug 16, 2020 11:21 am

It looks like maybe the guide is out of date with the current version of the example sketch. The guide has you manually switch between hardware and software serial:
https://learn.adafruit.com/adafruit-opt ... 2976065-15
but the sketch has conditionals that attempt to set this for you automatically:
https://github.com/adafruit/Adafruit-Fi ... nt.ino#L21

The MEGA is an AVR, so the sketch will set software serial, using pin 2 for RX and pin 3 for TX. You could move to those pins, but pin 2 is not a valid RX pin for the MEGA (see info above), so that won't work. So you will need to make some changes to the sketch.

Try this. Change the sketch so that the software serial setup line is this:
Code: Select all | TOGGLE FULL SIZE
SoftwareSerial mySerial(10, 3);

Then, make these wiring changes:
green (RX) wire --> pin 3 (TX) on the MEGA
yellow (TX) wire --> pin 10 (RX) on the MEGA

adafruit_support_carter
 
Posts: 16944
Joined: Tue Nov 29, 2016 2:45 pm

Re: DOA fingerprint reader

by agranum on Wed Aug 19, 2020 8:55 am

That got things working!

Thanks for the help!

agranum
 
Posts: 5
Joined: Thu Jun 19, 2014 6:08 pm

Please be positive and constructive with your questions and comments.