下载后可任意编辑毕 业 设 计(论 文) 题目 基于单片机音乐彩灯控制器的设计 系部 电子信息工程系 专业 电子信息工程 姓名 学号 指导老师 2024 年 3 月 31 日 1下载后可任意编辑基于单片机的音乐彩灯控制器设计[摘要] 本设计是一种基于 AT89C51 单片机音乐控制彩灯的方案,实现单片机演奏音乐,并且对 LED 彩灯随音符频率的不同而闪耀发光。 本方案以 AT89C51 单片 机作为主控核心,通过三极管放大电流使用 蜂鸣器播放音乐, 利用 编程实现亮灯循环模式, 在有 8 个 LED 彩灯, 根据用 户 需求可以编写若干种亮灯模式. 例如左右闪耀, 隔几个亮灭, 蜂鸣器可以根据用 户 需求改写编程播放各种音乐。 本方案具有设计简单、 体积小、元器件少、 电路结构简单等优点。 该设计方案设计及其简单, 典型的 AT89C51 单片 机, 亮灯模式多 , 播放各种类型的音乐, 具有体积小、 价格低、 低能耗等优点。在漂亮的都市夜晚,彩灯的循环亮灭,播放动人的音乐,衬托出漂亮的氛围。 [关键词] AT89C51 LED 彩灯 音乐 2下载后可任意编辑Music lights controller design based on SCM[Abstract] this design is based on the AT89C51 microcontroller music programme control lights, single-chip computer to play music and to note the frequency of the LED lights but without flashing. The programme with AT89C51 microcontroller as the main control core, by transistor amplifier current using a buzzer to play music, using programmed light cycle mode 8 LED lights, can prepare several kinds of lighting patterns according to user needs. For example about Flash, a few on or off, the buzzer can be based on user demand overwrite the programmed play all kinds of music. The programme has a simple design, small size, less components and advantages of simple circuits. The scheme design and simple, typical AT89C51 microcontroller, lighting models, play various types of music, has the advantages of small size, low price and low energy consumption. In the beautiful city of night li...