基于AT89S52单片机的电子琴设计.doc

  1. 1、本文档共22页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE 基于AT89S52单片机的电子琴设计 【摘要】 微型电子琴的设计以AT89S52单片机作为系统的核心控制部分,通过制作硬件电路和软件的设计编写,然后进行软硬件的调试运行,最终达到设计电路的乐器演奏、点歌、存储及显示功能。设计中应用中断系统和定时/计数原理控制演奏器发声,对音乐发生所必须确定的音符和节拍分别用程序语言实现。可以用它来弹奏和播放乐曲。特点是设计思路简单、清晰,成本低。 【关键字】 单片机 音乐发生器 AT89S52 AT89S52 microcontroller-based flower design 【Abstract】: The design takes 89S52 SCM as the core of system's control section . In order to achieve the effect of the circuit that performancing the musical instrument, requesting a song, the function of the memory and demonstration, we can carry on software and hardware's debugging through manufacturing hardware circuit and compiling the software's design . The design applies the principle of the interruption system and fixed time/the counting to performance sound production, and according to the program language to realize the separation of the note and time at the same time. We can use it to play with the broadcast music. And the best advantage is this design is simply and clear . 【key words】: SCM Music Generator AT89S52 目 录 1.前言………………………………………………………………………………1 1.1系统开发背景……………………………………………………………………1 1.2 系统开发意义…………………………………………………………………1 1.3 设计目标………………………………………………………………………1 2.方案论证…………………………………………………………………………1 2.1 控制模块选择方案………………………………………………………………1 2.2按键选择方案……………………………………………………………………1 3.系统硬件设计及说明…………………………………………………………2 3.1系统组成及总体框图……………………………………………………………2 3.2元件简介…………………………………………………………………………2 3.2.1 AT89S52………………………………………………………………………… 3.2.2 LM386…………………………………………………………………………3 3.2.3 LED数码管……………………………………………………………………5 3.3音频功放电路……………………………………………………………………6 3.4显示电路…………………………………………………………………………7 4.系统软件设计……………………………………………………………………7 4.1 音乐相关知识……………………………………………………………………7 4.2如何用单片机实现音乐的节拍…………………………………………………7 4.3如何用单片机产生音频脉冲……………………………………………………7 4.4系统总体功能流程图……………………………………………………………8 5.系统调试…………………………………………………………………………11 5.1硬件调试…………………………………………………………………………11 5.2 软件调试…………………………………………………………………………11 6.结论………………………………………………………………………………11 7.参考文献…………………………

文档评论(0)

beoes + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档