Fingerprint 3 Click Board
Fingerprint 3 Click Board
The Fingerprint 3 Click Board™ is an adapter Click Board™, used to interface a compatible Fingerprint Sensor with Two-Color LED Ring with the host MCU. This Click Board™ allows users to secure their projects with a biometric all-in-one fingerprint sensor that will make fingerprint detection and verification super simple. There is a wide range of applications, where Fingerprint 3 Click can be implemented: it can be embedded into a variety of end products such as access control, attendance, or safety deposit box which allows the user to integrate biometric security into its design in the easiest and fastest way.
Fingerprint 3 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
NOTE: The sensor does not come in the same package as this Click Board™. Please visit the Fingerprint 3 Click bundle page for a complete package.
Software Support
We provide a library for the Fingerprint 3 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
The library covers all the necessary functions to control the Fingerprint 3 Click Board™. A library performs the communication with the device via UART interface.
Key Functions
void fingerprint3_parser_rsp ( fingerprint3_rsp_t *response )
- Response parser function.uint8_t fingerprint3_byte_ready ( void )
- Check for new byte received.void fingerprint3_uart_write ( uint8_t *tx_data, uint8_t n_bytes )
- Uart write function.
Example Description
The application is composed of three sections :
- System Initialization - Initializes UART used for communication and another UART bus used for data logging.
- Application Initialization - Initializes UART driver, check the sensor, verify module password and then start registering a new fingerprint pattern.
- Application Task - (code snippet) - This is an example that demonstrates the use of the Fingerprint 3 Click board. Fingerprint 3 Click stores the new fingerprint pattern which shortly after compares with new fingerprint scans for a match, infinitely. Results are being sent to the Usart Terminal where you can track their changes.
void application_task ( ) { if ( fingerprint3_finger_indicator( ) == FINGERPRINT3_DETECT_FINGER ) { fingerprint3_buf_clear( ); mikrobus_logWrite( "---------------------------------", _LOG_LINE ); mikrobus_logWrite( " >>> Verification in progress... ", _LOG_LINE ); Delay_ms( 2000 ); fingerprint3_uart_write( &gen_img[ 0 ], 12 ); Delay_ms( 500 ); fingerprint3_parser_rsp( &rsp ); Delay_ms( 100 ); if ( rsp.confirm_code == FINGERPRINT3_OK ) { fingerprint3_uart_write( &img_2_tz_2[ 0 ], 13 ); Delay_ms( 500 ); fingerprint3_buf_clear( ); } fingerprint3_uart_write( ®_model[ 0 ], 12 ); Delay_ms( 100 ); fingerprint3_buf_clear( ); fingerprint3_uart_write( &fingerprint_match[ 0 ], 12 ); Delay_ms( 500 ); fingerprint3_parser_rsp( &rsp ); fingerprint3_display_match_score( ); Delay_ms( 3000 ); mikrobus_logWrite( " >>> Comparing Fingerprints <<< ", _LOG_LINE ); mikrobus_logWrite( "- - - - - - - - - - - - - - - - -", _LOG_LINE ); mikrobus_logWrite( " Place your finger on the sensor ", _LOG_LINE ); } else { fingerprint3_uart_write( &aura_led_config_purple[ 0 ], 16 ); Delay_ms( 2000 ); fingerprint3_buf_clear( ); } }
void fingerprint3_display_rsp ( void )
- Display response function.void fingerprint3_display_match_score ( void )
- Display match score function.void log_write ( uint8_t *str_buf, uint8_t str_type )
- Wrapper mikrobus_logWrite for driver function.void byte_to_str ( uint8_t byte_buf, uint8_t *log_text )
- Wrapper ByteToStr for driver function.void byte_to_hex ( uint8_t byte_buf, uint8_t *log_text )
- Wrapper ByteToHex for driver function.void long_word_to_hex ( uint32_t long_word_buf, uint8_t *log_text )
- Wrapper LongWordToHex for driver function.
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 informations
Depending on the development board you are using, you may need 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 3 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.
Fingerprint 3 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.