你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

基于8051简易电子琴的设计_电子信息工程毕业论文范文

发布时间:2015-01-14 来源:人大经济论坛
电子信息工程毕业论文范文 目 录 摘要1 Abstract2 第一章绪论3 1.1课题研究背景和现实意义3 1.2国内外研究现状4 第二章 系统总体设计5 2.1系统要求5 2.2系统结构的总体方案研究5 2.2.1方案的选择5 2.2.2单片机的介绍7 2.2.3音高的产生11 2.2.4节拍的产生12 第三章 系统硬件设计13 3.1 电源部分14 3.2 按键控制部分15 3.3 发声放大部分16 3.4 显示部分17 第四章 系统软件设计19 4.1软件部分方案论证19 4.2软件总体设计20 4.2.1程序总流程图20 4.2.2初始化程序分析20 4.2.3定时器中断服务程序分析21 4.2.4音符按键程序分析22 4.2.5播放程序分析24 第五章 电子琴系统的模拟与测试26 5.1 proteus仿真26 5.2系统硬件测试28 5.2.1 排除逻辑故障28 5.2.2 排除元器件失效28 5.2.3 排除电源故障28 第六章 结论与展望28 致谢29 参考文献29 附录一29 摘要 单片机控制的简易电子琴主要应用于儿童电子玩具,培养儿童的音乐兴趣。该系统结构简单,能满足基本功能,具有高性价比,体积小,重量轻等特点。 本文根据系统设计原则对系统结构的总体方案进行研究,通过比较分析,选择最优方案。首先介绍单片机的内部结构和功能,重点分析定时器/计数器的基本结构及工作原理,研究音高和节拍的产生原理。根据系统要求,对硬件电路模块化逐步分析设计,最终实现该系统的硬件电路。系统各部分的控制电路基于单片机控制。根据软件来识别键盘上的闭合,并通过八段数码管显示音符,同时扬声器发出对应的声音或一首小歌曲。本系统应用Keil C51 uVision2软件对程序进行反复的模拟运行、调试,修改简化了软件系统,最后形成了一套完整的程序系统。最后用PROTEUS软件仿真系统,展示出逼真的系统功能。 关键词:单片机、定时器/计数器、音高、节拍、八段数码管显示、扬声器 Abstract The simple electric piano controlled by SCM mainly applies to the child electron toy, raises child's music interest. The system is simple and can meet the basic function, with high cost performance, small, light, and other characteristics. According to the system design principle ,This article conduct the research to overall plan of the system structure. Through comparative analysis, it choice most superior plan. This article introduces SCM of the internal structure and the function, analyzes the timer/counter with emphasizing on the basic structure and the principle of work, which researches the pitch and time production principle. According to the system request, it gradually analyzes the design to the hardware electric circuit, which finally has realized this system hardware electric circuit. Parts of the system based on the control of SCM. The software identify the keyboard closed, then eight sections of digital tubes display note, and the loudspeaker sends out corresponding sound or a small song, through the software and hardware of coordination, it has realized the overall system design request. This system uses Keil C51 uVision2 to carry on the repeatedly simulation, the debugging. The revision simplifies the software system, finally has formed a set of complete software. Finally it uses the PROTEUS software to simulate system, demonstrates the lifelike function of the system requirements. Keywords:SCM、timer/counter、pitch、time、eight sections of digital tubes display、loudspeaker
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