Skip to content

m5stack/M5Unit-FINGER

Repository files navigation

M5Unit - FINGER

Overview

Library for Finger units using M5UnitUnified.
M5UnitUnified is a library for unified handling of various M5 units products.

SKU:U008

Unit Finger is a fingerprint recognition sensor. It integrates the FPC1020A capacitive fingerprint recognition module, featuring multi-fingerprint enrollment, image processing, feature extraction, fingerprint matching, and search functions.

SKU:U074

Hat Finger is a fingerprint recognition sensor. It integrates the FPC1020SC capacitive fingerprint recognition module, featuring multi-fingerprint entry, image processing, feature extraction, fingerprint matching, and search functions.

SKU:A066

Faces Finger is a fingerprint recognition panel compatible with the FACE kit. It integrates the FPC1020A capacitive fingerprint recognition module internally, featuring functions such as multi-fingerprint enrollment, image processing, feature extraction, fingerprint comparison, and search. It supports setting different security levels, providing a stable and reliable mechanism for fingerprint addition, verification, and management for your projects.

SKU:U203

The Unit Fingerprint2 is a high-performance fingerprint recognition sensor unit, internally integrating an STM32 core controller and an A-K323CP all-in-one fingerprint recognition module. It uses a semiconductor capacitive sensor with functions such as fingerprint acquisition, feature extraction, registration, comparison, storage, and retrieval.

Related Link

See also examples using conventional methods here.

Required Libraries:

License

Examples

See also examples/UnitUnified

For ArduinoIDE settings

You must choose a define symbol for the unit you will use. (Rewrite source or specify with compile options)

  • UnitFinger / HatFinger / FacesFinger examples (PlotToSerial / Capture / Characteristic / User)
// *************************************************************
// Choose one define symbol to match the unit you are using
// *************************************************************
#if !defined(USING_UNIT_FINGER) && !defined(USING_HAT_FINGER) && !defined(USING_FACES_FINGER)
// For UnitFinger (SKU:U008)
// #define USING_UNIT_FINGER
// For HatFinger (SKU:U074)
// #define USING_HAT_FINGER
// For FacesFinger (SKU:A066)
// #define USING_FACES_FINGER
#endif

For ESP-IDF settings

The examples also build as native ESP-IDF projects (idf.py). Each example directory is a standalone project that pulls in this library together with M5UnitUnified / M5Unified via main/idf_component.yml.

cd examples/UnitUnified/UnitFinger/Capture   # or any example
idf.py set-target esp32s3                     # or esp32 / esp32c6 / esp32p4 / ...
idf.py menuconfig                             # UnitFinger family only (see below)
idf.py build flash monitor

For the UnitFinger family (FPC1020A: UnitFinger / HatFinger / FacesFinger) the unit/board is selected via Kconfig instead of editing the source #define. Each example exposes the same choice through main/Kconfig.projbuild (which sources examples/UnitUnified/common/Kconfig.variant), and examples/UnitUnified/common/variant.cmake maps the chosen CONFIG_EXAMPLE_USING_* to the source-level USING_* macro shared with the Arduino build:

# -> M5Unit-FINGER example -> Target unit / board -> choose ONE:
#       UnitFinger  (FPC1020A, UART / GROVE PortC)
#       HatFinger   (FPC1020A, UART / HAT)
#       FacesFinger (FPC1020A, UART / M-Bus)

The UnitFinger2 examples drive a single unit over UART and have no variant choice, so no menuconfig selection is needed.

ESP32-P4 / M5Tab5: early P4 silicon (M5Tab5 reports revision v1.0) is rejected by the IDF v5.5+ default minimum chip revision (v3.1), so flashing fails with bootloader.bin requires chip revision in range [v3.1 - v3.99]. examples/UnitUnified/common/sdkconfig.defaults.esp32p4 lowers the minimum so every P4 revision boots; it is applied automatically when the target is esp32p4.

Doxygen document

GitHub Pages

If you want to generate documents on your local machine, execute the following command

bash docs/doxy.sh

It will output it under docs/html
If you want to output Git commit hashes to html, do it for the git cloned folder.

Required

About

Library for UnitFinger using M5UnitUnified.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Generated from m5stack/M5Template-C-CPP