BocklyProp reference for FINGERPRINT SCANNER blocks
These blocks are for use with the Fingerprint Scanner (#29126) and the Propeller Activity Board WX, Propeller FLiP or Other board types. Not available for Badge or Scribbler Robot board types.
New to this sensor? Click here to see an example schematic and quick Blockly program to help you get started.
Fingerprint scanner initialize
This block launches a processor automatically. Use only one instance of this block per project.
Use the Fingerprint scanner initialize block to specify which Propeller I/O pins are connected to your device. I/O pins available for this use will vary with board type.
If you have defined a constant using the constant define block, the constant will show up in all of the pin menus and can be selected instead of a numbered pin:
If you forget to use this block in your project, a triangle warning icon will appear on other Fingerprint scanner blocks as a reminder.
Fingerprint scanner capture
The Fingerprint scanner capture block lets you manage the fingerprint scans that are stored on the device. The action options from the drop-down menu are:
- capture and save to - capture a fingerprint and save it to your device memory, assigning it the ID number of the inserted number value.
- delete capture for - delete the captured fingerprint for the specified ID number from device memory.
- delete all captures- delete all the captured fingerprints/ID numbers stored in the device memory.
Fingerprint scanner scan
The Fingerprint scanner scan block can perform three different actions and provides a value based on the outcome of the action. (However, none of these actions capture and save a new scan onto the device.)
- scan and identify - scans the finger currently on the glass and searches for a match with the captures stored on the device. If a match is found it provides the capture's ID, if no match is found it provides a zero.
- scan and compare - scans the finger currently on the glass and compares it to the stored capture specified by the inserted ID value. If they match, the block provides a 1; if they don't match the block provides a zero.
- count number of IDs - provides the number of captures stored on your scanner.