基于单片机的音乐彩灯控制器设计.doc

  1. 1、本文档共14页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
陕西理工学院毕业设计 PAGE 1 基于单片机的音乐彩灯控制器设计 许蕊 (陕西理工学院物电学院电子信息科学与技术专业电信103班,陕西汉中 723001) 指导教师:刘亚峰 [摘要] 本设计是一种基于AT89C51单片机音乐控制彩灯的方案,实现单片机演奏音乐,并且对LED彩灯随音符频率的不同而闪烁发光。本方案以AT89C51单片机作为主控核心,通过三极管放大电流使用蜂鸣器播放音乐,利用编程实现亮灯循环模式,在有8个LED彩灯,根据用户需求可以编写若干种亮灯模式.例如左右闪烁,隔几个亮灭,蜂鸣器可以根据用户需求改写编程播放各种音乐。本方案具有设计简单、体积小、元器件少、电路结构简单等优点。该设计方案设计及其简单,典型的AT89C51单片机,亮灯模式多,播放各种类型的音乐,具有体积小、价格低、低能耗等优点。在美丽的都市夜晚,彩灯的循环亮灭,播放动人的音乐,衬托出美丽的氛围。 [关键词] AT89C51 LED彩灯 音乐 Based on single chip music lights controller design Xu rui (Grade10,Class3,Major Electronic Information Science and Technology,.Content electric institute,Shaanxi University of Technology,Hanzhong 723000,Shaanxi) Tutor:Liu yafeng Abstract :This design is a musical based on AT89C51 microcontroller control program Lantern,realize MCU playing music,And the LED lights on the frequency of different notes with the light flashing。The program for AT89C51 microcontroller as the control center, the current through the transistor amplification using the buzzer to play music, Using programming lighting cycle mode, with 8 LED Lantern, according to user needs to write some kind of switch-mode. For example, flashing around, every few light off, the buzzer can be adapted according to user requirements play a variety of music programming . The program is simple in design, small size, less components, and simple circuit structure. The design and simple design, the typical 89c51 microcontroller, a switch-mode and more, playing all types of music, has a small size, low price and low power consumption and so on. In the beautiful city at night, lanterns light off cycle, play beautiful music, brings out the beautiful atmosphere. Key words :AT89C51 LED Lantern music TOC \o 1-3 \h \z \u HYPERLINK \l _Toc340999493 引言 PAGEREF _Toc340999493 \h 1 HYPERLINK \l _Toc340999494 1 音乐彩灯方案设计与选择 PAGEREF _Toc340999494 \h 1 HYPERLINK \l _Toc340999495 1.1设计要求 PAGEREF _Toc340999495 \h 1 HYPERLINK \l _Toc340999496 1.2 基本原理 PAGEREF

文档评论(0)

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

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

1亿VIP精品文档

相关文档