1、 录音笔的设计与实现 I 摘摘 要要 随着电子技术的飞速发展,数码录音笔已得到了越来越多的人得青睐,论文通过 对多种录音笔的设计方案进行了比较和分析, 选定凌阳单片机设计了一个数字录音笔。 论文首先介绍了设计方案的选择,介绍了凌阳单片机的集成开发环境。接着进行 了系统的硬件设计,包括音频输入输出电路的设计、存储电路的设计、按键控制电路 的设计、液晶显示电路的设计等,设计中采用了凌阳的功放芯片 SPY0030,利用了单 片机其串行接口 SIO 实现上位机与下位机的通讯, 利用 UART 的 RS232 接口与 PC 机 232 接口进行连接,并设置了 8 位键盘和 LCD 显示的人机界面。然后分
2、模块进行了软件设 计,包括主程序模块、语音信号的采集模块、键盘扫描模块、语音信号存储模块的设 计等,进行了程序流程的设计,编写了程序代码。最后使用 IDE 进行了仿真调试,验 证了系统设计的正确性。系统实现了语音数据的录制、播放、暂停、循环播放、重复 播放、选择上一段、选择下一段以及与 PC 机进行数据传输等功能,设计具有一定的应 用价值。 关键词:单片机,录音,放音,电路设计,软件实现 II ABSTRACT As the swift development of the electronic technology, the digital voice editor has become m
3、ore and more favored nowadays. Through comparison and analysis to various design proposals of the digital voice editor, this thesis presents the designing process of a digital voice editor, using Lingyang single-chip microcomputer. First of all, we give an introduction for the selection of the desig
4、ning proposal, and the IDE (integrated development environment) of Lingyang single-chip microcomputer. Secondly, systematical hardware designing is carried out, including the design of the output circuit, memory circuit, button-control circuit, LCD circuit and so on. In the designing, we adopt the Lingyang amplifier chip SPY0030, apply the single-chip microcomputers SIO (serial interface) to realize the communication between the host computer and slave computer, connect the UARTs RS232 in