设计说明书
总字数:13000+
摘要
随着智能家居理念的普及和生活品质的提升,用户对家用音响的交互便捷性与功能多样性提出了更高需求。传统音响多依赖物理按键操作,在双手被占用或远距离控制场景下存在不便,难以满足用户对智能化生活的追求。因此,研发一款融合语音控制与多模态交互的家用音响系统具有重要的现实意义。
本设计提出一种基于 STM32F103C8T6 单片机的智能语音控制家用音响系统。系统核心功能包括:通过 DFPlayer Mini MP3 模块实现音乐播放;配备五个独立按键,分别用于控制暂停 / 播放、上一曲 / 下一曲切换、音量加减及播放模式(单曲循环 / 全部循环)切换;采用 OLED 显示屏实时展示当前播放状态、音量及模式信息;集成 SU-03T 语音识别模块与 ECBO2 蓝牙模块,支持语音指令控制所有操作,实现无接触式交互。
该系统的作用在于为用户提供便捷、智能的音乐播放体验。通过语音与按键双重控制方式,适配不同使用场景,用户无需手动操作即可完成音乐控制;直观的显示界面让播放状态一目了然,多样化的播放模式满足个性化聆听需求。系统的智能化设计不仅提升了操作效率,更推动了家用音响向智能家居生态的融合,为用户打造更舒适的生活环境。
关键词:单片机;家用音响;语音控制;蓝牙交互;音乐播放
Design and Implementation of Home Audio System Based on Intelligent Voice Control
Abstract
With the popularization of smart home concepts and the improvement of quality of life, users have put forward higher demands for the interactive convenience and functional diversity of home speakers. Traditional audio systems rely heavily on physical button operations, which can be inconvenient in scenarios where both hands are occupied or remotely controlled, making it difficult to meet users’ pursuit of intelligent living. Therefore, developing a home audio system that integrates voice control and multimodal interaction has significant practical significance.
This design proposes an intelligent voice controlled home audio system based on STM32F103C8T6 microcontroller. The core functions of the system include: music playback through DFPlayer Mini MP3 module; Equipped with five independent buttons, each used to control pause/play, switch between previous/next track, adjust volume, and switch playback modes (single loop/full loop); Real time display of current playback status, volume, and mode information using OLED display screen; Integrate SU-03T voice recognition module and ECBO2 Bluetooth module, support voice command control for all operations, and achieve contactless interaction.
The purpose of this system is to provide users with a convenient and intelligent music playback experience. Through dual control of voice and buttons, it adapts to different usage scenarios, and users can complete music control without manual operation; The intuitive display interface makes the playback status clear at a glance, and the diverse playback modes meet personalized listening needs. The intelligent design of the system not only improves operational efficiency, but also promotes the integration of home audio into the smart home ecosystem, creating a more comfortable living environment for users.
Keywords:microcontroller; Home audio system; Voice control; Bluetooth interaction; Music playback
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 MP3 播放模块电路设计
3.4 按键模块电路设计
3.5 显示模块电路设计
3.6 语音识别模块电路设计
3.7 蓝牙模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 蓝牙模块子流程设计
4.6 MP3音乐播放模块子流程设计
4.7 语言识别模块子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 MP3 播放及按键控制功能测试
5.3 OLED 显示功能测试
5.4 语音识别控制功能测试
5.5 蓝牙语音控制功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!