Practical overview
When it fits
Use it as a reference or starting point when building a microcontroller-based voice-controlled speaker and you can work with its documented hardware and Baidu recognition setup.
Who it is for
- Embedded developers exploring speech-controlled speaker hardware.
- STM32F4 developers studying audio capture, playback, Wi-Fi communication, and command-driven device actions.
Documented uses
- Capture speech automatically using a basic voice-activity detector.
- Send recorded audio to Baidu cloud speech recognition.
- Use recognition results to trigger playback or LED behavior.
- Store recordings and music on an SD card and explore embedded audio components.
Requirements & limits
- Requires physical embedded hardware; it is firmware rather than a standalone app.
- Wi-Fi details and a Baidu speech developer token must be configured in source files.
- The README identifies ESP8266 network bandwidth as a cause of slower recognition and says online music playback is not supported.
- The repository specifies the MIT license.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Configure Wi-Fi and Baidu speech recognition
Prepare the firmware configuration for Wi-Fi access and Baidu cloud speech recognition.
Before you start
- SmartSpeaker source code
- Wi-Fi network details
- A Baidu speech developer account and its token
Steps
Configure the Wi-Fi network in network.c.
Obtain a token through the Baidu speech developer service.
Configure the token in netvoc.c.
Expected outcome
The source configuration contains the network details and recognition token needed by the project.
Guide limitations
- These steps cover configuration only; they do not document firmware compilation, flashing, or a complete device run.
- ESP8266 bandwidth can make speech recognition slow, and online music playback is unavailable.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- lovelyterry/SmartSpeaker · Official homepage title · retained in its source language

