- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于单片机的音乐发生器规划_优秀规划.doc
郑州航空工业管理学院
毕 业 论 文(设 计)
2013 届 电气工程及其自动化 专业 1106971 班级
题 目 基于51单片机的音乐发生器设计
姓 名 学号
指导教师 职称
二О一三年五月十六日
内 容 提 要
本文是应用MCS-51单片机原理和控制理论设计音乐器的硬件电路,并利用语言进行程序设计。通过控制单片机内部的定时器产生不同频率的方波,驱动喇叭发出不同音调的音乐,再利用延迟控制发音时间的长短。把乐谱转化成相应的定时常数从发音设备中演奏出悦耳动听的音乐。
本系统采用C语言进行软件设计。正文中首先简单描述系统硬件工作原理,且附以系统硬件设计框图,论述了本次毕业设计所应用的各硬件接口技术和各个接口模块的功能及工作过程。其次阐述了程序的流程和实现过程。本文撰写的主导思想是软、硬件相结合,以硬件为基础,来进行各功能模块的编写。
关 键 词
单片机音乐C语言89C51;KEIL;PROTEUS
Abstract
In this paper, The music generator and its hardware circuit is designed by MCS-51 single-chip microcomputer principle and control theory, and the Software development and programming are based on C language programming. According to control the MCU internal timer to produce different frequency Square wave to drive the horn sounds of different tones of music, then use the delay to control the length of time. The music Transformationed into the timing constants corresponding so that the sound equipment can play Melodious music.
The music box is mainly composed of keypad circuit, reset circuit, clock circuit and a buzzer. Two buttons are used to control the music box, one to switch songs, another is used to switch the 8 LED pattern, the music box has two songs, a total of 3 kinds of pattern light pattern. While the music is playing, the buzzer sounded a tone, and the corresponding LED lights up. The design of programming the music box and debug source code using KEIL programming software, and to save the design time the PROTEUS simulation software is used to simulate the hardware debugging.
The system uses C language for software design. Firstly, in the text describes the working principle of the system hardware, and attached to the system block diagram of hardware design to discusse the function and working process of the graduation design and the application of the hardware interface technology and the interface module. Secondly, expound the procedures and processes to achieve process. Th
您可能关注的文档
- 基于PLC的火灾自动报警灭火系统研究.doc
- 基于PLC的电梯控制程序规划_优秀研究.doc
- 基于PLC的自动重合闸规划_优秀规划研究.doc
- 基于PLC规划的彩灯循环_课程规划研究.doc
- 基于proE的电视机底座的注塑模具规划_优秀研究.doc
- 基于RS485的远程采集与控制系统的规划_优秀规划(研究).doc
- 基于RS485的远程采集与控制系统的规划_优秀规划研究--141271357.doc
- 基于RS485的远程采集与控制系统的规划_优秀规划研究.doc
- 基于S51单片机的计费器规划——优秀规划.doc
- 基于SSH框架的经贸学院信息系统的规划与开_发_信息管理系统分析与规划优秀研究.doc
- 基于单片集成控制单元的数控电压源规划——本科优秀规划.doc
- 基于因子分析的钢铁行业上市公司财务综合分析与评价_优秀研究.doc
- 基于域的DFS应用(校园网应用)_优秀规划.doc
- 基于安吉汽车物流供应链管理“三链”系统优化规划--173996895.doc
- 基于安吉汽车物流供应链管理“三链”系统优化规划.doc
- 基于工作流的电信固定电话收费管理系统_优秀规划研究.doc
- 基于微控制器的小车避障硬件系统的规划_优秀规划研究.doc
- 基于数字PID的电机速度控制系统规划_课程规划任务书.doc
- 基于数字PID的电阻炉温度控制系统规划_课程规划任务书.doc
- 基于杜邦体系的光明乳业_财务报表分析_优秀研究--196109888.doc
文档评论(0)