资源预览内容
第1页 / 共50页
第2页 / 共50页
第3页 / 共50页
第4页 / 共50页
第5页 / 共50页
第6页 / 共50页
第7页 / 共50页
第8页 / 共50页
第9页 / 共50页
第10页 / 共50页
亲,该文档总共50页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
沈阳理工大学学士学位论文I摘摘 要要在当今社会,水塔水位控制系统在我们的各个行业中占有很重大的作用,在大型养殖场中为家畜提供饮用水,冲洗养殖圈;在工业生产中通过水塔控制系统来排放污水。然而传统的水塔控制系统存在很大的不足,需要工作人员时刻监控,需要的劳动力十分强大,而且还会带来很多不足,轻则给人们的生活带来很大的不便,重则出现造成很大的事故和经济损失。本次设计采用基于单片机水塔水位控制系统,为了使实际供水过程中要确保水位在允许的范围内浮动,应采用电压控制水位。首先通过实时检测测量水位变化,从而控制电动机,保证水位正常。因此,这里给出以 STC 公司的STC89C52 单片机为核心器件的水塔水位检测控制系统仿真设计,实现水位的检测控制、处理等功能,并在 Proteus 软件环境下实际仿真。系统程序语言是使用比较广泛的 C语言进行编写,结构清晰,达到的系统控制效果很好。实验结果表明,该系统具有良好的检测控制功能,可移植性和扩展性强。该基于单片机的水塔水位控制系统方便,降低工作人员的工作量提高了整体的效率。关键词关键词:水塔控制;单片机 STC89C52;Proteus 软件;C 语言沈阳理工大学学士学位论文IIAbstractIn todays society, the water tower water level control system plays very important role in our various industries, in large farms for livestock with drinking water, irrigation farming circles; in industrial production by water tower control system to discharge the sewage. However traditional water tower control system in the presence of a lot of problems and need to staff time monitoring and need of labor force is very strong, but also brings many problems, light to peoples life bring inconvenience, re appeared a lot of accidents and economic loss caused by. By the design of control system based on MCU for water tower water level, in order to make the actual process of water to ensure water level within the allowed range of floating, the voltage control level. Firstly, the water level is measured by real-time detection, so as to control the motor and ensure the normal water level. Therefore, given here to STC STC89C52 microcontroller as the core device of the water tower water level detection control system design and simulation, to achieve the detection of the water level control and treatment function and under the environment of the Proteus Software simulation. System programming language is the use of a wide range of C language, structure clarity, to achieve the system control effect is good. Experimental results show that the system has good detection control function, portability and scalability. The water level control system based on MCU is convenient, reduce staff workload and improve the overall efficiency.Key Words:Control tower ;Single chip STC89C52;Proteus Software;C Language 沈阳理工大学学士学位论文III目录目录1 引言引言.12 系统的整体方案设计系统的整体方案设计.22.1 功能要求.22.2 设计要求.22.3 系统基本方案选择.23 系统的硬件设计系统的硬件设计.33.1 主电路设计.33.2 MCU 主控芯片简介 .33.2.1 控制器芯片 STC89C52 概述.33.2.2 芯片下载程序.53.3 时钟电路的简单介绍.53.4 显示模块电路及方案的选择.73.5 电源方案的选择.73.6 水塔水位控制电路原理.73.7 系统功能电路 .83.7.1 最小工作系统原理.93.7.2 蜂鸣器报警电路原理.113.7.3 电机驱动电路原理.113.7.4 按键功能电路原理.124 系统软件设计系统软件设计.134.1 系统主要软件设计原理.134.2 编程语言介绍.134.2.1 C 语言简介.134.2.2 C 语言的特点.144.2.3 C 语言源程序的结构特点.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号