{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机语音存储与回放系统设计(附系统原理图,元器件清单,主程序)

来源:wenku163.com  资料编号:WK16314167 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314167
资料介绍

基于单片机语音存储与回放系统设计(附系统原理图,元器件清单,主程序)(任务书,开题报告,论文说明书16000字)
摘要
针对传统语音录放系统稳定性低、结构复杂、操作不便、音质差等问题,本文提出了一种以STC89C52RC单片机芯片为核心,结合ISD4004-08语音芯片、LCD1602液晶显示器、键盘电路、LM386功放芯片、AMS1117稳压芯片等外接麦克风、扬声器组成的语音存储与回放系统,用它来实现多段语音按照相应模式的录制与播放,具有可编程、使用灵活、体积小巧、功耗低、音质好、还原度高等多方面的优点,作者的主要研究工作如下:
1.总体方案论证与设计;主要研究讨论了控制电路、显示电路、键盘电路、语音存储与回放电路、音频放大电路、电源稳压电路的选型与论证,确定了STC89C52RC作为单片机控制芯片,LCD1602液晶显示器作为字符显示输出界面,高度集成的ISD4004-08语音芯片作为语音存储与回放模块控制芯片,LM386功放芯片作为音频放大模块控制芯片,AMS1117稳压芯片作为电源稳压模块控制芯片。
2.系统硬件电路设计;主要研究讨论了STC89C52RC的功能特点,单片机最小系统的设计,LCD1602液晶显示器的性能特点,单片机与显示器的接口连接,ISD4004-08语音芯片的性能及SPI同步串行数据传输协议等,除此之外,系统加上一个功率放大电路以驱动扬声器获得更大的声音以及电位器来实现声音可调,利用Altium Designer软件完成了系统完整原理图的设计并在线调试无差错。
3.系统软件设计;主要研究讨论了编程工具软件keil uvision4,开发出了系统软件流程、按键检测流程、语音存储与回放流程、字符显示流程,首先通过键盘电路实现对单片机的控制,单片机将通过控制语音芯片进行语音存储与回放,每段录音都有其对应的地址,当播放的时候单片机只需要从语音芯片中写入地址便可播放,软件系统还实现了按照三种播放模式回放语音信号,相关要设置的参数信息也都将在液晶显示器上出现,到达操作流程的可视化。
4.系统调试与运行;主要介绍了对应的调试过程,首先打开STC-ISP下载器将程序烧写到STC89C52RC单片机芯片中,然后依次按下开始和确认键,四段语音信号即可录制完毕,下一步显示器出现模式选择界面,按下模式选择键即可切换A、B、C三种播放模式,最后通过播放键和暂停键可随时回放和停止之前录下的四段语音。
关键词:STC89C52RC单片机; LCD1602液晶显示器;ISD4004-08语音芯片;语音存储与回放系统;
 
Abstract
Aiming at the problems of traditional voice recording and playback system, such as low stability, complicated structure, inconvenient use and poor playback, this paper presents a novel STC89C52RC chip as the core, combined with ISD4004-08 voice chip, LCD1602 liquid crystal display, keyboard circuit, LM386 Amplifier chip, AMS1117 regulator chip and other external microphones, speakers composed of voice storage and playback system, use it to achieve multi-segment voice storage and playback, with the advantages of programmable, easy to operate, small size, low power consumption, better sound quality,high degree of reduction and so on. The main work of this paper is as follows:
1. The main program demonstration and design; The main research and discussion of the main control module, display module, keyboard module, voice storage and playback module, power amplifier module, power regulator module selection and demonstration, identified STC89C52RC as a single chip master chip , LCD1602 liquid crystal display as a character display interface, highly integrated ISD4004-08 voice chip as a voice storage and playback module control chip, LM386 power amplifier chip as a power amplifier module control chip, AMS1117 regulator chip as a power regulator module control chip.
2. System hardware circuit design; Introduce the STC89C52RC pin and function, the minimum system design of the microcontroller, LCD1602 LCD principle, the microcontroller and the display interface, ISD4004-08 voice chip performance and SPI synchronous serial data transmission Protocol, etc., in addition, the system with a power amplifier circuit to drive the speaker to obtain greater sound and potentiometer to achieve sound adjustable, the use of Altium Designer software to complete the single-chip voice storage and playback system complete schematic design.
3. System software design; Introduced the programming tool software keil uvision4, developed a system software flow, key detection process, voice storage and playback process, the character display process, first through the keyboard circuit to achieve single-chip control, microcontroller will control Voice chip for voice storage and playback, each recording has its corresponding address, when playing the microcontroller only need to write address from the voice chip can play, the system also provides a variety of playback for the user to choose, related to The set of parameter information will appear on the display and reach the visualization of the operation flow.
4. System debugging and operation; mainly introduced the corresponding debugging process, first open the STC-ISP downloader program will be programmed into the STC89C52 microcontroller chip, and then press the start and confirm the key, four voice signal can be completed, The next display appears mode selection interface, press the mode selection button to switch A, B, C three modes, and finally through the play button and pause button at any time to play back and stop before recording the four voice.
Key Words:STC89C52 microcontroller; LCD1602 liquid crystal display; ISD4004-08 voice chip; voice storage and playback system;
 

基于单片机语音存储与回放系统设计(附系统原理图,元器件清单,主程序)
基于单片机语音存储与回放系统设计(附系统原理图,元器件清单,主程序)
基于单片机语音存储与回放系统设计(附系统原理图,元器件清单,主程序)
基于单片机语音存储与回放系统设计(附系统原理图,元器件清单,主程序)
基于单片机语音存储与回放系统设计(附系统原理图,元器件清单,主程序)


目 录
1 绪论    1
1.1 课题研究的背景及目的、意义    1
1.2 国内外研究现状    2
1.3 本文的主要研究内容及组织结构    3
2 基于单片机的语音存储与回放系统的方案论证与总体设计    4
2.1 控制芯片的选型和论证    4
2.2 显示电路的选型和论证    5
2.3 键盘电路的选型和论证    5
2.4 语音电路的选型和论证    6
2.5 音频放大电路的选型和论证    6
2.6 电源稳压电路的选型和论证    6
2.7 系统整体设计概述    7
2.8 本章小结    7
3 基于单片机的语音存储与回放系统的硬件电路设计    8
3.1 控制电路设计    8
3.1.1 STC89C52RC单片机主要功能特点    8
3.1.2 单片机最小系统设计    9
3.2 显示电路设计    10
3.2.1 LCD液晶显示器主要功能特点    10
3.2.2 液晶显示器与单片机的接口部分    12
3.3 键盘电路设计    13
3.4 语音存储与回放电路设计    13
3.4.1 芯片引脚特点    13
3.4.2 SPI协议    14
3.5 音频放大电路的设计    15
3.5.1 LM386的引脚描述    15
3.5.2 音频放大电路    16
3.6 电源稳压模块设计    16
3.7 本章小结    17
4 基于单片机的语音存储与回放系统的软件设计    18
4.1 编程语言与编程工具软件    18
4.2 程序设计思想    19
4.3本章小结    22
5 基于单片机的语音存储与回放系统的调试与运行    23
5.1 硬件调试    23
5.2 软件调试    24
5.3 运行过程与结果分析    25
5.4 本章小结    27
6 总结与展望    28
6.1 总结    28
6.2 展望    29
参考文献    30
附录    31
致  谢    35

推荐资料