Hi, and welcome to this quick tutorial about interfacing the FPM10A or 50DY optical fingerprint sensor, it’s made by Adafruit. The module is very compact and easy to integrate in your projects especially safe locks, doors… or anything that you want to keep safe. The module has a nice chip that do the image rendering, conversion, searching… and has a flash memory where you can store the fingerprints images (templates) and it depends on the version you’re using the number of templates will variate, the one I’m using stores up to 127 image.
You can also use this module with Windows software but here we’re about Arduino for the moment.
There are few different versions, you can visually differentiate them but the connectors placement, the one I’m using has a connector on the back, there are some with connectors on the side…
For the wiring, the module pins are written on it like mine
Or check this pinout that I took from Adafruit module document
Libraries and codes:
Download the Adafruit fingerprint sensor library here.
For the codes I’ve used are from the examples: Enroll and Fingerprint, the first one permits you to scan your fingerprints and associate them with an ID (number 1-127), upload the code and open your serial monitor then follow the steps
The second code scans your fingerprint and shows you the ID if you already enrolled it before, otherwise no response.
The code I’ve made: Download here
For the code I’ve used with the LCD i2c screen (the first two codes don’t need the LCD) it’s just a modified version of the “Fingerprint” code from the examples: to use it first you you upload the code “Enroll” and associate the fingerprints you want with their IDs and don’t forget the order then open the code I’ve made and go to line where I decalre the names it’s a String Array.
So here in the example above I enrolled the “Yassine” fingerprints as ID=1 but here in the array it’s number is 0 and if we want to use it we use:
Names which is Names[(Yassine’s ID=1)-1]
That’s it, it shows you the name of the person.
Hope you like it, and if you have any problem contact me.
Automation and Electrical Engineer, Electronics amateur trying to share my little projects.