Skip to content
HardwareLab

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.

ESP32 VoiceChat LLMs
No photo in the source; GitHub repository card, served from HardwareLab.

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 build guide

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.

Source: github.com/MetaWu2077/Esp32_VoiceChat_LLMs

Hardware

  • ESP32
  • mic
  • speaker

More ESP32 builds

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.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](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>