基于单片机的智能流量计设计
关键词:单片机;DS18B20;AT89C51;温度传感器;水流量传感器;流量检测
I
The Design of Flow Detection System Based on MCU
Abstract: Flow-meter has been widely used on modern agriculture and water conservancy
Keyword: microprocessor;DS18B20;AT89C51;Temperature sensor;Water
flow
sensor;Flow Detecting
II
目录
摘要.............................................................................................................................................I Abstract.................................................................................................................................. II 目 录.................................................................................................................................... III 1 绪论........................................................................................................................................ 1 1.1 选题的意义与背景.............................................................................................................1 1.2 国内外研究现状及发展趋势.............................................................................................1 1.3 总体设计.............................................................................................................................2 2 系统硬件电路的设计............................................................................................................ 4 2.1 AT89C51 单片机的特性介绍..............................................................................................4 2.2 时钟电路.............................................................................................................................7 2.3 复位电路.............................................................................................................................8 2.4 液晶显示电路......................................................................................................................9 2.4.1 液晶显示简介..................................................................................................................9 2.5 温度测量电路....................................................................................................................11 2.6 水流量测量电路................................................................................................................13 2.7 按键控制电路....................................................................................................................14 3 软件系统的设计.................................................................................................................. 15 3.1 软件设计总流程...............................................................................................................15 3.2 温度程序模块...................................................................................................................16 3.3 水流量程序模块................................................................................................................18 3.3.1 水流量的读取程序........................................................................................................18 3.3.2 水流量数据的处理程序................................................................................................19 3.4 显示程序............................................................................................................................20 3.4.1 显示程序的处理流程....................................................................................................20 4 系统的仿真与调试.............................................................................................................. 21 4.1 keil uvision4 软件........................................................................................................21 4.2 proteus 电路仿真............................................................................................................22 4.2.1 proteus 软件介绍........................................................................................................22
parameters of the process control.Through these parameters ,the production process are
monitoring and controlled.The accurate measurement and adjustment for fluid flow are is to
guarantee the safe and economic operation, improve product quality and reduce the material
consumption, to improve the economic benefit, and the scientific management foundation in
作者签名:
日期:
使用授权声明
本人完全了解中北大学信息商务学院有关保管、使用毕业设计说明书/毕业论文的规 定,其中包括:①学院有权保管、并向有关部门送交毕业设计说明书/毕业论文的原件 与复印件;②学院可以采用影印、缩印或其它复制手段复制并保存毕业设计说明书/毕 业论文;③学院可允许毕业设计说明书/毕业论文被查阅或借阅;④学院可以学术交流 为目的,复制赠送和交换毕业设计说明书/毕业论文;⑤学院可以公布毕业设计说明书/ 毕业论文的全部或部分内容。