Instructions

sudo bash
3. USAGE WITH RASPBERRY PI
3.1 Connection
For the Raspberry Pi, we use a USB to TTL module. In our application exa-
mple, we use our SBC-TTLitem for this.
Therefore, we connect the fingerprint sensor to the adapter as shown be-
low..
Now connect the SBC-TTL to one of your Raspberry Pi's USB ports.
We use the SBC-TTL because the sensor is supplied by 5 V and TXD /RXD
only have a logic level of 3,3 V. Therefore, the Raspberry Pi could be
damaged during a direct connection with the sensor.
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.
3.2 Installation
We use the pyfingerprint library by bastianraschke, released under the
German Free Soware License
, to control the fingerprint sensor. To
install the library and all its dependencies, run the following commands:
wget -O - https://apt.pm-codeworks.de/pm-codeworks.de.gpg | apt-key add -
wget https://apt.pm-codeworks.de/pm-codeworks.list -P /etc/apt/sources.list.d/
apt-get update
apt-get install python3-fingerprint --yes
apt-get -f install
exit
sudo stty -F /dev/ttyAMA0 57600
Fingerprint sensor SBC-TTL
5 V (Red) 5 V
GND (Black) GND
TXD (Yellow) RXD
RXD (White) TXD
Touch (Green) -
3,3 V (Blue) -