Previously, we encountered many detours while using AS608. This time, I hope that as beginners, we can learn from our experiences and introduce AS608.

Using Microcontroller + AS608 with Program Heat: 22

Usage of Fingerprint Module AS608: 1 red wire: Vcc, connect to 3.3V power supply, do not connect to power supply above 3.3V Yellow wire: Connect to the TX end of the microcontroller's serial port 3 white wires: Connect to the RX end of the microcontroller's serial port 4-pin black wire: GND, GND for the 3.3V power supply 5th blue wire: Module touch sensing signal output (high level indicates touch detected), needs to be connected to VTI to 3.3V Green wire: Power for the module's touch sensing circuit, can be connected in parallel with the red wire. In this program, pins 5 and 6 can be left unconnected. Pins 2 and 3 should first be connected to the TX and RX of the microcontroller respectively to ensure normal communication. This program is designed based on the 8051 microcontroller and can display information on an LCD1602. It includes functions such as fingerprint enrollment and fingerprint detection. Fingerprint AS608.jpg Please provide the content you would like translated to English. Previously, we encountered many detours while using AS608. This time, I hope that as beginners, we can learn from our experiences and introduce AS608. Usage of Fingerprint Module AS608: 1 red wire: Vcc, connect to 3.3V power supply, do not connect to power supplies above 3.3V 2nd yellow wire: Connect to the TX end of the microcontroller's serial port 3 white wires: Connect to the RX pin of the microcontroller's serial port 4-pin black wire: GND, GND for the 3.3V power supply 5th blue wire: Module touch sensing signal output (high level indicates touch detected), needs to be connected to VTI to 3.3V Green wire: Power for the module's touch sensing circuit, can be connected in parallel with the red wire. In this program, pins 5 and 6 can be left unconnected. Pins 2 and 3 should first be connected to the TX and RX of the microcontroller respectively to ensure normal communication. This program is designed based on the 8051 microcontroller and can display information on an LCD1602. It includes functions such as fingerprint enrollment and fingerprint detection. Fingerprint AS608.jpg The source code of the microcontroller is as follows: #include <reg52.h>

#include <intrin.h>
#include "buzz.h"
#include "key.h"
#include "uart.h"
#include "delay.h"
#include "FPM10A.h"

#include "lcd_1602.h" void main() Please provide the content you would like translated to English. LCD1602_Init(); // Initialize the LCD LCD1602_Display(0x80, "Fingerprint Test", 0, 16); // LCD startup display interface Uart_Init(); // Initialize UART Key_Init(); // Initialize the button Delay_Ms(200); // Delay 500MS, waiting for the fingerprint module to reset Device_Check(); // Check if the fingerprint module is correctly connected, and display the corresponding prompt on the LCD. Delay_Ms(1000); // Stay on the successful connection interface for a certain period of time while (1) Please provide the content you would like translated to English. /Enter Main Function Interface**/ LCD1602_Display(0x80, " search finger ", 0, 16); // Display "search finger" on the first row LCD1602_Display(0xc0, " Add delete", 0, 16); // 添加和删除指纹 if (local_date == 0) Please provide the content you would like translated into English. LCD1602_Display(0x80, " *", 0, 2); LCD1602_Display(0xc0, " ", 0, 2); LCD1602_Display(0xc0+8, " ", 0, 2); } else if (local_date == 1) Please provide the content you would like translated to English. LCD1602_Display(0x80, " ", 0, 2); LCD1602_Display(0xc0, " *", 0, 2); LCD1602_Display(0xc0+8, " ", 0, 2); } else if (local_date == 2) Please provide the content you want to translate. LCD1602_Display(0x80, " ", 0, 2); LCD1602_Display(0xc0, " ", 0, 2); LCD1602_Display(0xc0+8, " *", 0, 2); } Confirm Key if (KEY_OK == 0) Please provide the content you would like translated to English. while (KEY_OK == 0); // Wait for the button to be released switch (localDate) Please provide the content you would like translated to English. case 0: // search fingerprint FPM10A_Find_Fingerprint(); break; case 1: // Add fingerprint FPM10A_Add_Fingerprint(); break; case 2: // Clear fingerprint FPM10A_Delete_All_Fingerprint(); break; } } //Toggle key if (KEY_DOWN == 0) Please provide the content you would like translated to English. while(KEY_DOWN == 0); // wait for the key to be released if (local_date <= 2) Please provide the content you would like translated to English. localDate++; if (local_date == 3) local_date = 0; } } Delay_Ms(100); // Delay judgment, detect once every 100 MS } } Sure, please provide the content you would like translated to English.