Example: barber

Adafruit Optical Fingerprint Sensor

Adafruit Optical Fingerprint SensorCreated by lady ada updated on 2022-12-01 01:53:20 PM EST Adafruit IndustriesPage 1 of 2734491016172626 Table of ContentsOverviewEnrolling vs. SearchingEnrolling New Users with WindowsSearching with the SoftwareWiring for use with Arduino Arduino UNO & Compatible Wiring Hardware Serial Wiring Soft & Hard Serial UploadEnrolling with ArduinoPython & CircuitPython Sensor Wiring CircuitPython Microcontroller Wiring Python Computer Wiring CircuitPython Fingerprint Library Installation Python Installation of Fingerprint Library CircuitPython & Python Usage Example Code Enrolling Prints Finding Prints Deleting FingerprintsPython DocsDownloads Adafruit IndustriesPage 2 of 27 Overview Secure your project with biometrics - this all-in-one Optical Fingerprint Sensor willmake adding Fingerprint detection and verification super

Nov 15, 2021 · The easiest way to enroll a new fingerprint is to use the Windows software. The interface/test software is unfortunately windows-only but you only need to use it once to enroll, to get the fingerprint you want stored in the module. First up, you'll want to connect the sensor to the computer via a USB-serial converter.

Tags:

  Fingerprints

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Adafruit Optical Fingerprint Sensor

1 Adafruit Optical Fingerprint SensorCreated by lady ada updated on 2022-12-01 01:53:20 PM EST Adafruit IndustriesPage 1 of 2734491016172626 Table of ContentsOverviewEnrolling vs. SearchingEnrolling New Users with WindowsSearching with the SoftwareWiring for use with Arduino Arduino UNO & Compatible Wiring Hardware Serial Wiring Soft & Hard Serial UploadEnrolling with ArduinoPython & CircuitPython Sensor Wiring CircuitPython Microcontroller Wiring Python Computer Wiring CircuitPython Fingerprint Library Installation Python Installation of Fingerprint Library CircuitPython & Python Usage Example Code Enrolling Prints Finding Prints Deleting FingerprintsPython DocsDownloads Adafruit IndustriesPage 2 of 27 Overview Secure your project with biometrics - this all-in-one Optical Fingerprint Sensor willmake adding Fingerprint detection and verification super

2 Simple. These modules aretypically used in safes - there's a high powered DSP chip that does the imagerendering, calculation, feature-finding and searching. Connect to any microcontrolleror system with TTL serial, and send packets of data to take photos, detect prints, hashand search. You can also enroll new fingers directly - up to 162 finger prints can bestored in the onboard FLASH like this particular Sensor because not only is it easy to use, it also comes withfairly straight-forward Windows software that makes testing the module simple - youcan even enroll using the software and see an image of the Fingerprint on yourcomputer screen. But, of course, we wouldn't leave you a datasheet and a "goodluck!

3 " - we wrote a full Arduino library so that you can get running in under 10 library can enroll and search so its perfect for any project (). We've also written adetailed tutorial on wiring and use (). This is by far the best Fingerprint Sensor you voltage: - current: 120mA maxPeak current: 150mA maxFingerprint imaging time: < secondsWindow area: 14mm x 18mmSignature file: 256 bytesTemplate file: 512 bytes Adafruit IndustriesPage 3 of 27 Storage capacity: 162 templatesSafety ratings (1-5 low to high safety)False Acceptance Rate: < (Security level 3)False Reject Rate: < (Security level 3)Interface: TTL SerialBaud rate: 9600, 19200, 28800, 38400, 57600 (default is 57600)Working temperature rating: -20C to +50 CWorking humidy: 40%-85% RHFull Dimensions: 56 x 20 x Dimensions (when placed in box): 21mm x 21mm x 21mm triangularWeight: 20 gramsEnrolling vs.

4 Searching There are basically two requirements for using the Optical Fingerprint Sensor . First isyou'll need to enroll fingerprints - that means assigning ID #'s to each print so you canquery them later. Once you've enrolled all your prints, you can easily 'search' thesensor, asking it to identify which ID (if any) is currently being can enroll using the Windows software (easiest and neat because it shows youthe photograph of the print) or with the Arduino sketch (good for when you don't havea Windows machine handy or for on-the-road enrolling).Enrolling New Users with Windows The easiest way to enroll a new Fingerprint is to use the Windows software. Theinterface/test software is unfortunately windows-only and the Fingerprint imagepreview section only seems to work with these sensors: Fingerprint Sensor Secure your project with biometrics - thisall-in-one Optical Fingerprint Sensor willmake adding Fingerprint detection andverification super simple.

