Quick Start

Hardware Preparation

  • A Windows computer, preferably with the Win10 system.
  • One set of EC800MCNLE development board (including antenna, Type-C data cable, etc.).
  • A properly functioning SIM card.
  • A speaker with a power of 2-5W.

Environment Setup

Hardware Connection

Make hardware connections according to the following diagram:

  1. Insert a usable SIM card in the position shown in the diagram.
  2. Connect the battery in the position shown in the diagram.
  3. Use a Type-C data cable to connect the development board to the computer.
  4. Connect the antenna to the antenna connector marked LTE.
  5. Connect the battery in the position shown in the diagram. Connect the speaker to the pin headers marked SPK+ and SPK- in the diagram.
  6. Connect the LCD screen.

Device Development

Power On

After completing the hardware connections, if a COM port containing the words Quectel USB appears in the port list of the computer's Device Manager, it indicates a successful power-on.

Firmware Package Burning

Refer to this chapter to burn the firmware package corresponding to the model into the development board.

Script Import and Execution

  1. Refer to this chapter to import all files in the code folder under the source code directory into the module file system, as shown in the following figure:
  2. Refer to this chapter to execute the main program file _main.py.
  3. Refer to this chapter to stop the program.

Business Debugging

Program Startup

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

Activate Xiaozhid

The state shown in the following figure is the waiting-for-wake-up state. The development board will have a red light flashing, and you need to use the voice "Xiaozhi, Xiaozhi" to wake up Xiaozhi AI for voice conversation.

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

When there is no conversation for a long time, a goodbye message will be received, both mqtt and udp will be actively closed, and the program will automatically enter the waiting-for-wake-up state, waiting for the next wake-up using the wake-up word to re-establish the connection.