35. Case 37: 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.

../_images/05037_01.png

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#

../_images/05037_02.png

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.

../_images/05037_03.png

35.7. MakeCode Programming#

35.7.1. Step 1#

Click “Advanced” in the drawer of the MakeCode to see more choices.

../_images/05001_04.png

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.

../_images/05001_05.png

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#

microbitplanetX/images/05037_05.png

35.7.3. Step 2#

35.7.4. Code as below#

microbitplanetX/images/05037_06.png

35.7.6. Result#

The motor fan is controlled by the ASR module.

35.8. Relevant File#

35.9. Technique File#