摘 要
在控制装置领域中,温度检测和控制是非常重要的。温度测量控制装置在工业和农业生产,科学研究和人们的生活,已被广泛使用。因此,温度传感器应用在第一批各种传感器中。目前,该温度传感器从模拟到数字集成化方向快速发展。本文概述了温度控制器的发展和基本原理,介绍了其原理和特点,在充分分析了各种温度传感器的优点和缺点的基础上,设计了温度采集的部分电路,并讨论了温度测量系统的一些主要参数。同时,在温度控制装置功能的基础上,提出了系统的总体构成。对温度采集,接收,处理,显示的整体设计方案进行论证,进一步介绍了单片机在系统中的应用,分析了系统各部分的硬件和软件。本文介绍了89C52单片机为核心的2kw多功能空调温度控制装置。2kw多功能空调温度控制装置的设计原理,是由单片机完成数据采集,处理,显示。该系统在正常条件下对温度值进行测量,确定是否满足设定要求,利用单片机控制2kw多功能空调指令系统从而达到所需温度。
关键词:单片机控制 DS18B20传感器度 LED显示器
Abstract
In the control device field, temperature detection and control is very important. temperature measurement and control device in industrial and agricultural production, scientific research and people's life, has been widely used. Therefore, the temperature sensor used in the first batch of sensors. At present, the rapid development of the direction of the temperature sensor from analog to digital integration. This paper outlines the development of temperature controller and the basic principle, introduces the principle and characteristic, in the full analysis of the advantages and disadvantages of various temperature sensors on the part of the circuit design, the temperature of the collection, and discusses some main parameters of the temperature measuring system. At the same time, based on the temperature control device function, the overall composition of the system. The temperature acquisition, receiving, processing, demonstrates the overall design scheme of display, further introduces the application of Microcomputer in the system, analysis of the various parts of the system hardware and software. This paper introduces the 89C52 microcontroller as the core control device of air temperature. Air temperature control device design principle, is composed of a single chip computer to complete the data acquisition, processing, display. The system under normal conditions of temperature measurement, determine whether meet the set requirements, the use of microcomputer control of air conditioning system so as to achieve the desired temperature instruction.
Keywords: SCM control DS18B20 sensor of LED display
目 录
摘 要 1
Abstract 2
1 前言 3
2 系统方案的确定 4
2.1 温度传感器产品分类与选择 4
2.1.1 常用的测温方法 5
2.1.2 温度传感器产品分类 5
2.1.3 温度传感器的选择 6
2.2 总体方案的确定 8
3 系统电路总体设计 8
3.1 系统工作原理 8
3.2 系统硬件设计 9
3.2.1 温度采集电路 9
3.2.2 信号处理与控制电路 10
3.2.3 温度显示电路 12
3.2.5 控制指示电路 16
3.3系统软件设计 16
3.3.1 DS18B20数据通信 16
3.3.2 系统流程图设计 19
结 论 23
致 谢 24
参考文献 25
附录1: 26
附录2程序 27