I am trying to connect a R305 v1.6 fingerprint scanner with my Raspberry Pi2 Model B.
I am using
pyfingerprint module which supports ZFM-20 fingerprint scanner.
Now after successful installion when I run the example, it says
The fingerprint sensor could not be initialized!
Exception message: The fingerprint sensor port "/dev/ttyUSB0" was not found!
I tried seeing the
tty ports using the command
dmesg | grep tty, and this the output I get when the sensor is connected:
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa21041 bcm2709.serial=0x2377eadd smsc95xx.macaddr=B8:27:EB:77:EA:DD bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [ 0.001458] console [tty1] enabled [ 0.097506] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2 [ 2.061340] systemd: Starting system-getty.slice. [ 2.065794] systemd: Created slice system-getty.slice.
I am unable to decipher where the error is. Is it that the library is not supported with this fingerprint module, or is there some other error.
PS - I also have disabled login shell over serial, as I saw in this tutorial: http://www.instructables.com/id/Read-and-write-from-serial-port-with-Raspberry-Pi/
Update 1: I am connecting the fingerprint scanner using the gpio pins, Ground, 5V, TDX and RX, since it communicates via TTL serial. As I connect the Ground and 5V pins to the scanner, the scanner lights blink. That's the only activity seen on the scanner. I have also tried another scanner, and this too gives the same problem while integration.