电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

于基单片机的可控数字音乐盒设计---本科毕业设计

于基单片机的可控数字音乐盒设计---本科毕业设计_第1页
1/40
于基单片机的可控数字音乐盒设计---本科毕业设计_第2页
2/40
于基单片机的可控数字音乐盒设计---本科毕业设计_第3页
3/40
毕业设计基于 51 单片机的可控数字音乐盒设计摘 要本文是一篇基于 AT89C51 单片机的可控数字音乐盒的程序设计。该音乐盒是一个依据单片机技术原理,通过 PROTEUS 仿真软件对硬件电路进行仿真制作以及利用 KEIL软件对音乐盒源程序进行 C 语言编译,而设计制作出的一个多功能数字音乐盒。该音乐盒通过控制单片机内部的定时器来产生不同频率的方波,驱动喇叭发出不同音调的音乐。该程序通过把乐谱转化成相应的定时常数来驱动发音设备演奏出悦耳动听的音乐。本音乐盒一共设计了五首歌曲,同时还设计了三种 LED 彩灯的变化花样。在演奏歌曲时彩灯随音调闪耀。在停止演奏歌曲时三种彩灯花样开始闪耀。歌曲和花样均可随意切换。与此同时,数码管也不断变化数字,以此显示歌曲和彩灯花样的序号。关键词:数字音乐盒;AT89C51;KEIL;PROTEUS;数码管 THE DESIGNATION OF CONTROLLABLE DIGITAL MUSIC BOX BASED ON 51 SCM ABSTRACTThis paper explains the program designation of controllable digital music box based on AT89C51. This music box is designed by the idea that a multi-functional digital music box can be made based on the technical principle of single chip microcomputer (SCM), together with using the PROTEUS to simulate the hardware circuit and using KEIL to programme the source of music box which is compiled with C language. This music box can produce square waves of different frequency in control of the timer inside SCM, and music of different tunes by driving speaker. The program is made use of to drive the sounding equipment to play pleasant music by the way of changing music score into the corresponding timing constant.This music box is totally designed with five songs, and also with three changeable patterns of LED colorful lights. While the songs are being performed, the colorful lights are flashing with tones. While the songs are stopped playing, the colorful lights start to flash with three changeable patterns. The songs and patterns c...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

于基单片机的可控数字音乐盒设计---本科毕业设计

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部