作者:王选诚,苏凤,孙玉梅,尹德汇
单位:烟台南山学院,山东烟台 265713
中图分类号:TP273
文献标识码:B
文章编号:1006-883X(2016)03-0039-04
收稿日期:2015-11-30
摘要:设计了一种音乐喷泉控制系统。通过采集电路采集音频信号,经过A/D转换器将采集到的模拟信号转换成数字信号,利用AT89C51单片机的输出来控制可控硅交流调压电路的控制信号,从而控制水泵的转速。水的喷射形状和灯光变化由电磁阀控制,而电磁阀则通过系统程序来控制。水流随着音乐节奏不断变化,加上灯光的渲染,格外迷人。
关键词:A/D转换器;音乐喷泉;单片机
Design of a control system based on AT89C51 microcontroller for music fountain
WANG Xuan-cheng, SU Feng, SUN Yu-mei YIN De-hui
Yantai Nanshan University, Yantai 265713, China
Abstract: A musical fountain control system is designed in this paper. The system gets the audio signals through the signal acquisition circuit, converts the analog signals into digital signals through the A/D converter. AT89C51 microcontroller controls the control signals of thyristor AC voltage regulation circuit to make the speed of the pump under control. The erupting patterns of water and light change are adjusted by magnetic valve which is controlled by software program. Changing with the music rhythm continuously, coupled with the lamplight rendering, water flow is attractive particularly.
Keywords: A/D converter; musical fountain; single chip microcomputer (SCM)
阅读全文
备注:2016年 第22卷 第03期