Usage Tutorial ======================== .. contents:: Contents :local: :depth: 2 Wi-Fi Provisioning ^^^^^^^^^^^^^^^^^^ - Wi-Fi provisioning: This refers to using the development board's Wi-Fi hotspot function to tell the board which Wi-Fi network to connect to in the future. The provisioning mode appears after the firmware is flashed for the first time, as shown below: - Following the on-screen instructions, use your phone to search for a Wi-Fi network named Xiaozhi-xxxx. This Wi-Fi is broadcast by the mPython Board and has no password. .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-1.png :align: center :width: 600 .. Note:: This web page does not require an internet connection. Some phones cannot open this URL through the browser, so if the page does not open, please turn off your phone's mobile data, keep only the Wi-Fi connection on, and then open the URL again. .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-2.png :align: center :width: 600 .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-3.png :align: center :width: 600 - On this web page, enter the Wi-Fi that the development board will connect to. Because the board needs a network to call AI large model data, please make sure the Wi-Fi you configure for the board has internet access. - After that, enter the name and password of your hotspot on the web page. .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-4.png :align: center :width: 600 .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-5.png :align: center :width: 600 - After a successful connection, the web page indicates that the device will restart. At this point, just wait for the restart to complete. .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-6.png :align: center :width: 600 .. Note:: The phone hotspot you enable must be a 2.4 GHz band network, otherwise it cannot be found. Activate the Device ^^^^^^^^^^^^^^^^^^^ - After provisioning is complete, the development board automatically connects to Wi-Fi and eventually stays on the device activation screen. - Open a browser and enter the URL: xiaozhi.me. The browser can be opened on a phone or a computer. After entering the Xiaozhi AI web page, click Console and log in with your phone number. .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-7.png :align: center :width: 600 .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-8.png :align: center :width: 600 - After logging in, on the new page, click Add Device. Enter the 6-digit device code displayed on the development board's screen into the verification code field on the web page. This completes the binding. .. figure:: /_static/products/ledong-v2/_static/image/xiaozhi/xiaozhi-9.png :align: center :width: 600 Wake Up Xiaozhi AI ^^^^^^^^^^^^^^^^^^ After the restart, you can directly say "Hello, Xiaozhi" to the development board to test whether it can converse normally. Xiaozhi Device Unbinding Tutorial ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unbind the device on the xiaozhi.me website. What if you find the device has already been bound by someone else and you cannot contact them? How do you unbind the device? This usually happens when your development kit or chip module was previously bound to another account and was not unbound on the xiaozhi.me website after being returned or recycled. You can also unbind it by email. Send an email to xiaozhi.ai@tenclass.com with the subject [Unbind device, device ID XXX, MAC address XXX].