基于AT89C51单片机的音乐喷泉控制系统设计毕业论文设计.doc
文本预览下载声明
小型音乐喷泉控制系统设计
摘 要
随着人们生活水平的提高和建立绿色城市的向往,音乐喷泉以其独特的魅力和特殊的功能,愈来愈成为休闲娱乐产业中的一项重要产品,音乐喷泉的兴建也越来越多。
根据目前音乐喷泉的发展现状,介绍了一个以AT89C51单片机为核心的小型音乐喷泉控制系统。给出了一个简洁的单片机控制电路,分析了输出地址,描述了不同类型的输出电路和输入电路;介绍了从特定构造的喷池中获得决定喷池动作的喷池数据的原理;给出了主程序框图和看门狗子程序。采用程序控制或人工按键控制电磁阀来控制花型。音频信号还影响灯光色彩和灯光光线明暗的变化。从而使灯光色彩、灯光的闪烁和喷泉水姿随音乐节奏而变化。
关键词:音乐喷泉;单片机;单片机控制;喷池数据;看门狗子程序
Small-scale musical fountain control system design
Abstract
With the improvement of peoples living standard and yearn for building green city, music fountain is more and more popular for its unique charm and special function large numbers of music fountain is increasingly built.
According to the present situation of music fountain now, control system of mini type music Fountain based on AT89C51 SCM was introduced.A succinct SCM control circuit was pre—to obtain data from a specific fountain pool .Was elaborated,which will affect actions of the p001.Finally, the structure drawing of main program and the watchdog program were put forwardThe flower shapes are controlled by program controlling or man-made keystroke controlling electromagnetic valves. The color、the light and shade of ray are changed by musical signals. So that the color、the light and shade of ray、the spring form is changed with music’s rhythm when music is played.Key Words: music fountain;SCM;SCM control;data of fountain pool;watchdog program摘 要 1
Abstract 2
1 绪 论 1
1.1引言 1
1.2小型音乐喷泉的发展现状 1
1.3本文主要研究内容 2
2 喷泉硬件设计 3
2.1鱼缸设计 3
2.2 造型方案设计 3
2.3花型及喷头的选择 3
2.4喷泉照明灯具的选择 6
2.5水泵和电机的选择 6
3 喷泉控制系统硬件设计 7
3.1 控制系统硬件总体设计方案 7
3.2单片机电路 7
3.3输出电路 9
3.4输入电路 9
3.5潜水泵调速硬件方案设计 10
3.6灯光硬件方案设计 10
3.7电磁阀硬件方案设计 11
3.8解决系统时间滞后硬件电路设计 12
4 喷泉控制系统软件设计 13
4.1喷池数据 13
4.2主程序框图 14
4.3 控制潜水泵软件设计模块 15
4.3.1 潜水泵开关调速的原理 15
4.3.2潜水泵开关调速的软件设计 16
4.4控制电磁阀软件设计模块 17
4.5 歌曲存储模块 18
4.5.1音频脉冲的产生 18
4.5.2音乐程序 19
4.6灯光控制模块 22
4.7看门狗子程序 23
4.8实验仿真 23
结 论 25
致 谢 26
参 考 文 献 27
1 绪 论
1.1引言
随着人们生活水平的提高,人们对环境的要求越来越高,城市环境建设日益为人们所重视。喷泉作为一种观赏性较高的艺术水景,不断的出现在城市的广场、公园及其它公共场所,早些的喷泉都是固定不可调的,显得有些单调,随着科技的发展音乐喷泉也进入了我们的城市。音乐喷泉是现代科技与艺术的综合,
显示全部