基于单片机带流水灯的电子音乐盒推荐.docVIP

  • 9
  • 0
  • 约2.46万字
  • 约 31页
  • 2018-04-28 发布于湖北
  • 举报

基于单片机带流水灯的电子音乐盒推荐.doc

基于单片机带流水灯的电子音乐盒推荐

课程设计(论文)说明书题 目: 带花样灯的电子音乐盒 院 (系): 信息与通信学院 专 业: 电子信息工程 学生姓名: 学 号: 指导教师: 职 称: 2012年 12月 12日摘 要本设计是一个基于AT89C52系列单片机的音乐盒,依据单片机技术原理,通过硬件电路制作以及软件编译,设计制作出一个多功能多功能音乐盒,最终达到设计电路的乐器演奏、点歌、存储及显示功能。设计中应用中断系统和定时/计数原理控制演奏器发声,对音乐发生所必须确定的音符和节拍分别用程序语言实现,可以用它来弹奏和播放乐曲。本设计的特点是设计思路简单、清晰,成本低。该音乐盒主要由按键电路、复位电路、时钟电路以及蜂鸣器组成。该电路使用两个按键控制音乐盒,一个用来切换歌曲,另一个用来切换八路LED的变化花样,本音乐盒共有五首歌曲,花样灯花样共计五种。播放歌曲时,蜂鸣器发出某个音调,与之对应的LED亮起。本设计利用KEIL编程软件对音乐盒源程序进行编程并调试,配合PROTEUS仿真软件对硬件进行仿真调试,节约了设计时间。关键字:音乐盒;AT89C52单片机;KEIL;PROTEUS; Abstract The design is based on a series of AT89C52 SCM Music Box.The design of a multi-function music box through the production of hardware and software compilation, On the basis of the principles of microcomputer technology.The design use interruption system and timing / counting principle to control performance sound production, which used for playing the songs. And the music must determine the notes and beats program language to realize the separation of. The characteristic of this design is simple, clear design, low cost.The music box is mainly composed of a key circuit, reset circuit, clock circuit and a buzzer.The circuit using two buttons to control music box, a used to switch the song, another used to switch the 8 road LED change pattern。This music box have five songs and A total of 5 sample light figure.When playing songs, buzzer sounded a note with the corresponding LED lights up.The design using KEIL programming software for music box source code for programming and debugging, withing the PROTEUS simulation software to the hardware simulation debugging to save the design time. Key word: AT89C52 SCM; Music Box; KEIL;PROTEUS;目 录 TOC \o 1-3 \h \z \u HYPERLINK \l _Toc263963157 引言 3 HYPERLINK \l _Toc263963158 1 概述 4 HYPERLINK \l _Toc263963159 1.1 设计目标 4 HYPERLINK \l _Toc263963160 1.2 设计方案 4 HYPERLINK \l _Toc263963161 1.3 设计内容 5 HYPERLINK \l _Toc263963162 2 系统总体方案 5 HYPERLINK \l _Toc263

文档评论(0)

1亿VIP精品文档

相关文档