Difference between revisions of "Template:Capacitive Fingerprint Reader B STM32 guide"
From Waveshare Wiki
(Created page with "==Connection== {|class="wikitable" ! Fingerprint Reader (B) !! STM32 !! Description |- |VCC||3.3V|| Power input |- |GND||GND||Ground |- |TXD||PA10||UART data output |- |RXD||P...") |
(No difference)
|
Revision as of 11:52, 14 October 2021
Connection
Fingerprint Reader (B) | STM32 | Description |
---|---|---|
VCC | 3.3V | Power input |
GND | GND | Ground |
TXD | PA10 | UART data output |
RXD | PA9 | UART data input |
RST | PB5 | Reset pin (low active) |
The STM32 examples provide are based on the STM32F103RBT6.
Testing
- Install Keil software to your PC
- Download the demo codes and find the STM32 project.(.../Capacitive-Fingerprint-Reader-B-Code\Capacitive-Fingerprint-Reader(B)-Code\STM32\MDK-ARM)
- Open the project by the Keil software
- Build the project and program it to your STM32 board by a programmer
- Connect the UART1 interface of your STM32 board to PC
- Open a SSCOM port and check the serial information
- You can input the commands to test the Fingerprint Reader.
- CMD0:Check if the fingerprint is connected normally
- CMD1: Check if a finger is detected
- CMD2:Add a fingerprint
- CMD3:Detect fingerprints
- CMD4:Verify fingerprint (1:1)
- CMD5: Verify fingerprints
- CMD6:Check the ID which is not be used (minimum number)
- CMD7:Check the number of fingerprinted added
- CMD8:Upload a fingerprint image to the host from the Fingerprint Reader
- CMD9:Download a fingerprint image to the Fingerprint Reader from the host