摘要:随着人们生活水平的提高和建立绿色城市的向往,音乐喷泉以其独特的魅力和特殊的功能,愈来愈成为休闲娱乐产业中的一项重要的产品,音乐喷泉的兴建也越来越多了。本文结合目前国内音乐喷泉的发展现状,即大型音乐喷泉技术发展成熟,而小型音乐喷泉仍处于起步状态。创新地把小型音乐喷泉引入家庭,设计出实惠的单片机控制系统,成功地把大型音乐喷泉小型化,把室外大型音乐喷泉搬到室内具有前瞻性的现实意义。而本系统成功地改用单片机程序及其控制电路调节潜水泵转速,降低了成本。
根据目前音乐喷泉的发展现状,本设计介绍一个以AT89S52单片机为核心,用C语言对其进行编程实现的小型音乐喷泉控制系统。设计出了一种控制简单,成本较低且易于推广使用小型音乐喷泉的控制系统。系统原理:用单片机根据音乐的强弱对电机的转速进行控制,以便控制喷泉水柱的高低。输入为音乐成正比的电压信号,输出为对水泵转速的控制量。给出了主程序框图和程序。从而使喷泉水姿随音乐节奏而变化。
关键词:音乐喷泉;单片机;控制系统
ABSTRACT:As people 's living standards improved and the establishment of the yearning of the green city , a musical fountain with its unique charm and special features increasingly becomes an important product in the entertainment industry , the construction of the musical fountain is also increasing . In this paper, the current development status of the domestic musical fountain is that large - scale musical fountain technology is mature , and small musical fountain is still in its initial state .Letting small musical fountain Innovatively into the family, to design a cost-effective single chip control system to the miniaturization of large-scale musical fountain , moving the large outdoor musical fountain to the indoor has practical significance and forward-looking . The system switched to the SCM process and control circuit to adjust the submersible pump speed to low cost .
Based on the current development status of the musical fountain , the design introduced a AT89S52 MCU as the core , using the C language programming to achieve a small musical fountain control system . Devised a small-scale musical fountain control system can be simplely controled, low cost and easy to promote the useness. The system works: the strength of the music with a microcontroller according to the motor speed control, in order to control the level of the fountain water column . Input music directly proportional to the voltage signal , the output is the amount of control of pump speed . The main program block diagram and procedures were given . So that the water fountain posture change with the rhythm of the music .
Key words: Musical Fountain; Microcontroller; SCM