35. ASR(Automatic Speech Recognition) Module(EF05037)¶
35.1. Introduction¶
It is able to control the device via your voice such as to give commands of moving forward, reversing and starting the line-tracking mode etc.
35.2. Products Link¶
35.3. Characteristics¶
Designed with RJ11 ports and easy to plug.
35.4. Specification¶
Item | Parameter :-: | :-: SKU|EF05037 Connection|RJ11 Connection Type|IIC Working Voltage|3.3V Core IC|SNR3512M
35.5. Outlook and Dimension¶
35.6. Quick to Start¶
35.6.1. Materials required and connections diagram¶
Connect the ASR module to the IIC port and the motor fan to J1 port on Nezha expansion board.
35.7. MakeCode Programming¶
35.7.1. Step 1¶
Click “Advanced” in the drawer of the MakeCode to see more choices.
We need to add a package for programming. Click “Extensions” in the bottom of the drawer and search with “PlanetX” in the dialogue box to download it.
Note: If you met a tip indicating that the codebase will be deleted due to incompatibility, you may continue as the tips say or build a new project in the menu.
35.7.2. Available Commands of ASR Module¶
35.7.3. Step 2¶
35.7.4. Code as below¶
35.7.5. Link¶
Link: https://makecode.microbit.org/_9j8UEEYi82tF
You may also download it directly below:
35.7.6. Result¶
The motor fan is controlled by the ASR module.