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

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

毕业设计报告题目基于AT89C51单片机的音乐喷泉控制系统设计系别电子工程学院专业微电子液晶显示班级1101学生姓名闻佳学号100110227指导教师钱香2012年4月无锡科技职业学院毕业设计(论文)基于AT89C51单片机的音乐喷泉控制系统设计1基于AT89C51单片机的音乐喷泉控制系统设计摘要:随着人们生活水平的提高和建立绿色城市的向往,音乐喷泉以其独特的魅力和特殊的功能,愈来愈成为休闲娱乐产业中的一项重要产品,音乐喷泉的兴建也越来越多。根据目前音乐喷泉的发展现状,介绍了一个以AT89C51单片机为核心的小型音乐喷泉控制系统。给出了一个简洁的单片机控制电路,分析了输出地址,描述了不同类型的输出电路和输入电路;介绍了从特定构造的喷池中获得决定喷池动作的喷池数据的原理;给出了主程序框图和看门狗子程序。采用程序控制来控制花型。音频信号还影响灯光色彩和灯光光线明暗的变化。从而使灯光色彩、灯光的闪烁和喷泉水姿随音乐节奏而变化。关键词:音乐喷泉;单片机;单片机控制;喷池数据无锡科技职业学院毕业设计(论文)基于AT89C51单片机的音乐喷泉控制系统设计2ControlsystemofminitypemusicFountainbasedonAT89C51SCMABSTRACT:Withtheimprovementofpeople'slivingstandardandyearnforbuildinggreencity,musicfountainismoreandmorepopularforitsuniquecharmandspecialfunctionlargenumbersofmusicfountainisincreasinglybuilt.Accordingtothepresentsituationofmusicfountainnow,controlsystemofminitypemusicFountainbasedonAT89C51SCMwasintroduced.AsuccinctSCMcontrolcircuitwaspre—toobtaindatafromaspecificfountainpool.Waselaborated,whichwillaffectactionsofthep001.Finally,thestructuredrawingofmainprogramandthewatchdogprogramwereputforward.Theflowershapesarecontrolledbyprogramcontrollingorman-madekeystrokecontrollingelectromagneticvalves.Thecolor、thelightandshadeofrayarechangedbymusicalsignals.Sothatthecolor、thelightandshadeofray、thespringformischangedwithmusic’srhythmwhenmusicisplayed.KeyWords:musicfountain;SCM;SCMcontrol;watchdogprogram无锡科技职业学院毕业设计(论文)基于AT89C51单片机的音乐喷泉控制系统设计3目录第1章绪论................................................................................................................51.1课题背景...........................................................................................................51.2音乐喷泉的发展和现状..................................................................................5第2章音乐喷泉控制系统硬件设计..........................................................................72.1控制系统硬件总体设计方案..........................................................................72.2音乐信号的采集...............................................................................................72.2.1音频放大电路的设计............................................................................72.2.2采样定理................................................................................................92.3单片机电路....................................................................................................102.3.1单片机的概述......................................................................................112.3.2时钟电路的设计..................................................................................122.4AD转换电路..................................................................................................122.4.1ADC0809与单片机89C51的连接.....................................................132.4.2输入电路...............................................................................................142.5潜水泵调速硬件方案设计.............................................................................142.6灯光硬件方案设计.........................................................................................152.7解决系统时间滞后硬件电路设计.................................................................16第3章喷泉控制系统软件设计..............................................................................183.1喷池数据.........................................................................................................183.2主程序框图.....................................................................................................193.3控制潜水泵软件设计模块............................................................................193.3.1潜水泵开关调速的原理......................................................................203.3.2潜水泵开关调速的软件设计...............................................................213.4控制电磁阀软件设计模块.............................................................................223.5歌曲存储模块................................................................................................233.5.1音频脉冲的产生...................................................................................233.5.2音乐程序...............................................................................................243.6灯光控制模块.................................................................................................27无锡科技职业学院毕业设计(论文)基于AT89C51单片机的音乐喷泉控制系统设计43.7看门狗子程序.................................................................................................283.8实验仿真.........................................................................................................28结论............................................................................................................................31致谢............................................................................................................................32参考文献......................................................................................................................33附录............................................................................................................................34附录1.................................................................

1 / 36
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功