Git Product home page Git Product logo

zfmsdk's Introduction

ZFM SDK

ZFM SDK is a Delphi written library for using various ZhianTec Fingerprint Modules (ZFM) under Windows and Linux operating systems. It was developed and tested for ZFM-20 and ZFM-60 models.

Integration

ZFM SDK can be used out of native Delphi applications created by Rad Studio and Lazarus as a regular Delphi unit. For other compiled languages like the C family ZFM SDK can also be used as shared library (see "lib" folder). The library has to be compiled using Lazarus IDE. Just open the Zfm.lpi from the "lib" folder out of Lazarus and compile it. The library file is created in the "bin" folder. The required header files are located inside the "Include" folder.

Linux setup

Add group "dialout" for each user which should be able to use the ZFM

~# usermod -a -G dialout <username>
~# reboot

Installation

ZFM SDK is available in Lazarus Online Package Manager. To use the library in a project just set dependency to ZFM SDK package in project inspector.

Troubleshooting

When you get messages like Fingerprint sensor could not be found or The recieved packet header is invalid! there are multiple reasons for these issues:

  • The sensor was not found at given port
  • The USB-TTL converter is not working properly
  • The data wires (TX, RX) between the sensor and the USB-TTL converter are not connected correctly
  • The sensor is not compatible with the library (not a ZhianTec model?)

Of course you can try the following solution for each possibility:

  • Ensure you are using the correct port (e.g. Linux uses /dev/ttyUSB0 and Windows uses COM3)
  • Try another USB-TTL converter (the chipset CP2102 is working well)
  • Exchange the data wires and use other cables
  • Maybe you bought the wrong model? Try another sensor

Questions and suggestions

If you have any questions to this project just ask me via email:

[email protected]

zfmsdk's People

Contributors

philippmeisberger avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.