1、 I 目目 录录 目 录. I 摘要 . II 前言 1 第一章 系统总体方案 . 2 第二章 系统设计 . 2 21 原理框图 . 2 22 工作原理 . 2 23 硬件设计 . 2 25 传感器 . 3 27 液位显示电路 . 4 28 AD 转换电路及控制输出 4 29 软件设计 . 5 291 键盘程序 5 292 转换子程序 6 总结 7 参考文献. 8 致 谢 9 II 摘要 随着微电子工业的迅速发展,压力传感器广泛应用于生活生产中,为了使学生对压 力传感器有较深的了解。 经过综合分析选择了由单片机控制的智能型液位控制器作为研 究项目,本文通过介绍一种基于压力传感器实现的液位控制器
2、的设计方法,该控制器以 单片机为核心,通过外围硬件电路来达到实现控制的目的。可根据需要设定液位控制高 度,同时具备报警、高度显示等功能,由于增加了气体压力传感器,使其具有与液面不 接触的特点,可用于有毒、腐蚀性液体液位的控制。 另外,液位控制在高层小区水塔水位控制,污水处理设备和有毒,腐蚀性液体液位 控制中也被广泛应用。通过对模型的设计可很好的延伸到具体应用案例中。 关键字:单片机,压力传感器。 Summary Along with the rapid development of the microelectronics industry, pressure sensor is widely
3、 applied in life, in order to make students in the production of pressure sensor is deeper understanding. Through comprehensive analysis of the choice of microcomputer intelligent level controller as research project, this paper introduces a kind of pressure sensor based on level controller design m
4、ethod, the controller based on singlechip, through the peripheral hardware circuit to realize the aim of control. According to need to set the level control, along with alarm, high altitude display function, due to the increased gas pressure sensor, which does not contact with liquid surface, poisonous, corrosive liquid level control. In addition, liquid level control in high-rise residential towers level control, sewage treatment equipment and poisonous, corrosive liquid level