摘要:传统的水位控制在生产中一直占有主导地位,但随着生产线的更新,不仅要 求有更直观、准确、稳定的水位控制系统,同时还要求在降低生产设备的成本方面 要求更新自动化程度和性价比高的水位控制系统。单片机控制系统以其控制精度 高、性能稳定可靠、设置操作方便、造价低等特点被应用到水位系统的控制中。本 系统采用单片机 AT89C51 为控制核心来实现水位的基本控制功能。系统由键盘、数 码显示、A/D 转换、传感器、蜂鸣器、电源和控制部分组成。本文以单片机端口的 输出电平控制继电器的动作,实现电机的启动或者停止,从而达到自动控制水位的 目的。另外,系统可根据需要设定水位控制的高度,同时具备超限报警和故障报警 功能应水位的状态。70285
毕业论文关键字:AT89C51,A/D 转换,水位控制,数码显示,传感器,故障报警
Abstract : Traditional water level control in production has been dominant, but with updated production lines, not only requires a more intuitive, accurate and stable water level control system, but also demands in terms of reducing the cost of the production equipment update and cost-effective automation of water level control system. Single-chip microcomputer control system for its high control precision, stable and
reliable performance, convenient operation of the set, and low cost is applied to the water system control. The system adopts single chip microcomputer AT89C51 as the control core to realize water level's basic control function. System consists of A keyboard, digital display, A/D conversion, sensor, power source and control components. Based on the single chip microcomputer port output level control relay action, realize the motor start or stop, so as to achieve the goal of automatic control level. In addition, the system can according to need to set the height of the water level control, at the same time have overrun alarm and fault alarm function should be the state of the water level.
Keywords:AT89C51, the A/D conversion, water level control, digital display, sensors, fault alarm
目录
1 绪论 4
1.1 课题背景及研究意义分析
1.2 课题现状 4
1.3 课题研究的主要内容
2 系统的硬件设计 6
2. 1 单片机的选择与介绍 6
2. 1.1 功能特性描述 6
2. 1.2 引脚 6
2. 2 传感器模块 7
2. 3 水位显示电路设计 8
2. 4 复位电路设计 9
2. 5 外部晶振时钟电路设计 9
2. 6 自动报警电路设计 10
2. 7 继电器的选择 11
3 软件程序设计 11
3.1 系统主程序流程图 11
3.2 显示与 A/D 转换的数据处理 AT89C51单片机水位控制系统设计+电路图+程序:http://www.751com.cn/zidonghua/lunwen_79539.html