diff --git a/docs/Application_guide/en/media/solutions/AIbox/register.png b/docs/Application_guide/en/media/solutions/AIbox/register.png new file mode 100644 index 0000000000000000000000000000000000000000..2f7a1f4577cc6c2b54067f67fd8f3059a67c5d07 Binary files /dev/null and b/docs/Application_guide/en/media/solutions/AIbox/register.png differ diff --git a/docs/Application_guide/en/media/solutions/AIbox/src.png b/docs/Application_guide/en/media/solutions/AIbox/src.png new file mode 100644 index 0000000000000000000000000000000000000000..8589a9234454d92434386a10b1c7dcc241d8525c Binary files /dev/null and b/docs/Application_guide/en/media/solutions/AIbox/src.png differ diff --git a/docs/Application_guide/en/solutions/AIbox/quick_start.md b/docs/Application_guide/en/solutions/AIbox/quick_start.md index a929c4b9253a76d5129ff045122350995bd3b43b..448b97778c6863202a469640d1f622ad54ec7df1 100644 --- a/docs/Application_guide/en/solutions/AIbox/quick_start.md +++ b/docs/Application_guide/en/solutions/AIbox/quick_start.md @@ -41,19 +41,25 @@ Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.qu ### Script import and execution -1. Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Transfer-Files-Between-PC-and-Module) 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](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Transfer-Files-Between-PC-and-Module) Import all files from the 'src' folder in the source code directory into the module file system, as shown in the following figure: - + 1. Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Run-Script) Execute the main program file `ai_main.py`. 2. Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Stop-a-Running-Program) Stop the program from running. ## Debugging -### Program startup +### Program startup After executing the `_main. py` script, the program starts running. +### Equipment Registration Scheme + +If Xiaozhi is not registered, normal interaction cannot be carried out. When the program starts, OTA will return the verification code used for the registered device, and then go to [Xiaozhi AI Chatbot console](https://xiaozhi.me/) to register the device. After the registration is completed, run the script again to interact smoothly + + + ### 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. diff --git a/docs/Application_guide/en/solutions/xiaozhi_AI/quick_start.md b/docs/Application_guide/en/solutions/xiaozhi_AI/quick_start.md index 6667cc93c2240c7fc0e2c6b516128d64c6545789..efe8491dceb86790a96d17b06beda2bf1b7b5c32 100644 --- a/docs/Application_guide/en/solutions/xiaozhi_AI/quick_start.md +++ b/docs/Application_guide/en/solutions/xiaozhi_AI/quick_start.md @@ -44,9 +44,9 @@ Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.qu ### Script import and execution -1. Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Transfer-Files-Between-PC-and-Module) 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](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Transfer-Files-Between-PC-and-Module) Import all files from the 'src' folder in the source code directory into the module file system, as shown in the following figure: - + 1. Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Run-Script) Execute the main program file `ai_main.py`. 2. Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.quectel.com%2Fdoc%2Fquecpython%2FGetting_started%2Fen%2F4G%2Ffirst_python.html%23Stop-a-Running-Program) Stop the program from running. @@ -57,6 +57,12 @@ Refer to [this chapter](https://gitee.com/link?target=https%3A%2F%2Fdeveloper.qu After executing the `_main. py` script, the program starts running. +### Equipment Registration Scheme + +If Xiaozhi is not registered, normal interaction cannot be carried out. When the program starts, OTA will return the verification code used for the registered device, and then go to [Xiaozhi AI Chatbot console](https://xiaozhi.me/) to register the device. After the registration is completed, run the script again to interact smoothly + + + ### 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. diff --git a/docs/Application_guide/en/solutions/xiaozhi_AI_mqtt/quick_start.md b/docs/Application_guide/en/solutions/xiaozhi_AI_mqtt/quick_start.md index 8c7a2ed15c6abf505337584c1f428fabf94dd410..f64dbfc1877b78a7552e775101a8ad086c916aa8 100644 --- a/docs/Application_guide/en/solutions/xiaozhi_AI_mqtt/quick_start.md +++ b/docs/Application_guide/en/solutions/xiaozhi_AI_mqtt/quick_start.md @@ -42,7 +42,7 @@ Refer to [this chapter](https://developer.quectel.com/doc/quecpython/Application ### Script Import and Execution -1. Refer to [this chapter](https://developer.quectel.com/doc/quecpython/Getting_started/en/4G/first_python.html) to import all files in the `code` folder under the source code directory into the module file system, as shown in the following figure: +1. Refer to [this chapter](https://developer.quectel.com/doc/quecpython/Getting_started/en/4G/first_python.html) to import all files in the `src` folder under the source code directory into the module file system, as shown in the following figure: 2. Refer to [this chapter](https://developer.quectel.com/doc/quecpython/Getting_started/en/4G/first_python.html#Run-Script) to execute the main program file `_main.py`. 3. Refer to [this chapter](https://developer.quectel.com/doc/quecpython/Getting_started/en/4G/first_python.html#Stop-a-Running-Program) to stop the program. diff --git a/docs/Application_guide/zh/media/solutions/AIbox/register.png b/docs/Application_guide/zh/media/solutions/AIbox/register.png new file mode 100644 index 0000000000000000000000000000000000000000..2f7a1f4577cc6c2b54067f67fd8f3059a67c5d07 Binary files /dev/null and b/docs/Application_guide/zh/media/solutions/AIbox/register.png differ diff --git a/docs/Application_guide/zh/media/solutions/AIbox/src.png b/docs/Application_guide/zh/media/solutions/AIbox/src.png new file mode 100644 index 0000000000000000000000000000000000000000..25eed43d845b18168a561e249fd70dc412aa5ad2 Binary files /dev/null and b/docs/Application_guide/zh/media/solutions/AIbox/src.png differ diff --git a/docs/Application_guide/zh/solutions/AIbox/quick_start.md b/docs/Application_guide/zh/solutions/AIbox/quick_start.md index ff5fd9eeb52eb3e0dfe700fa2f11dc257e914bd5..8f229451a64b41994d9e80c3f496c6ba5c5a06c3 100644 --- a/docs/Application_guide/zh/solutions/AIbox/quick_start.md +++ b/docs/Application_guide/zh/solutions/AIbox/quick_start.md @@ -38,9 +38,9 @@ ### 脚本导入与运行 -1. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html),将源码目录下 `code` 文件夹中的所有文件导入到模组文件系统,如下图所示: +1. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html),将源码目录下 `src` 文件夹中的所有文件导入到模组文件系统,如下图所示: - + 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html#执行脚本文件),执行主程序文件 `_main.py`。 3. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html#停止程序运行),停止程序运行。 @@ -51,6 +51,12 @@ 执行 `_main.py` 脚本后,程序开始运行。 +### 注册小智 + +如果小智没有被注册,那么无法进行正常交互,程序启动时OTA会返回注册设备所用的验证码,然后到[小智 AI 聊天机器人控制台](https://xiaozhi.me/)进行设备注册,注册完成后再次运行脚本就可以顺利交互了 + + + ### 激活小智 下图所示状态为待唤醒状态,开发板会出现红灯闪烁,需要语音“小智,小智”来唤醒小智AI进行语音对话。 diff --git a/docs/Application_guide/zh/solutions/xiaozhi_AI/quick_start.md b/docs/Application_guide/zh/solutions/xiaozhi_AI/quick_start.md index dea8489126531c78e4efe0642fefbe695e944bb7..2198bd9bb43d88f2113b72f98417db51361fcbe6 100644 --- a/docs/Application_guide/zh/solutions/xiaozhi_AI/quick_start.md +++ b/docs/Application_guide/zh/solutions/xiaozhi_AI/quick_start.md @@ -45,9 +45,9 @@ ### 脚本导入与运行 -1. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html),将源码目录下 `code` 文件夹中的所有文件导入到模组文件系统,如下图所示: +1. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html),将源码目录下 `src` 文件夹中的所有文件导入到模组文件系统,如下图所示: - + 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html#执行脚本文件),执行主程序文件 `_main.py`。 3. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html#停止程序运行),停止程序运行。 @@ -58,6 +58,12 @@ 执行 `_main.py` 脚本后,程序开始运行。 +### 注册小智 + +如果小智没有被注册,那么无法进行正常交互,程序启动时OTA会返回注册设备所用的验证码,然后到[小智 AI 聊天机器人控制台](https://xiaozhi.me/)进行设备注册,注册完成后再次运行脚本就可以顺利交互了 + + + ### 激活小智 下图所示状态为待唤醒状态,开发板会出现红灯闪烁,需要语音“小智,小智”来唤醒小智AI进行语音对话。 diff --git a/docs/Application_guide/zh/solutions/xiaozhi_AI_mqtt/quick_start.md b/docs/Application_guide/zh/solutions/xiaozhi_AI_mqtt/quick_start.md index fd00b960a735b8d61a368b5122b592abb63b7d03..6412a3a416b71087604b1ff5c8c04a079fdea7a8 100644 --- a/docs/Application_guide/zh/solutions/xiaozhi_AI_mqtt/quick_start.md +++ b/docs/Application_guide/zh/solutions/xiaozhi_AI_mqtt/quick_start.md @@ -45,7 +45,7 @@ ### 脚本导入与运行 -1. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html),将源码目录下 `code` 文件夹中的所有文件导入到模组文件系统,如下图所示: +1. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html),将源码目录下 `src` 文件夹中的所有文件导入到模组文件系统,如下图所示: 2. 参考[此章节](https://developer.quectel.com/doc/quecpython/Getting_started/zh/4G/first_python.html#执行脚本文件),执行主程序文件 `_main.py`。