5 These modulesare typically Adafruit IndustriesPage 4 of 27 Basic Fingerprint Sensor With SocketHeader Cable Secure your project with biometrics - thisall-in-one Optical Fingerprint Sensor willmake adding Fingerprint detection andverification super simple. It's easy to useand but you only need to use it once to enroll, to get the Fingerprint you want stored in up, you'll want to connect the Sensor to the computer via a USB-serial easiest way to do this is to connect it directly to the USB/Serial converter in theArduino. To do this, you'll need to upload a 'blank sketch' this one works well for"traditional" Arduinos, like the Uno and the Mega:// this sketch will allow you to bypass the Atmega chip// and connect the Fingerprint Sensor directly to the USB/Serial// chip Red connects to +5V// Black connects to Ground// White goes to Digital 0// Green goes to Digital 1void setup() {}void loop() {}If you're using a Leonardo, Micro, Yun, Zero, or other native-USB device likeATSAMD21 or ATmega32U4-based controller, use the Leo_passthru sketch instead ofthe "blank" Allows Leonardo to pass serial data between Fingerprint reader and Red connects to +5V// Black connects to Ground// Green goes to Digital 0// White goes to Digital 1void setup() { // put your setup code here, to run once: (57600); (57600).}

6 The "blank" sketch won't work for "native USB" based Arduinos like the Leonardo, Micro, Zero, etc! Use the Leo_passthru sketch instead! Adafruit IndustriesPage 5 of 27}void loop() { while ( ()) ( ()); while ( ()) ( ());}Wire up the Sensor as described in the sketch comments after uploading the the Sensor wires are so thin and short, we stripped the wire a bit and meltedsome solder on so it made better contact but you may want to solder the wires toheader or similar if you're not getting good contact. When you plug in the power, youmay see the LED blink to indicate the Sensor is the Arduino wiring page for the different wire colors for each kind of Sensor ()You'll connect to the hardware RX / TX pins on the microcontroller:Start up the SFGDemo software and click Open Device from the bottom left the COM port used by the Arduino.

7 Adafruit IndustriesPage 6 of 27 And press OK when done. You should see the following, with a blue success messageand some device statistics in the bottom corner. You can change the baud rate in thebottom left hand corner, as well as the "security level" (how sensitive it is) but wesuggest leaving those alone until you have everything running and you want toexperiment. They should default to 57600 baud and security level 3 so set them ifthey're wrong If you get an error when you Open Device, check your wiring, try swapping the RX and TX wires on the Sensor , that's a common mixup! Adafruit IndustriesPage 7 of 27 Lets enroll a new finger! Click the Preview checkbox and press the Enroll button nextto it (Con Enroll means 'Continuous' enroll, which you may want to do if you havemany fingers to enroll).

8 When the box comes up, enter in the ID # you want to can use up to 162 ID numbers. The software will ask you to press the finger to the Sensor Adafruit IndustriesPage 8 of 27 You can then see a preview (if you cliecked the preview checkbox) of the Fingerprint . You will then have to repeat the process, to get a second clean print. Use the samefinger!On success you will get a there's a problem such as a bad print or image, you'll have to do it again. Searching with the Software Once you have the finger enrolled, it's a good idea to do a quick test to make sure itcan be found in the database. Click on the Search button on the right hand prompted, press a different/same finger to the it is the same finger, you should get a match with the ID #If it is not a finger in the database, you will get a failure notice.

9 Adafruit IndustriesPage 9 of 27 Wiring for use with Arduino Once you've tested the Sensor , you can now use it within a sketch to verify afingerprint. We'll need to rewire the Sensor . Disconnect the green and white wires andplug the green wire into digital 2 and the white wire to digital 3. (For ESP8266 use 4 &5, for devices with Hardware UART use 0 & 1) If your Fingerprint Sensor has individualsocket wires (its this one) () then use thefollowing wire setup:Red Wire to wire is Serial TXWhite wire is Serial RXBlack wire is ground It is normal for the Sensor to blink the LED quickly once powered, after that the LED may stay off until you've started to request data from it Adafruit IndustriesPage 10 of 27 If your cable has a single slim connectoron the end and has different color wires:The first wire from the left should be theblack wire groundthen the two data pins.

10 Serial RX is thewhite wireSerial TX is the green wireThen the red power wire (3 or 5V)You'll have to cut, strip and solder thewires. If your Sensor is an older one and has allthe same-color wires, The first wire fromthe left is ground, then the two data pins,then power. You'll have to cut, strip andsolder the wires. RX is the same as the White wireTX is the same as the Green wire Adafruit IndustriesPage 11 of 27 On the "rugged" Fingerprint Sensor :Red wire is connected to for powerBlack wire is connected to groundYellow to Microcontroller TX (data out frommicrocontroller)Green to Microcontroller RX (data in frommicrocontroller) On the 'slim' Fingerprint sensorBlack to GNDY ellow to Microcontroller TX (data out frommicrocontroller)Green to Microcontroller RX (data in frommicrocontroller)Red to VINA rduino UNO & Compatible WiringThis example sketch uses pins 2 and 3 for software serial (on ATmega328P typeboards by default) - Not all boards support Software Serial on all pins so check boarddocumentation!


Related search queries