基于AT89C5单片机的音乐盒设计 毕业论文.docVIP

  • 13
  • 0
  • 约4.01万字
  • 约 34页
  • 2016-08-28 发布于贵州
  • 举报

基于AT89C5单片机的音乐盒设计 毕业论文.doc

基于AT89C5单片机的音乐盒设计 毕业论文

本科学生毕业论文(设计) 题目 基于AT89C51单片机的音乐盒设计 系别 电子信息系 专业 电子信息工程 学生姓名 学号 指导教师 职称 助教 论文字数 8800 完成日期 2010 年 12 月 29 日 论文题目 基于AT89C51的单片机的音乐盒的设计 作者:、系别:电子信息系 摘 要:为了实现单片机控制音乐播放,此次课程设计做出了尝试,即电子音乐盒的设计。本设计采用了扬声器发声来实现歌曲的播放,能保持基本音调不变,流畅播放出歌曲。现选用AT89C51单片机。用PROTEUS单片机仿真软件仿真。利用I/O口产生一定频率的方波,驱动蜂鸣器,发出不同的音调,从而演奏乐曲。通过单片机P1口控制,实现功能键盘控制;功能键盘采用按键开关,通过单片机P2口控制,实现歌曲播放顺序的调换和暂停播放功能;扬声器由单片机的P3口控制,实现歌曲播放;主要工作过程是通过按下功能键实现上一首和下一首及暂停播放,同时有液晶屏显示当前播放歌曲的序号,扬声器播放出音乐。 关键词: AT89C51单片机;方波; 音调 英文题目 The design of musicbox base on AT89C51 作者:Ni Fangsheng、系别:Department Of Electronic Information Abstract:In order to achieve single-chip microcomputer to control music player, I made the project to try, that is, the design of electronic music box. I used to achieve audible speaker songs to play, to maintain the same basic tone,smooth playback of songs. Single-chip AT89C51 is optional. with simulation software PROTEUS single-chip simulation. The use of I / O I have a certain frequency square wave to drive the speaker, the issue of different tones, which play music. through the P1 port single-chip control functions; functions using the keyboard button switches, single-chip P2 through population control, to achieve the change the order of songs to play and pause functions; buzz P3 is controlled by MCU port control, the realization of music playback. The main process is to achieve by pressing function keys on the first one and the next, and suspension of play, while the LCD the serial number of the currently playing song, the music player speaker. Key words:AT89C51 microcontroller; square; tone 目 录 摘要···································································Ⅱ Abstract······························································Ⅱ 1 绪论······································

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档