Quick Start

Hardware preparation

Environment construction

Hardware connection

Connect the hardware according to the following diagram:

  1. Connect the development board to the computer using a Type-C data cable.

Equipment development

Power on

After completing the hardware connection work, if a COM port containing the words "Quectel USB" appears in the port list of the computer device manager, it indicates that the computer has successfully booted up.

comport.png

Burn firmware package

Refer to this chapter Burn the corresponding firmware package to the development board.

Script import and execution

  1. Refer to this chapter Import all files from the 'code' folder in the source code directory into the module file system, as shown in the following figure:
  1. Refer to this chapter Execute the main program file ai_main.py.
  2. Refer to this chapter Stop the program from running.

Debugging

Program startup

After executing the _main. py script, the program starts running.

Activate Xiaozhi AI

As shown in the following picture, it is in a state ready to be awakened. A red light will flash on the development board, and you need to use the voice Xiaozhi, Xiaozhi to wake up Xiaozhi AI for a voice conversation.

After waking up, data related to connecting to the server or a prompt indicating connection failure will appear. When a connection failure occurs, please check if the network is normal.

When the system has not engaged in a conversation for a long time or has not received any commands, it will automatically enter a sleep state and wait for the next wake-up.