![]() ![]()
Call the following: python2 /usr/share/doc/python-fingerprint/examples/example_enroll.py Check it again.Īttached are sample files for storing a new fingerprint, reading out and deleting stored fingerprints. If the error message “Exception message: The fingerprint sensor port “/dev/ttyUSB0″ was not found!” appears, something is wrong with the cabling or the sensor. Please enter the index page ( 0, 1, 2, 3 ) you want to see : ![]() ![]() #Digitalpersona u are u 4500 fingerprint reader code#The Python library code is available on Github. To return to the normal shell (under the Pi user), type exit.īy the way: If you prefer to use a C ++ library, you can look at this one from Adafruit (originally for Arduino). #Digitalpersona u are u 4500 fingerprint reader install#If an error has occurred (in particular, that not all dependent packages have been installed), then execute the following: apt-get -f install #Digitalpersona u are u 4500 fingerprint reader update#We then update the available packages and install the Python library: apt-get update Now we add the necessary package sources (the author has also a few other exciting projects): wget -O - | apt-key add. Therefore we start a terminal session and type the following, which executes all the following commands as root: sudo bash Installation of the Raspberry Pi Fingerprint Libraryįor some commands of the installation, root privileges are required. One advantage of the USB variant is that it is easier to check whether the sensor has been detected. Theoretically, you can do it also with 5V and a TTL converter, but I will not go into details in this tutorial. If you have a sensor with 3.3V required input voltage, you can also connect this without USB converter directly to the GPIOs. If the name differs (because, for example, other devices are connected), you have to adapt it accordingly in the following steps. #Digitalpersona u are u 4500 fingerprint reader serial#If no other serial devices are connected via USB, nothing should be displayed first and afterwards /dev/ttyUSB0. To check whether the cabling is correct and whether the sensor is detected, you can open your console and perform the following before and after connecting: ls /dev/ttyUSB* If your sensor needs a higher voltage than 3.3V (and the maximum value is equal to or greater than 5V), you can connect the red cable to the 5V pin.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |