- 4
- 0
- 约2.12万字
- 约 38页
- 2017-03-26 发布于江苏
- 举报
基于单片机的可控数字音乐盒研究设计书研究设计书策划案
毕业设计
基于51单片机的可控数字音乐盒设计
摘 要
本文是一篇基于AT89C51单片机的可控数字音乐盒的程序设计。该音乐盒是一个依据单片机技术原理,通过PROTEUS仿真软件对硬件电路进行仿真制作以及利用KEIL软件对音乐盒源程序进行C语言编译,而设计制作出的一个多功能数字音乐盒。
该音乐盒通过控制单片机内部的定时器来产生不同频率的方波,驱动喇叭发出不同音调的音乐。该程序通过把乐谱转化成相应的定时常数来驱动发音设备演奏出悦耳动听的音乐。
本音乐盒一共设计了五首歌曲,同时还设计了三种LED彩灯的变化花样。在演奏歌曲时彩灯随音调闪烁。在停止演奏歌曲时三种彩灯花样开始闪烁。歌曲和花样均可随意切换。与此同时,数码管也不断变化数字,以此显示歌曲和彩灯花样的序号。
关键词:数字音乐盒;AT89C51;KEIL;PROTEUS;数码管
THE DESIGNATION OF CONTROLLABLE DIGITAL MUSIC BOX BASED ON 51 SCM
ABSTRACT
This 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 can be free to switch. At the same time, the digital tube is also constantly changing figures to show the serial number of the songs and the patterns of the colorful lights.
Key words: Digital music box; AT89C51; KEIL; PROTEUS; Digital tube
目 录
1 前言------------------------------------------------------------------------------------------------------1
2 单片机和音乐盒硬件的功能------------------------------------------------------------------------2
2.1 AT89C51芯片的功能-------------------
您可能关注的文档
- 基于单片机AT89C51控制的中断控制流水灯课程研究设计书方案书策划案.doc
- 基于单片机ED数码管数字电子钟智能仪表课程研究设计书.doc
- 基于单片机AT89C52的大棚温度控制系统研究设计书策划案.doc
- 基于单片机D卡录音笔研究设计书与实现优秀研究设计书.doc
- 基于单片机ED汉字显示屏研究设计书课题.doc
- 基于单片机AT89C51控制的花样调速流水灯课题研究设计书方案书策划案.doc
- 基于单片机IC卡写系统研究设计书可研性.doc
- 基于单片机ED大屏幕显示系统课题().doc
- 基于单片机AT89C51控制的电子时钟课题研究设计书方案书策划案.doc
- 基于单片机t8951的数字电压表研究设计书可行性研究设计书研究.doc
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
最近下载
- 交流转辙机道岔动作电流故障曲线分析信号集中监测课件.pptx VIP
- 2025届东北三省三校高三下学期第一次联合模拟考试政治试题(原卷版+解析版).docx VIP
- 养老服务质量检测90项.pdf VIP
- 光谱分析图谱与标志.docx
- 2025新课标中考英语词汇.pdf VIP
- T_CNPHARS 0001-2025 群体药动学药效学分析标准操作规范.pdf VIP
- (2026年)血浆置换及血浆分离吸附护理要点PPT课件.pptx VIP
- 农村狗狗交配的全过程,让你看了有点不可置信.pdf VIP
- 医院培训课件:《死亡医学证明(推断)书》规范填写及死因链基础知识.pptx VIP
- 健康体检表样表最新文档.docx VIP
原创力文档

文档评论(0)