1、 单片机原理及系统课程设计单片机原理及系统课程设计 水水 塔塔 水水 位位 控控 制制 2013 2013 年年 6 6 月月 15 15 日日 摘要摘要 液位是许多工业生产中的重要参数之一,在化工、冶金、医药、航空等领域里, 对液位的测量和控制效果直接影响到产品的质量。 本文介绍一种基于单片机实现 的液位控制器的设计方法,该控制器以单片机为核心,通过外围硬件电路来达到 实现控制的目的。由于单片微型计算机具有体积小,耗电少,控制精度高,运行 可靠等的特点,所以广泛应用于生产实际中。本文介绍了水位控制系统工作的基 本原理。阐述了一种基于单片机的通用水位控制系统的基本组成,并提出了该系 统模块化的
2、硬件和软件设计方法, 本文设计了一种以 AT89C2051 为核心研制的液 位控制系统,该系统不仅能对液位进行巡回检测、显示和报警,同时也能对液位 进行智能控制。单片机技术是信息时代用于精密测量的一种新技术。此系统使用 过程中采用稳压电路能够准确地把输入的电平送给单片机不会产生误判的情况, 由于 AT89C2051 单片机有四端口,20 引脚能够非常方便地设计显示系统。 关键词关键词: 传感器 单片机 程序设计 外围硬件电路 Abstract Many industrial production level is one of the important parameters in chemi
3、cal industry, metallurgy, medicine, aviation, etc, the level measurement and control effect directly affect the quality of the products. This paper introduces a level controller based on microcomputer design method, the controller based on singlechip, through the peripheral hardware circuit to achie
4、ve the purpose of achieving control. Because of the single chip computer has small, less consumption, high control accuracy, reliable operation characteristics, so is widely used in production practice. This paper introduces the water level control system is the basic principle of work. This article
5、 expounds a kind of based on SCM general water level control system, and puts forward the basic composition of this system modular hardware and software design method, this paper introduces a design for the core developed by AT89C2051 level control system, this system not only can level Tours of ins
6、pection, display and alarm, also can the level of intelligent control. Information age microcontroller technology is used for precision measurements of a kind of new technology. This system used in use process voltage circuit can accurately put input level to microcontroller wont produce misjudgment, because there are four ports, single-chip microcomputer AT89C2051 20 pins can very easily design display system. Keywords: sensor microcontroller program design peripheral hardware ci