{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的音乐喷泉控制系统设计

来源:56doc.com  资料编号:5D21450 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D21450
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

基于单片机的音乐喷泉控制系统设计(任务书,开题报告,外文翻译,论文11000字)
摘   要
伴随着人们生活水平的提高,生态化城市成为人们对未来的向往。音乐喷泉因其独特的魅力和特殊的功能,一直是休闲娱乐场所中倍受欢迎的设备,人们对它的建造也愈来愈多。传统音乐喷泉通常是大型设备,占地、功耗、用水、维护等都将消耗大量的资源。本设计设计的是家用迷你型音乐喷泉,结构简单、大小适中。设计采用STC89C52作为主控芯片,由外接设备输入电子信号,经由功放芯片放大处理后使用扬声器进行播放,同时,由ADC芯片将放大后的模拟信号进行模数转换处理。通过单片机对信号振幅高低分析,输出控制信号,来控制八盏彩灯亮灭状态与电机转速。振幅愈高,彩灯亮的个数愈多,喷泉水柱愈高。彩灯的明亮程度和喷泉水柱的高低将随音乐旋律而变化,形成音乐喷泉的简单模拟。经过方案分析和实验设计,本设计完成的音乐喷泉,其功能上满足对家用型音乐喷泉结构简单、耗能低、轻便、性能稳定等要求。
关键词:音乐喷泉  单片机  ADC0832  PWM
 
Design of music fountain control system based on single chip microcomputer
Abstract
With the improvement of people's living standards, ecological city has become the people's longing for the future. Because of its unique charm and special function, musical fountain has been a popular equipment in leisure and entertainment places, and more and more people build it. The fountain of traditional music is usually large equipment, and it will consume a great deal of resources, such as occupation, power consumption, water use and maintenance. The design is a mini type music fountain, which is simple in structure and moderate in size. The design adopts STC89C52 as the main control chip, the input signal received by electronic equipment, the power amplifier chip amplified using the speaker to play, at the same time, by ADC chip analog signal amplified analog digital conversion. Through the analysis of the amplitude of the signal and the output of the control signal, the eight lights can be controlled by the brightness and the speed of the motor. The higher the amplitude, the more lights are lit, and the higher the water column. The brightness of the colored lantern and the height of the water column of the fountain will change with the melody of the music, and a simple simulation of the musical fountain can be formed. Through the analysis of scheme and design of experiment, the musical fountain completed by this design can satisfy the demand of simple structure, low energy consumption, portability and stable performance for domestic musical fountain.
Key Words:  Music Fountain;Singlechip;ADC0832;PWM
 

基于单片机的音乐喷泉控制系统设计


目  录
摘   要    I
ABSTRACT    II
第一章 引 言    1
1.1 设计简介    1
1.2 设计内容    1
1.2.1 设计背景    2
1.2.2 芯片选型    2
1.2.3 硬件设计    2
1.2.4 软件设计    2
1.2.5 电路调试与测试    2
1.3 论文结构    2
第二章 方案论证    4
2.1 电路设计选择    4
2.2音频输入模块选择    5
2.3 喷泉喷水电机选择    5
第三章 硬件设计    7
3.1 系统原理框图设计    7
3.2 系统主要元器件介绍    7
3.2.1 主控芯片STC89C52    7
3.2.2 ADC0832 A/D转换芯片    9
3.2.3 LM386功放芯片    9
3.3 系统模块电路设计    10
3.3.1 单片机最小系统    11
3.3.2 电源输入模块    13
3.3.3 信号输入与输出模块    13
3.3.4 模数转换模块    14
3.3.5 喷泉电机模块    14
3.3.6 LED灯光显示模块    15
3.4 硬件设计小结    16
第四章 软件设计    20
4.1 主程序算法流程分析    20
4.2 ADC0832的模数转换流程    20
4.3 子程序算法流程分析    22
4.4 软件设计小结    23
第五章 系统调试    24
5.1 Proteus及Keil的软件介绍和使用    24
5.1.1 Proteus软件    24
5.1.2 Keil简介    24
5.2 软件调试    25
5.4 硬件调试    26
5.4.1 硬件电路板介绍    26
5.4.2 硬件运行图    28
总  结    29
参考文献    30
致   谢    31

推荐资料