Fingerprint Scanner Set Up with Raspberry Pi - Unlock With Biometric Control!

Today we will set up an Adafruit Optical Fingerprint Scanner to enroll fingerprints to be recognised. Then well use our fingerprints to control attached hardware (LED and Solenoid). We will even produce digital images of the enrolled fingerprints.
Full Article (with scripts and terminal commands) - core-electronics.com.au/guide...
Related Information
Set Up a Raspberry Pi as a Desktop Computer - core-electronics.com.au/guide...
How to use Raspberry Pi Imager - core-electronics.com.au/guide...
Control a 12V Solenoid With a Raspberry Pi - core-electronics.com.au/guide...
How to use a PiRelay HAT for Raspberry Pi (Used for Solenoid Control here) - core-electronics.com.au/guide...
Face Recognition with Raspberry Pi and OpenCV - core-electronics.com.au/guide...
Use Your Phone to Control Your Raspberry Pi - core-electronics.com.au/tutor...
Biometric Identification uses unique physical attributes, that are not easy to replicate, to identify a user. Extraordinarily everyone on Earth has Unique Fingerprints (which makes for almost 80 billion fingers), so lets explore what we can do with these biometrics. This Adafruit Optical Fingerprint Scanner captures a fingerprint and will return a confidence value if it find it to be a matching enrolled fingerprint. Remarkably this little scanner can store 300 Unique Fingerprints in its non-volatile flash memory. This means even when you completely de-power the system this Scanner will still remember all your enrolled fingerprints.
Any connected micro-controller (like an Arduino Uno) or micro-processor (like a Raspberry Pi 4 Model B) can communicate with it through TTL (UART) serial. The data sent allows the process to enroll new fingerprints, create digital images of captured fingerprints, or for reporting back detected fingerprints. This means you can utilise fingerprints to control GPIO-connected hardware.
GPIO (General Purpose Input and Output) pins can be used to control an almost endless amount of sensors and mechanisms, like solenoids to unlock doors, LEDs to brighten your day, or any component your project requires. GPIO is truly the gateway to the rest of the world.
There are three main types of fingerprint readers in use today, Optical, Ultrasound, and Capacitance. Optical Fingerprint Sensors are the traditional method and are the style utilised in this guide. Check the written up guide for more information on these different styles.
If you have any questions about this content or want to share a project you're working on head over to our maker forum, we are full time makers and here to help - coreelec.io/forum
Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
Adafruit Optical Fingerprint Scanner (used here) - core-electronics.com.au/catal...
Raspberry Pi 4 Model B (4GB) Ultimate Kit Bundle (AVALIABLE!) - core-electronics.com.au/raspb...
Raspberry Pi Model B 2GB (Used here): core-electronics.com.au/catal...
Adafruit Rugged Panel Mount Fingerprint Sensor (Capacitance) - core-electronics.com.au/catal...
12V Solenoid (Used here) - core-electronics.com.au/catal...
PiRelay V2 HAT (Used here) - core-electronics.com.au/catal...
Solder-less Breadboard - core-electronics.com.au/catal...
Raspberry Pi 4 Power Supply: core-electronics.com.au/catal...
0:00 Intro
0:20 Fingerprint Scanner Overview
0:50 What You Need
1:11 Assembly of Hardware
2:18 Software Set Up
3:20 Main Python Fingerprint Script Set Up
4:23 Running Main Script to Enroll a New Finger
5:00 Success! Correctly Identified an Enrolled Finger
6:06 Hardware and Script for LED Fingerprint Control
6:59 Success 2! Enrolled Fingerprint Controls LED!
7:27 LED Fingerprint Control Script Exploration
8:42 12V Solenoid Fingerprint Control
9:05 Where to Now
9:18 3D Printed Wall Mount for Fingerprint Scanner
9:33 Create a Digital Image of Your Fingerprint
10:04 Outro!

