Wednesday, 27 January 2016

Cheap USB fingerprint reader (from Laptop) works with Raspberry Pi

Just connected it to Raspberry Pi.
Did software install:

> sudo apt-get install libpam-fprintd

And then testing:

> sudo fprintd-enroll
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-completed

> sudo fprintd-verify
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: right-index-finger
Verify result: verify-match (done)

So it works perfectly on Raspberry Pi.

6 comments:

  1. Will this fingerprint sensor work with your own application? do you need any SDK? which library do you need to use? which language do you need yo use?

    ReplyDelete
    Replies
    1. The above lines are command line under Linux. But I remember I was using python with some bindings to some fingerprint lib and it was working. I think there is only one library (google it) under Linux which provides API to fingerprint devices in the system.

      Delete
  2. Where is the fingerprint reader though? I mean the device. Which device is it?

    ReplyDelete
    Replies
    1. It is described in the first post:
      http://sergeplay.blogspot.co.uk/2016/01/lenovo-42w7764-fingerprint-scanner.html

      Delete
  3. I can't see a picture with the pinout of the fingerprint module: I can easily identify the ground, but ... which wire is 5V and which wire is D+ and D- ?

    ReplyDelete
    Replies
    1. D+ and D- are always go together next to each other because they are differential, and usually they are inside between power and ground. The power lines usually go outside and are usually thicker than D+, D-. If you found 5V and Gnd then D+ and D- will be just two possibilities with only one wrong. Also D+ and D- could be easily identified on PCB because these tracks should have the same length.

      Delete