* 外接唤醒模组的支持,可以有多种自定义唤醒词,进行唤醒小智 ESP32(非C3,非S3) 面包板上已支持 * Update application.cc 外接唤醒模组的支持,好处是可以有多种自定义唤醒词,进行唤醒小智 唤醒模组需要一个GPIO Pin,设置成输出模式+高电平 对该Pin进行唤醒设置,1秒内的低电平脉冲,也就是小智的一个Click 可以参考 ESP32 面包板中的 asr_button_ 按钮的功能函数调用 本人测试采用ASR-ProV1.0版本的唤醒模组,测试内容包括:自定义唤醒词,唤醒词打断,唤醒词回应 此代码兼容其他型号的唤醒模组,并没做限制模组型号,方便大家使用 Modify By MarsBear * Update esp32_bread_board.cc --------- Co-authored-by: Xiaoxia <terrence@tenclass.com>
XiaoZhi AI Chatbot
This is Terrence's first hardware project.
👉 Build your AI chat companion with ESP32+SenseVoice+Qwen72B! [bilibili]
👉 DIY Your AI Companion - Beginner's Tutorial [bilibili]
Project Purpose
This project is developed based on Espressif's ESP-IDF.
This is an open-source project primarily for educational purposes. Through this project, we aim to help more people get started with AI hardware development and understand how to integrate rapidly evolving large language models into actual hardware devices. Whether you're a student interested in AI or a developer looking to explore new technologies, this project offers valuable learning experiences.
Everyone is welcome to participate in the project's development and improvement. If you have any ideas or suggestions, please feel free to raise an Issue or join our chat group.
Learning & Discussion QQ Group: 946599635
Implemented Features
- Wi-Fi / ML307 Cat.1 4G
- BOOT button wake-up and interrupt, supporting both click and long-press triggers
- Offline voice wake-up ESP-SR
- Streaming voice dialogue (WebSocket or UDP protocol)
- Support for 5 languages: Mandarin, Cantonese, English, Japanese, Korean SenseVoice
- Voice print recognition to identify who's calling AI's name 3D Speaker
- Large model TTS (Volcengine or CosyVoice)
- Large Language Model (Qwen2.5 72B or Doubao API)
- Configurable prompts and voice tones (custom characters)
- Short-term memory with self-summary after each conversation round
- OLED / LCD display showing signal strength or conversation content
- Support for displaying emoji images on LCD
Hardware Section
Breadboard Practice
For detailed tutorial, see the Feishu document:
👉 XiaoZhi AI Chatbot Encyclopedia
Breadboard setup shown below:
Supported Open-Source Hardware
- LiChuang ESP32-S3 Development Board
- Espressif ESP32-S3-BOX3
- M5Stack CoreS3
- AtomS3R + Echo Base
- AtomMatrix + Echo Base
- MagiClick 2.4
- Waveshare ESP32-S3-Touch-AMOLED-1.8
- LILYGO T-Circle-S3
- Xmini C3
- Movecall Moji ESP32S3
Firmware Section
Flashing Without Development Environment
For beginners, it's recommended to first try flashing the firmware without setting up a development environment. The firmware uses a test server provided by the author, currently available for free use (not for commercial purposes).
👉 Flash Firmware Guide (No IDF Environment Required)
Development Environment
- Cursor or VSCode
- Install ESP-IDF plugin, select SDK version 5.3 or above
- Linux is preferred over Windows for faster compilation and fewer driver issues
AI Character Configuration
If you already have a XiaoZhi AI chatbot, please refer to 👉 Backend Operation Video Tutorial
For detailed usage instructions and test server notes, please refer to 👉 XiaoZhi Test Server Help Guide.
