Page 1 of 1

R503 Fingerprint Sensor

Posted: Sun Sep 27, 2020 10:29 pm
by mnf
Okay - so not a component yet - but a working example for the R503 (they maybe meant to call it the R305?) fingerprint sensor..

Anyone thoughts etc on interface.

Some questions..

It should work with any of the R300 type sensors - these have slightly different facilities depending on model (for example R503 has the excellent AuraColor LED) How to allow for different models (maybe exposing slightly different interface)

Presented here as an Arduino Mega program. I've also tested on a Nano using 9600 baud and d2/d3 as a software UART. SetBaud works okay (but changing the UART speed doesn't using cal_uart::UpdateBaud - is this a bug?) On the mega the sensor is connected to UART 1 with touch connected to D2 (a property) The address and password are defaults
I've also tested a R301 capacitive sensor - though it doesn't support the led control.

Is it possible to alter the output routines (or skip) - for example it currently outputs 'Place Finger on Sensor' and turns on blue AuraLED (turns Red on error). Would it possible to 'say' output instructions to a oled or lcd display??? This would be will served by a callback mechanism (due in v9?)
How to set the receive interrupt automatically for different UART settings.
Is it possible to check if a pin is connected or unconnected?

Version here - enrols 5 fingerprints and then loops on recognition. The r301 is a lot less 'reliable' than the r503...

Some more routines needed - for example the 503 supports a fast search. There are also routines to offload or upload templates too the sensor.
fingerprint mega v0.9.fcfx
(77.14 KiB) Downloaded 280 times
Martin

Re: R503 Fingerprint Sensor

Posted: Fri Oct 16, 2020 5:11 pm
by MJU
Looks impressive :-)
Great work!