Fingerprint scanner

A forum where Flowcode v7 user created components can be shared, discussed and reviewed.

Moderator: Benj

mnf
Valued Contributor
Valued Contributor
Posts: 590
Joined: Wed May 31, 2017 11:57 am
Has thanked: 56 times
Been thanked: 330 times
Contact:

Fingerprint scanner

Postby mnf » Mon Oct 09, 2017 8:25 am

I have GT-511C1R (just the basic 20 print module - there is also a more expensive 200 print version which has an identical interface) See https://coolcomponents.co.uk/products/f ... ner-5v-ttl

I see a few requests for this in the forums but no actual component - and had started work on getting this module to work a few days ago. By coincidence it features in an Elektor article this month - so ahead of the curve ??

I've attached a 'first attempt' flowchart - this works (can connect to fingerprint scanner - register and identify fingerprints), but still needs some work. It uses the CAL UART component - and was surprisingly easy to get talking to the fingerprint module. I used a level shifter after seeing dire warnings about the TX/RX levels (although in the demonstration video the 'Sparkfun guy' uses a 5v FTDI module)

Registering a fingerprint is a multi-step process and I'd like to get this to a single step. I've made a query about callback functions in the programming topic - but no reply (yet) - an alternative idea is EnrollFinger(step) - where step goes from 1 (or 0) (EnrollStart) to 4 (or 3) (Enroll3). The user really needs some prompts during the process...

Simulation - I thought of successful /unsuccessful call to Identify/Enroll (need to set return values) etc

The program currently has a main which is a test routine using an OLED i2c display to show progress.

Anyone have one of these and can test and assist?

Martin

fps-oled.fcfx
(44.37 KiB) Downloaded 91 times
These users thanked the author mnf for the post (total 3):
LeighM (Mon Oct 09, 2017 8:53 am) • Benj (Mon Oct 09, 2017 9:57 am) • johnsondav (Mon Oct 09, 2017 1:55 pm)
Rating: 15.79%
 

mnf
Valued Contributor
Valued Contributor
Posts: 590
Joined: Wed May 31, 2017 11:57 am
Has thanked: 56 times
Been thanked: 330 times
Contact:

Re: Fingerprint scanner

Postby mnf » Sun Oct 15, 2017 8:42 pm

Ok - so here is a first attempt as a component.

There is still nothing for simulation users - get real people :D Ok - I'm still not really sure how to go about making it simulate correctly. Any pointers gratefully received.

Some features of the GT5 fingerprint scanner aren't implemented (download/upload image for example) - I can add if they would be useful. The Arduino doesn't have enough ram and writing to SD would be way too slow - so would need someone with a PIC or other MCU and the patience to test.

Also there is a simple test program. Enrolls 3 fingerprints then tries to identify finger pressed - flashes the LED to show id (or fast flashes if not recognised).

Also attached is the flowcode to produce the component (volunteers for the simulation side of things????) - any requests as to changes (one that occurred to me - LED is on until finger is removed - I preferred this when giving instructions via an LCD - but this needs user to 'know' to press and release each finger 3 times and only going off after finger is lifted is a bit odd?).
The 'timeouts' on the Capture routines are not implemented. I got to where fingerprints weren't being registered and I thought this might be to blame (turned out my fingertips were too smooth!)

Martin


fps.fcfx
(42.55 KiB) Downloaded 87 times
FlowCode to produce component

FPSTest.fcfx
(13.43 KiB) Downloaded 85 times
A test program

FPS.fcpx
(3.82 KiB) Downloaded 89 times
As a component
These users thanked the author mnf for the post (total 4):
Steve (Mon Oct 16, 2017 8:31 am) • LeighM (Mon Oct 16, 2017 9:36 am) • Benj (Mon Oct 16, 2017 4:59 pm) • medelec35 (Thu Aug 02, 2018 2:15 pm)
Rating: 21.05%