毕业论文:基于单片机控制的MP3音乐播放器的设计.doc

毕业论文:基于单片机控制的MP3音乐播放器的设计.doc

  1. 1、本文档共38页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
目录1引言 1 2硬件设计 2 2.1硬件电路的设计框图 2 2.2硬件电路设计模块的选定 2 2.2.1中心模块 2 2.2.2播放模块 3 2.2.3显示模块 4 2.2.4电子琴模块 4 2.3各硬件电路的具体设计 5 2.3.1 AT89S52控制模块的设计 5 2.3.2按键模块的设计 6 2.3.3扬声器播放模块的设计 7 2.3.4 LCD显示电路的设计 7 2.3.5彩灯伴奏电路的设计 8 3软件设计 9 3.1单片机发声的基本原理 9 3.2设计的相关音乐说明 9 3.3切换原理 10 3.4音乐播放器软件程序设计 10 3.4.1按键扫描子程序设计 10 3.4.2 1ms延时程序设计 14 3.4.3 LCD显示子程序设计 15 3.4.4函数初始化子程序设计 16 3.4.5系统主程序设计 17 4结论 19 20 附录一 硬件原理图 21 附录二 软件主程序 22 32 摘 要 目前流行的MP3播放器的音质已相当好,但略感遗憾的是除了选择歌曲和显示歌名外,绝大部分播放器没有诸如随意弹奏乐曲、乐曲节奏跳动等功能。而随着人们生活水平的不断提高,单片机控制无疑是人们追求的目标之一。要为现代人工作、生活提供更好的更方便的服务就需要从单片机技术着手,一切向着数字化控制、智能化控制方向发展。 本设计是采用单片机为核心设计的数字音乐播放器。本设计在实现音乐的播放及歌曲名显示等基本功能的基础上进行了扩展,添加了彩灯伴奏、按键弹奏、显示音乐节拍等功能。 本论文给出了系统方案的建立、硬件电路的详细设计及软件的程序实现。并通过软硬件的联立调试,验证了设计方案的可行性。 关键词:;; Abstract The current popular MP3 player sound has been quite good, but feel regretful slightly is in addition to the choice of songs and display the song name, most players without such as random play music rhythm, music and other functions. But as people living standard rise ceaselessly, SCM control is one of the goals that people pursue. For the modern life of work, to provide better and more convenient service needs from proceed toward the SCM technology, all digital control, intelligent control direction. This design is the use of single-chip microcomputer as the core design of the digital music player. The design in the implementation of music playing and the song name display and other basic functions based on the expansion, adding lights accompaniment, play button, display the beat of the music and other functions. This paper gives a system scheme, hardware establishment detailed circuit design and software program. And through the software and hardware of simultaneous debugging, verify the feasibility of the design scheme. Key words: multi function; MP3 music player; single chip microcomputer; play button 1引言 整个硬件电路是由中心控制、播放、选曲、显示、电子琴和彩灯等模块组成中心控制模块采用AT89S52单片机播放模块是由8550 NPN三极管和电磁蜂鸣器组成采用LCD1602显示模块,电子琴设有8个按键,其中7个作为音符输入,另外1个作为模式转换按键,实现用户自弹作曲2 硬件设计 2.1 硬件电路的设计框图 硬件

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档