A voice AI assistant on three ESP32 boards: controlling a Bluetooth internet radio via the Model Context Protocol and the open Xiaozhi platform

Large language models (LLMs) are increasingly used as a voice interface in low-cost embedded devices, and the open Model Context Protocol (MCP) allows a model to call functions of external devices. This paper describes a system of three off-the-shelf boards based on ESP32 microcontrollers in which a voice AI assistant, following a spoken command, controls an internet radio played through Bluetooth audio devices (a portable speaker, headphones, etc.). The system comprises: (i) a voice node on a Waveshare ESP32-S3-RGB-Matrix board running the open Xiaozhi v2.5.2 firmware with the cloud language model Qwen 3.6 (Fast); (ii) an MCP bridge on a Keyestudio ESP32 board that registers four radio control tools in the cloud; (iii) an internet radio on an AI Thinker ESP32-CAM board that decodes MP3/AAC streams and transmits the audio over the Bluetooth A2DP profile; (iv) plain HTTP requests from the bridge to the radio over the local (home) network. It is shown that the division of functions among the boards was forced and is explained by measured limitations: the ESP32-S3 does not support Classic Bluetooth, and on an ESP32 without external PSRAM, with Wi-Fi, Bluetooth and an MP3 decoder running simultaneously, the free memory drops to 17\,144~bytes with a largest free block of 2036~bytes, which is not enough even for an HTTP connection. The radio responds to a bridge command within 1.1--1.3~s, and all configured radio stations play. The Bluetooth link to the speaker is stable at distances up to $\sim$8~m. The described approach, in which an MCP bridge translates model calls into HTTP commands on the local network, can be used for voice control of any low-power boards in educational and hobby projects.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24564929
Primary Topic
IoT-based Smart Home Systems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A voice AI assistant on three ESP32 boards: controlling a Bluetooth internet radio via the Model Context Protocol and the open Xiaozhi platform

Michael I. Kopp
Zenodo (CERN European Organization for Nuclear Research)
IoT-based Smart Home Systems
preprint

A voice AI assistant on three ESP32 boards: controlling a Bluetooth internet radio via the Model Context Protocol and the open Xiaozhi platform

Michael I. Kopp
preprint en

Abstract

Large language models (LLMs) are increasingly used as a voice interface in low-cost embedded devices, and the open Model Context Protocol (MCP) allows a model to call functions of external devices. This paper describes a system of three off-the-shelf boards based on ESP32 microcontrollers in which a voice AI assistant, following a spoken command, controls an internet radio played through Bluetooth audio devices (a portable speaker, headphones, etc.). The system comprises: (i) a voice node on a Waveshare ESP32-S3-RGB-Matrix board running the open Xiaozhi v2.5.2 firmware with the cloud language model Qwen 3.6 (Fast); (ii) an MCP bridge on a Keyestudio ESP32 board that registers four radio control tools in the cloud; (iii) an internet radio on an AI Thinker ESP32-CAM board that decodes MP3/AAC streams and transmits the audio over the Bluetooth A2DP profile; (iv) plain HTTP requests from the bridge to the radio over the local (home) network. It is shown that the division of functions among the boards was forced and is explained by measured limitations: the ESP32-S3 does not support Classic Bluetooth, and on an ESP32 without external PSRAM, with Wi-Fi, Bluetooth and an MP3 decoder running simultaneously, the free memory drops to 17\,144~bytes with a largest free block of 2036~bytes, which is not enough even for an HTTP connection. The radio responds to a bridge command within 1.1--1.3~s, and all configured radio stations play. The Bluetooth link to the speaker is stable at distances up to $\sim$8~m. The described approach, in which an MCP bridge translates model calls into HTTP commands on the local network, can be used for voice control of any low-power boards in educational and hobby projects.

Zenodo (CERN European Organization for Nuclear Research)
State Scientific Institution “Institute for Single Crystals” of National Academy of Sciences of Ukraine (UA)
IoT-based Smart Home Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon