4.2 Installation
We use the library Adafruit-Fingerprint-Sensor-Library from Adafruit,
which is released under the
BSD License
. You can install the library in the
Arduino IDE under
Tools
→
Manage Libraries…
.
4.3 Usage with the library
You can run sample codes under
File
→
Examples
→
Adafruit Fingerprint
Sensor Library
. You can use the
enroll
script to add fingerprints and
fingerprint
to compare a fingerprint to the stored data.
When executing this, make sure that you have selected the correct Board
and Port in
Tools
.
A voltage translator should be used with the Arduino, because the
fingerprint sensor only has a logic level of 3.3V. We recommend COM-
KY051VTas voltage converter.
The pin Touch is an output pin, which sends a signal, if a finger has been
placed on the sensor. The sensor can be operated with the 3.3 V pin, but
is then only able to detect whether a finger has been placed on it via the
touch pin and cannot read the fingerprint.