1. Voice module introduction
This time, Tianwen's ASRPRO module was selected as the speech recognition module. This module is easy to control, has a high recognition rate, and can realize functions without excessive programming.
1.1 Use of ASRPRO module
First download the Tianwen block installation program, and enter the development interface after installation.
The development adopts a completely fool-like way, and only needs to modify the files in it.
1.2 Firmware burning
The compiled program can be used after burning it into the module. When burning, click compile and download in the upper right corner. Wait for the burning to complete.
Note that a dedicated programmer is required, and the general serial port downloader fails, showing that the connection failed.
After the program is written, start burning, the steps are as follows:
1. Click Generate Model
2. Compile and download
3. Select the compiled file in the burning interface, and by default it is fw.bin under the directory Tianwen Block\asrpro
2 MCU control
There are many control methods in this part. This time, the method of monitoring the port voltage is directly used to detect whether the voice module is active.