Пікірлер: 69

  • @kevinnava6303
    @kevinnava6303 Жыл бұрын

    1st one! Nice video. Thank you!!

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Yeeeehaww 😊 Thanks for the happy comment

  • @DarioColetto
    @DarioColetto Жыл бұрын

    You saved me soooo much time. And the 3d printed enclosure saved me even more time, thanks!

  • @jayc2469
    @jayc24698 ай бұрын

    I had an idea that I wanted to see if there was anyone who had actually done it on here - and you came up in the first search! My idea was to use a Fingerprint Scanner from a Huawei P30 (Not Aurora) and try and see if anyone had interfaced it to a pc running Windows or even Linux for arguments sake. You have earned another Subscriber sir! and I'll stick a TU in there for good measure too!

  • @diabao1
    @diabao1 Жыл бұрын

    Very helpful! Congrats!

  • @itakka
    @itakka Жыл бұрын

    Thank you for this video. Please can you post a link to the 3d wallmount case.

  • @3mre_1233
    @3mre_1233 Жыл бұрын

    Thanks for the video, you saved my Projekt for school ❤️

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Awwww yayay! 😊

  • @h.k.manahara1514
    @h.k.manahara1514 Жыл бұрын

    Very helpfull video

  • @GaganSingh-uy3ks
    @GaganSingh-uy3ks Жыл бұрын

    Love it ❤

  • @bhavishahadiyal7836
    @bhavishahadiyal7836 Жыл бұрын

    This is like God level best guidance, please keep it up like 1000000000 percentage please keep it up, it's an great help to us

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    As long as I can stay afloat I will! Thank you for your kind kind words! 😍

  • @ahmadalaa9761
    @ahmadalaa97616 ай бұрын

    Thank you vary mach

  • @petergrove5132
    @petergrove5132 Жыл бұрын

    Thanks for this video and all the others you have produced. They are a great help in getting started on my projects. What is the minimum hardware that is required to use with this scanner? Pico or Pi Zero work? Thanks.

  • @josephchamness9915

    @josephchamness9915

    Жыл бұрын

    If you follow the links it says "any microcontroller or system with TTL serial" and there are Arduino libraries. Sounds like all the work is done on the module.

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Absolutely true, Arduino or Raspberry Pi Pico boards can both operate with this Adafruit Optical Fingerprint Sensor. Linked here is a rad set up which uses the Pico and the Fingerprint Sensor - kzread.info/dash/bejne/oY5lzdyDicnRZ8Y.html

  • @nonlocalitykat
    @nonlocalitykat Жыл бұрын

    The Adafruit fingerprint sensor URL link is going to the Core Geophone -SM-24 product page.. (the first Adafruit one in the list)

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    So true!! Fixing right now ----> And Fixed, thanks you 😊!

  • @tigreonice2339
    @tigreonice23399 ай бұрын

    Do you know how to install the driver for the usb fingerprint reader U.are.U 4500 digital persona in linux? I tried with fprintd and didn't work. Also wine but didn't work for the driver . I'm using linux mint 21.1 or 21.2

  • @JMinatsuki6215
    @JMinatsuki621510 ай бұрын

    Can I extract the data in Raspberry Pi to my Created Centralized System, let's say I want to create an Interface for the Biometric Scanner or a Payroll System and not just look and plain/raw data?

  • @rhodesiasifundza9108
    @rhodesiasifundza9108 Жыл бұрын

    Great video. But how can you set this up with the pico w because it uses micropython. I tried asking ChatGPT, doesn't seem to help me out

  • @tylerbillingslea7000
    @tylerbillingslea7000 Жыл бұрын

    I’m a little late to the party but I love the video! Can you please link the sensor? Most of the ones I find say they are for Arduino, and I’m not sure if they will work with this.

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Late can often be better 😜 this is the exact one I used (I always link everything I use in the description of vid too) - Adafruit Optical Fingerprint Scanner (used here) - core-electronics.com.au/catalog/product/view/sku/ADA4690

  • @rizkyjubair1093
    @rizkyjubair1093Ай бұрын

    Is work for fingerprint AS608?

  • @nzavon
    @nzavon Жыл бұрын

    Very nice 🙂

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Cheers mate 😊!

  • @bloodgracet5640
    @bloodgracet5640 Жыл бұрын

    The cool set up would be fingerprint start for your car. Turn the key on, scan your finger, car starter runs while finger on sensor.. the rasp pi output to a relay connecting start (keyswitch) wiring. or, replacing push button start already in many cars with fingerprint scanner/pi set up.

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    I love that idea too! I've seen this Adafruit Fingerprint Scanner be used in a very similar application for a Motorcycle. Check that here 😊 - kzread.info/dash/bejne/fH6Jw6OgkdG3fqQ.html

  • @edwinponguta9068
    @edwinponguta90688 ай бұрын

    Hello from Colombia. Thank you very much for your contribution with this video. I have a question, is it possible to extract the templates from flash memory and store them in a database. with the intention of having a backup and in the event that the sensor fails to be able to insert the templates from the database?

  • @priscillachikowore2216

    @priscillachikowore2216

    3 ай бұрын

    Hey is it working the way you wanted

  • @edwinponguta9068

    @edwinponguta9068

    3 ай бұрын

    @@priscillachikowore2216 Hello. Could this library work from an esp32 to be able to extract the templates and store them on a microSD? And do the validations with the templates that are on the microSD? Do you know if there is a library that allows me to do this?

  • @leandrobernardes9389
    @leandrobernardes9389 Жыл бұрын

    Can we save the fingerprint template to external db? And check if its match?

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    For sure you can download the fingerprint scan. I'm also sure you can create a Python script to compare multiple scanned images or you can do it manually one by one 😊.

  • @keanudeleon7933
    @keanudeleon7933Ай бұрын

    How can I hash the finger prints?

  • @jerrygodson5094
    @jerrygodson50942 ай бұрын

    hello sir, what is that blue board on the raspberry pi when you introduced the solenoid lock and what is its function

  • @Core-Electronics

    @Core-Electronics

    2 ай бұрын

    It is the PiRelay HAT, it has several relays onboard that you can control with the Pi. And a relay is an electrical switch that we can control. Here is the board: core-electronics.com.au/pirelay-v2-relay-board-for-raspberry-pi-1.html And if you are interested in controlling solenoids, we have a guide on it as well: core-electronics.com.au/guides/solenoid-control-with-raspberry-pi-relay/

  • @jerrygodson5094

    @jerrygodson5094

    2 ай бұрын

    @@Core-Electronics alright, i was wondering how you connected the relay to the board because in a previous video a spot where a pin of the relay went into is also a spot where a pin of the fingerprint sensor went to. so im trying to understand how i can have both of them connected seeing as im trying to trigger the solenoid lock via fingerprint authentication

  • @DIEGOROSALIOCERVANTESRAMOS
    @DIEGOROSALIOCERVANTESRAMOS Жыл бұрын

    What other sensors are these python modules compatible with?for example if I want to use the R307 fingerprint module would it work?

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Correctly wired up the R307 will absolutely work. Pyfingerprint Package will work with ZFM-20, ZFM-60, ZFM-70, ZFM-100, R302, R303, R305, R306, R307, R551 and FPM10A fingerprint devices.

  • @rizkyjubair1093

    @rizkyjubair1093

    Ай бұрын

    @@Core-Electronics does this python module support the AS608 fingerprint sensor?

  • @mickeymouse5168
    @mickeymouse51685 ай бұрын

    Where can I find all videos from this person?

  • @sisplani
    @sisplani11 ай бұрын

    Hi, thanks for the video, it helped me a lot. I would like to use it for 5000 people. Would it be possible to take the template of the finger and store it in a database and then , when i want to check a fingerprint, search it from tha database?.

  • @priscillachikowore2216

    @priscillachikowore2216

    3 ай бұрын

    Did it work for a large number

  • @juanclopgar97
    @juanclopgar97Ай бұрын

    Does somebody have issues with the sensor nor detecting accurately when you place/remove your finger? How did you solve that, mine is templaiting even when there is not finger and it doesn't detect if you remove it

  • @Core-Electronics

    @Core-Electronics

    Ай бұрын

    Sorry to hear you are having troubles with it, we have a dedicated community forum topic on this video that might have some helpful information there. If not feel free to chuck a post on there with some information about your wiring, code and setup, we have lots of maker eyes over there that can help! forum.core-electronics.com.au/t/guide-by-tim-fingerprint-scanner-with-raspberry-pi-single-board-computer-unlock-with-biometrics/15654/11

  • @chimichangaaa9412
    @chimichangaaa94123 ай бұрын

    why is it every time I try and use the first fingerprint simpletest rpi example, Adafruit_Fingerprint gets an attribute error

  • @Core-Electronics

    @Core-Electronics

    3 ай бұрын

    Sorry to hear you are having issues, we have a community forum post for this video that might have some answer, if not feel free to chuck a post on there with some details of your setup and issue, we have a lot of eyes over there that can help! Here ya go: forum.core-electronics.com.au/t/guide-by-tim-fingerprint-scanner-with-raspberry-pi-single-board-computer-unlock-with-biometrics/15654/5

  • @user-gk1tx9pr3h
    @user-gk1tx9pr3h4 ай бұрын

    I dont see the link for the 3d model can you send it here? And it fit to R307?

  • @Core-Electronics

    @Core-Electronics

    4 ай бұрын

    Hey, you can find the model at the end of the page on the article, but here is a direct link: www.thingiverse.com/thing:4460298

  • @jerrygodson5094
    @jerrygodson50943 ай бұрын

    i get this message “error: externally managed environment “ whenever i try copying and pasting the first link in the article

  • @Core-Electronics

    @Core-Electronics

    3 ай бұрын

    Hey Mate, with the new Bookworm OS, we have been forced to use virtual environments (not using one gives the "externally managed environment"). We have a workaround for it here: core-electronics.com.au/guides/raspberry-pi/using-virtual-environments-in-thonny-on-a-raspberry-pi/

  • @saicharan5904
    @saicharan5904 Жыл бұрын

    thanks for the video but can you please explain me how can we enroll the fingerprint with the name of the person?

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Cheers mate, and each enrolled finger print has a enroll ID. You could whip up a Python script to link ID numbers to a name of the person. That's how I would approach the project.

  • @AITUENACTUS
    @AITUENACTUS Жыл бұрын

    where link for 3D printed model?

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    At the bottom of the article for this video, head to the first link in the description.

  • @PhilLu58
    @PhilLu58 Жыл бұрын

    Hi, great project 👌 Is it possible to memorize upto 9999 fingerprints???

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Cheers for you comment 😊 this sensor can store 300 unique fingerprints inside its internal memory.

  • @PhilLu58

    @PhilLu58

    Жыл бұрын

    @@Core-Electronics but how can we extend that limit?

  • @Core-Electronics

    @Core-Electronics

    Жыл бұрын

    Excellent question. It is not possible to increase the storage in the sensor itself. But the sensor protocol does allow image data to be uploaded. That means you could store your fingerprints on the Pi and then run through all the data by uploading it in chunks to the Module. I presume it would result in a lower response time. Check more at the Modules Datasheet - cdn-shop.adafruit.com/datasheets/ZFM+user+manualV15.pdf

  • @PhilLu58

    @PhilLu58

    Жыл бұрын

    @@Core-Electronics Perfect, many thanks for your answer 👌

  • @andrewdev8100
    @andrewdev8100 Жыл бұрын

    I followed all the steps but I get this error when running the script "AttributeError: module 'adafruit_fingerprint' has no attribute 'Adafruit_Fingerprint' " anyone with this same error or any idea on how to solve it?

  • @christopherleadholm6677

    @christopherleadholm6677

    8 ай бұрын

    Same issue. Seems like the code changed and broke from when his video was made.

  • @andrewdev8100

    @andrewdev8100

    8 ай бұрын

    @@christopherleadholm6677 Hey I solve this issue just forgot to comment right here. In your terminal you need to move to your proyect and start de virtual env "source my_project/bin/activate" after that run the proyect in your terminal "python .\my_project.py" I did something like that, I didn't use "Thonny" like in the video but the Adafruit Fingerprint library works well

  • @chillbahadur
    @chillbahadurАй бұрын

    why is the first command not working

  • @Core-Electronics

    @Core-Electronics

    Ай бұрын

    Hey, we have a forum post on this specific video. There may be some helpful information on there, if not feel free to drop a post with your issue and some information about your setup.

  • @Prosna-gu6oj
    @Prosna-gu6oj7 ай бұрын

    "Place finger on sensor...Image take", "Templating ... Could not identify features". Why is that?

  • @navarrocristeljane3008
    @navarrocristeljane3008 Жыл бұрын

    woww i have a crush on you, i love you ♡

  • @priscillachikowore2216
    @priscillachikowore22163 ай бұрын

    Does it work for about 5000 people

  • @Core-Electronics

    @Core-Electronics

    3 ай бұрын

    The onboard flash for this system only has storage for 162 fingerprints