ESP32 VoiceChat LLMs
An ESP32-based device for voice chat with large language models, from a Chinese maker with a Bilibili build video.
- Hardware:
- ESP32, mic, speaker
- Difficulty:
- Beginner
- Creator:
- MetaWu2077
ESP32 voice chat with large language models.

By MetaWu2077
- Posted
What it does
An ESP32-based device for voice chat with large language models, from a Chinese maker with a Bilibili build video.
What you need
- Difficulty
- Beginner
- License
- No license stated
Parts
- ESP32 (board)
- mic, speaker
- AI model or service
- cloud LLMs
Full instructions: View original
How it works
The repo has little documentation beyond the video link. Per its description, the ESP32 captures voice, sends it to a cloud LLM service and plays the spoken reply.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
Why it's interesting
The repository has almost no README, but its files show how the build works. The firmware is a PlatformIO project in VS Code, and its notes say you must fill in your Wi-Fi credentials, a token and your own iFlytek (Xunfei) API key and secret. The code connects over WebSockets to iFlytek's Spark LLM, its speech dictation (IAT) service and its TTS service. A small Flask server, app.py, handles authentication on port 5000 by default, and music playback streams MP3 files from any web server you set up. The repo also includes a PCB design and bill of materials, a schematic PDF, a development-board version of the code and STL files for a printed shell. The build video is on Bilibili.
Hardware
- ESP32
- mic
- speaker
This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow โView originalโ for the full project.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/esp32-voicechat-llms/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/esp32-voicechat-llms/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 44 in Voice Assistants & CompanionsDaedalus voice terminal
An ESP32 voice terminal for a home AI running OpenClaw.
- ESP32
- mic
- speaker
- +2 more
Intermediate



ESP32 AI LLM
ESP32 voice chat with 15 LLMs, wake word and live on-screen text.
- ESP32/ESP32-S3
- mic
- display
Intermediate572