Xiaozhi AI Application Tutorial
Flow Chart
Flashing Without a Development Environment
- Click here to download the corresponding device firmware, you need to expand all to see: Published firmware addresses
- The firmware for ESP32-S3-Touch-LCD-1.85 is also applicable to ESP32-S3-LCD-1.85 here
- Click the link to view the firmware flashing tutorial: Flash Firmware Flashing and Erasing tutorial
Compile and Flash in ESP-IDF Environment
- Click the link to download the project: XiaoZhi AI Chatbot2
- Click the link to refer to the ESP-IDF environment setup tutorial: ESP-IDF Environment Setup
- Compile and flash after selecting the device (1.85 touch and non-touch select the same model)
Start Networking
- Use a mobile phone or computer to connect to the device's WiFi network: Xiaozhi-xxxxxx. After the connection is successful, it will automatically jump to the device's network configuration page. If the network configuration page does not automatically redirect, you need to manually open the browser and visit http://192.168.4.1.
- On the network configuration page, select the WiFi name (only 2.4G is supported, the maximum compatibility option should be turned on for iPhone hotspot). The SSID will be automatically filled in, enter the password below, then click the "Connect" button.
- After the connection is successful, it will automatically restart. If it does not restart automatically, the device needs to be manually powered on again.
Add New Device to Management Backend
- Make sure the device is connected to the Internet and can be woken up by "Hello, XiaoZhi", and a prompt asking to add a device 6-digit device verification code appears (you can wake up again and listen again).
- Click the link to visit XiaoZhi AI Chatbot - Console: https://xiaozhi.me/. If you have not registered, register an account first. Note: You can select English under Language option. If it is not provided in English, we suggest you use AI tools to browse the pages.
- The device will be automatically activated and displayed on the "Device Management" page, and it will be ready for normal use.
- The buttons used for ESP32-S3-Touch-AMOLED-1.8 are as follows: ①: Boot button controls whether to wake up XiaoZhi; ②: PWR button controls device power on/off, short press to turn on, long press for more than six seconds to turn off.
More Learning Links for XiaoZhi
FAQ
Almost all ESP32 products can be connected to the AI model, but it depends on how to use it. If the product has a microphone and speaker, it supports voice conversations. If not, you can only have text conversations (some can also be connected to an external microphone and speaker).
{{{5}}}
If you have enabled the OTA update in XiaoZhi console, it will be automatically upgraded, and there is no need to reflash the firmware
Yes, theoretically it can
If you have enabled the OTA update in XiaoZhi console, it will be automatically upgraded, and there is no need to reflash the firmware
No, it needs to be connected to the Internet
Currently it does not have the ability to recognize hardware
Yes, you need to implement it yourself
No, the demo we provide is independent from XiaoZhi and does not support simultaneous use
Yes, as long as it is a 2.4G hotspot








