Fingerabdruck 2 Click Board
Fingerabdruck 2 Click Board
Key Features
- 8,8 x 8,8 mm aktiver Scanbereich, der bis zu 24 verschiedene Fingerabdrücke gleichzeitig speichern kann, sowie Erkennungsalgorithmus zum Fingerabdruckvergleich
- Basierend auf dem A-172-MRQ-K05A13001, Fingerabdruckscanner von ByNew
- Fingerabdruckscanner werden hauptsächlich in biometrischen Sicherheitsanwendungen eingesetzt
- mikroBUS: UART- und GPIO-Schnittstellen
Das Fingerprint 2 Click Board™ ist ein neues Click Board™ für Fingerabdruckscanner, das für jedermanns Verwendung vereinfacht wurde und sehr einfach zu implementieren ist! Diese Zusatzplatine besteht aus einem Hochgeschwindigkeitsprozessor von Nuvoton, der einen leistungsstarken Fingerabdruckalgorithmus enthält, der für den integrierten Fingerabdrucksensor A-172-MRQ der Firma By New Technology Inc. entwickelt wurde.
Diese Platine kann als eigenständiges Gerät verwendet werden, wenn sie über USB an einen PC angeschlossen wird, oder sie kann über die serielle UART-Schnittstelle vom MCU/Prozessor gesteuert werden. Die Platine wird bereits mit vorprogrammierter Firmware geliefert, die bis zu 24 verschiedene Fingerabdrücke gleichzeitig speichern kann, sowie mit einem Erkennungsalgorithmus zum Vergleichen von Fingerabdrücken. Mit dieser Platine können Sie biometrische Sicherheit auf einfachste und schnellste Weise in Ihr Design integrieren.
How Does The Fingerprint 2 Click Board™ Work?
The Fingerprint 2 Click Board™ features an A-172-MRQ, a 2D capacitive fingerprint sensor with an active scanning area of 8.8 x 8x8 mm and a resolution of 176 x 176 pixels. The sensor is based on capacitive-contact technology with a hardened surface and enhanced ESD immunity. Onboard Nuvoton M2301 MCU which serves as interface IC and control unit on this board, interface this sensor over a high-speed SPI interface and comes with built-in fingerprint matching capability while leaving most of the chip resource to application developers. Developers can develop fingerprint-related products based on the communication protocol without the advanced knowledge of fingerprint identification.
The Fingerprint 2 Click Board™ has stable performance and a simple structure. The simplified functions for faster and easy development include fingerprint comparison, image scanning transmission, search, registered fingerprint storage and system unique internal code protection mechanism. The fingerprint comparison program can register at most 24 fingerprints, the comparison speed is fast and the correct rate is very high.
Thanks to the Nuvoton MCU with the on-chip crypto-accelerator, Cortex-M23 TrustZone, and XOM facilities that is communicating with the fingerprint sensor and providing information to the host, Fingerprint 2 Click board can be interfaced with commands over UART protocol (baud rate 115200) or USB 2.0 full speed.
For proper operation the Fingerprint 2 Click Board™ needs to be supplied with 3.3V and 5V. However, note that this board it is designed to be operated only with 3.3V logic levels. Therefore a proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with logic levels of 5V.
BYNEW QUICKICK UTILITY TOOL
For using and controlling the Fingerprint 2 Click Board™ with PC Application from ByNew you will need first to connect your board to PC by using USB or some TTL converter for UART. After that, you can start the Utility tool BNQuickick.exe and select the COM port and Baud rate to operate/control this board.
Since this application is simplifying testing our board and acts as MCU host you can use the same commands from the Fingerprint 2 Click Board™ example to control our board.
SPECIFICATIONS
Type | Fingerprint |
Applications | Fingerprint scanners are chiefly used in biometric security applications |
On-board modules | A-172-MRQ-K05A13001, Fingerprint scanners from ByNew |
Key Features | 8.8x8.8mm active scanning area, capable of storing up to 24 different fingerprints at the same time, as well as recognition algorithm for fingerprint comparison |
Interface | GPIO,UART,USB |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V,5V |
PINOUT DIAGRAM
This table shows how the pinout on the Fingerprint 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Compare indicator | LD1 | 1 | AN | PWM | 16 | GP2 | General Purpose I/O pin |
Reset | RST | 2 | RST | INT | 15 | LD2 | Compare Indicator |
General Purpose I/0 pin | GP1 | 3 | CS | RX | 14 | TX | UART Transmit |
NC | 4 | SCK | TX | 13 | RX | UART Receive | |
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED indicator |
LD2 | I/O_1 | - | Compare LED indicator (Green LED) |
LD3 | I/O_2 | - | Compare LED indicator (Red LED) |
T1 | RST | - | Reset button for the MCU |
ON BOARD LED'S
The red and green LEDs flash in turn:
- It indicates in the status of the received command from the master.
The red LED and the green LED is ON (light) at the same time:
- It is a temporary state, it will enter the registration state after two or three seconds.
The red LED flashes:
In the registration state, waiting for the user to enrol his fingerprint to register, it can register at most 24 fingerprints, each fingerprint needs to be enrolled 3 times. After each successful enrollment of the fingerprint, the green LED will light for two or three seconds.
The green LED flashes:
- In the registration state, waiting for the user to enrol his fingerprint to register, it can register at most 24 fingerprints, each fingerprint needs to be enrolled 3 times. After each successful enrollment of the fingerprint, the green LED will light for two or three seconds.
The red LED and the green LED flash twice in turn:
- It indicates the fingerprint image is uploading to master.
Software Support
We provide a library for the Fingerprint 2 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library provides functions for sending commands to the device and controlling its pins
Key Functions
void fingerprint2_soft_reset ( void )
- Function for resetting the devicevoid fingerprint2_send_cmd ( uint8_t *cmd )
- Function for sending a command to the devicevoid fingerprint2_reg_one_fp ( uint8_t fp_index )
- Function for registering one fingerprint on a specific index
Example Description
The application is composed of three sections :
- System Initialization - Initialization of UART module and additional pins
- Application Initialization - UART interrupt initialization, restarts device and waits for the device to exit demo mode
- Application Task - Waits for the command to execute code
void application_task ( ) { termianl_read( ); fingerprint2_log( &log_write ); }
Additional Functions :
- void interrupt_init ( ) - UART interrupt initialization.
- void log_write ( uint8_t *str_buf, uint8_t str_type ) - Wrapper fucntion for driver.
- void termianl_read ( ) - Function for reading commands from terminal.
- void send_cmd ( char *cmd_buf ) - Function for compareing string to predefined commands and if match sending commands to device.
- void fp_reg_one ( ) - Function for registering fingerprint on specific index
- void fp_clr_one ( ) - Function for deleteing fingerprint on specific index
Note :
- Commands for terminal:
- reg - to register one fingerprint
- del - to delete one fingerprint
- cmp - to compare fingeprint to data base
- num - to get number of registerd fingerprints
- fw - to get firmware version of device
- ds - to get device status of device
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Fingerprint 2 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the Fingerprint 2 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library provides functions for sending commands to the device and controlling its pins
Key Functions
void fingerprint2_soft_reset ( void )
- Function for resetting the devicevoid fingerprint2_send_cmd ( uint8_t *cmd )
- Function for sending a command to the devicevoid fingerprint2_reg_one_fp ( uint8_t fp_index )
- Function for registering one fingerprint on a specific index
Example Description
The application is composed of three sections :
- System Initialization - Initialization of UART module and additional pins
- Application Initialization - UART interrupt initialization, restarts device and waits for the device to exit demo mode
- Application Task - Waits for the command to execute code
void application_task ( ) { termianl_read( ); fingerprint2_log( &log_write ); }
Additional Functions :
- void interrupt_init ( ) - UART interrupt initialization.
- void log_write ( uint8_t *str_buf, uint8_t str_type ) - Wrapper fucntion for driver.
- void termianl_read ( ) - Function for reading commands from terminal.
- void send_cmd ( char *cmd_buf ) - Function for compareing string to predefined commands and if match sending commands to device.
- void fp_reg_one ( ) - Function for registering fingerprint on specific index
- void fp_clr_one ( ) - Function for deleteing fingerprint on specific index
Note :
- Commands for terminal:
- reg - to register one fingerprint
- del - to delete one fingerprint
- cmp - to compare fingeprint to data base
- num - to get number of registerd fingerprints
- fw - to get firmware version of device
- ds - to get device status of device
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Fingerprint 2 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Fingerabdruck 2 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.