35. Case 37: ASR(Automatic Speech Recognition) Module¶
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.
Designed with RJ11 ports and easy to plug.
35.4. Outlook and Dimension¶
35.5. Quick to Start¶
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.6. MakeCode Programming¶
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.
Available Commands of ASR Module¶
Code as below¶
The motor fan is controlled by the ASR module.