基于单片机的无线数字语音收发系统设计
基于单片机的无线数字语音收发系统设计(任务书,开题报告,外文翻译,论文11000字)
摘要
目前,人们的生活水平逐渐的在提高,很多行业在国内已逐步使用无线语音作为通信与交流的工具,它正逐步代替对讲机的地位。无线语音具有适用范围广、不会对周围造成影响、通讯信号强等特点,因此得到广泛应用。无线语音系统分为两个部分完成,分别为能够发送信号的发送端以及用来接收信号的接收端。发送端采用STC12C5A60S2单片机作为主操作芯片,采用驻极体咪头将声音信号采集出来并转换成电信号,通过STC12C5A60S2单片机自身带有的A/D转换模块把模拟电信号变更为数字信号。单片机将信号处理完之后把信号发送给发送模块,发送端通过433MHZ的频率将信号发送到空中。接收端接收到数据,数字信号通过PCF8591数模转换成模拟信号,再利用LM386进行音频功率放大并利用扬声器还原出声音,从而无线数字信号发送以及接收功能得以完成。本文将实现无线语音收发系统的设计分为软件和硬件两个部分进行介绍,硬件完成语音信号的采集以及播放,音频放大电路的设计,无线接收与发送设计等,软件主要完成语音数据转换以及控制电路运行等。最后介绍无线语音系统设计中遇到的问题和总结。
关键词: 无线接收 无线发送 软件编程
Abstract
With the development of society and the improvement of living standards, many domestic industry has been gradually used wireless voice as the tool of communication and exchanges ,it is gradually replace intercom.Wireless voice without telephone expenses,can communicate conveniently.Because it has wide range of application,no effects on surrounding environment and strong signal,wireless voice has been used to serve the people.This design uses STC12C5A60S2 single chip as control chip,and adopts the electricity microphones to collect the acoustical signal.The STC12C5A60S2 with the A/D conversion module converts analog singals into digital singals .It will be sent to the sender module when MCU has deal with it.Then the sender sends signals to the air.After the receiver receiving data,the signal will be converted into analog signals by PCF8591.And then through the LM385 the voice is amplified and displayed in the speaker.This design realized the function of sending and receiving wireless digital acoustical signal . The design of the system was introduced through two aspects including the analysis and design of hardware circuit and software programming. hardware mainly complete collecting signals,displaying and amplifying voice. Software mainly complete converting data and controling the operation of the whole circuit. At the end of this paper, the problems happened during the process of designing the system was summarized.
[来源:http://Doc163.com]
Keywords: wireless receiving; wireless transmission; software programming
[资料来源:http://Doc163.com]
目录
摘要 I
Abstract II
第一章 绪论 1
1.1背景 1
1.2设计目标 1
1.3论文结构 2
第二章 硬件电路设计 3
2.1系统功能 3
2.2系统原理 3
2.3发送端电路设计 4
2.3.1发送端单片机模块的设计 4
2.3.2语音采集模块的设计 6
2.3.3 发送模块的设计 6
2.4接收端电路设计 7
2.4.1接收端单片机电路设计 7
2.4.2 D/A转换模块电路 7
2.4.3音频放大模块电路 8
2.5 小结 9
第三章 软件程序设计 10
3.1发送端程序设计 10
3.1.1发送端系统主函数 10
3.1.2串口单个字节发送函数 11
3.1.3语音采集函数 12
3.1.4串口中断入口函数 12
3.2接收端程序设计 13
3.2.1接收端主函数程序设计 13
3.2.2串口中断入口函数 14
3.2.3 发送数据到D/A函数 15
3.3小结 16
第四章 系统测试结果 17
4.1测试与结果 17
4.1.1软件仿真结果 17
4.1.2焊接实物图 20
4.2测试和仿真过程中遇到的问题 21
第五章 总结 23 [资料来源:https://www.doc163.com]
参考文献 24
致谢 25
附录1:电路图 26
附录2 :程序 27