毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C52单片机游泳池水温水位监测系统设计+程序

时间:2021-11-01 19:32来源:毕业论文
以STC89C52单片机为控制核心,通过温度传感器DS18B20和水位传感器采集温度和水位信号,并经过相应信号调理电路处理后传送给单片机,通过单片机对温度和水位信号进行监测

摘 要:温度和水位控制不仅在工业领域应用广泛,其作用也体现在生活的方方面面。本文以游泳池水温水位为研究对象设计了一个监测系统,本系统以STC89C52单片机为控制核心,通过温度传感器DS18B20和水位传感器采集温度和水位信号,并经过相应信号调理电路处理后传送给单片机,通过单片机对温度和水位信号进行监测。本设计能够实现对温度和水位的监测,同时能对水量进行加减控制,通过LCD1602液晶显示屏实时显示温度。本系统具有结构简单、使用灵活等特点,可广泛使用于水温水位监测的领域。 73575

毕业论文关键词:STC89C52单片机,温度,水位,监测

Abstract: The water level and temperature control is not only widely used in the industrial field, which is also reflected in all aspects of life。 This paper designs a monitoring system for the temperature and water level of the swimming pool as the research object, the system uses STC89C52 microcontroller as control core, through the temperature sensor DS18B20 and water level sensor collects the signal of temperature and water level, and after the corresponding signal conditioning circuit transmitted to the microcontroller, through the microcontroller to monitor the temperature and water level signal。 This design can realize the monitoring of temperature and water level, and can control the water through the addition and subtraction, LCD1602 LCD display real-time temperature display。 This system has the advantages of simple structure, flexible to use, can be widely used in water level monitoring field。

Key words: STC89C52microcontroller, temperature, water level, monitor

目   录

1 引言 4

2 系统功能介绍 5

2。1 系统介绍 5

2。2 系统总体方案的选择 5

3  硬件电路设计 6

3。1 主控电路设计 6

3。1。1 单片机STC89C52 6

3。1。2 时钟电路设计 8

3。1。3 复位电路设计 9

3。2 温度检测电路设计 10

3。2。1 温度传感器 10

3。2。2温度传感器接口电路设计 12

3。2。3 温度控制电路设计 13

3。3 水位检测电路设计 13

3。3。1 水位传感器的选择 13

3。3。2水位控制电路设计 14

3。4 LCD1602液晶显示电路设计 16

4 系统软件设计 18

4。1 程序结构说明 18

4。2 程序设计 18

4。2。1 主程序设计 18

4。2。2 温度监测程序设计 19

4。2。3 水位控制程序设计 20

4。2。4 LCD1602液晶屏 21

5 仿真调试 22

5。1 Keil编程 22

5。2实物模型 24

结  论 25

参考文献 STC89C52单片机游泳池水温水位监测系统设计+程序:http://www.youerw.com/zidonghua/lunwen_83963.html

------分隔线----------------------------
推荐内容