#fingerprint #embedded-hal-driver #serial #usart #biometrics #embedded-devices

hzgrow-r502

A USART driver for the HZ Grow R502 fingerprint reader module. May also be useful for other, similar modules.

4 releases

0.2.2 Dec 17, 2019
0.2.1 Dec 17, 2019
0.2.0 Dec 13, 2019
0.1.1 Dec 7, 2019

#1100 in Embedded development

MIT license

66KB
1K SLoC

An incomplete driver for the HZ Grow R502 fingerprint reader module

Uses embedded-hal and arrayvec. It's not intended to be a complete implementation of the R502 command set but rather enough for a simple fingerprint verification device.

Feature support

  • Authenticating with the device and querying status
  • Searching the fingerprint library
  • Verifying selected fingerprints
  • Enrolling and deleting fingerprints

For more, see the projects.

Examples

Some examples are meant to be run on a full PC rather than an embedded device. Use a serial to USB converter at 3.3V power and logic levels. I recommend the ESP-PROG.

Contributing guidelines

If you want to send a PR, please make sure that your changes work on a real R502 (if your changes modify anything in the driver itself). For issues, do a cursory check to see if a similar issue has already been filed.

Please follow Rust's code of conduct.

Dependencies

~255KB