- 1、本文档共15页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
单片机音乐控制流水灯
摘 要
本设计是一种基于AT89C51单片机音乐控制彩灯的方案,实现单片机演奏音乐,并且对LED彩灯随音符频率的不同而闪烁发光。本方案以AT89C51单片机作为主控核心,利用三极管和蜂鸣器,通过三极管放大电流使用蜂鸣器播放音乐,利用编程实现亮灯循环模式,在有8个LED彩灯,根据用户需求可以编写若干种亮灯模式.例如左右闪烁,隔几个亮灭,蜂鸣器可以根据用户需求改写编程播放各种音乐。本方案具有设计简单、体积小、元器件少、电路结构简单等优点。该设计方案设计及其简单,典型的89c51单片机,亮灯模式多,播放各种类型的音乐,具有体积小、价格低、低能耗等优点。在美丽的都市夜晚,彩灯的循环亮灭,播放动人的音乐,衬托出美丽的氛围,音乐彩灯具有更广阔的发展天地。
关键字:AT89C51 LED彩灯 音乐
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, use of transistor and buzzer, 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,music Carnival with the development of a broader world.
Keywords: AT89C51 LED Lantern music
目 录
绪论------------------------------------------------------------- 4
音乐流水灯方案设计与选择--------------------------------------- 4
1、1 设计要求-------------------------------------------------5
1、2 基本原理------------------------------------------------- 5
1、3 设计电源------------------------------------------------- 5-6
1、4 频率音符------------------------------------------------- 6
2 音乐流水灯设计过程---------------------------------------------- 7
2、1 元件选择------------------------------------------------- 7
2、2 电路设计---------------
您可能关注的文档
- 8和9的组成55.ppt
- 8.2 二力平衡55.ppt
- 第8讲 蜜罐技术.ppt
- 8.12平均数.ppt
- 《廉政准则》8个禁止52不准.doc
- Keil uVision支持的单片机列表.doc
- 数字逻辑第八章作业答案.ppt
- 用STC89C52做的88点阵.doc
- 单片机8 8点阵屏设计.doc
- 数字逻辑设计及应用习题_8章.ppt
- 老旧小区改造提升项目-小龙坎街道片区(一期)结构计算书(施工图).doc
- 南马石危岩治理工程施工图设计计算书.docx
- 南环大道三期--给水工程施工图设计说明.doc
- 汽车产业园综合服务配套及基础设施项目-办公用房工程-边坡结构部分施工图设计说明.doc
- 宏帆东路道路工程施工图设计说明.doc
- )库岸安全综合防护工程(乌杨岛区域)—库岸安全步道贯通项目-施工图计算书.docx
- 农村公路村道安防工程设计说明.doc
- 食品产业园项目(一期)—道路基础设施建设工程(三期支路一期)项目--排水管道工程施工图设计说明.doc
- 河湾村大坳至田湾公路改建及安防工程 总体设计说明书.doc
- 临港一路K2+050.00-K2+220.00段右侧边坡治理工程设计说明.docx
文档评论(0)