摘要:在我们的生活中,温度无时不在。温度的控制和应用在各个领域都有重要的作用。单片机控制操作方便灵活、结构简单、便于修改和维护,且具有一定的智能性,可以实现精准控制,提高了温控指标和产品的质量与性能。由于单片机技术的优点突出,智能化温度控制技术正被广泛地采用。本文介绍了基于单片机AT89C51 的温度控制系统的设计方案与软硬件实现。采用温度传感器DS18B20 采集温度数据,数码管显示温度数据,按键设置温度上下限,当温度低于设定的下限时,点亮绿色发光二极管,当温度高于设定的上限时,点亮红色发光二极管。给出了系统总体框架、程序流程图和Protel 原理图,并在硬件平台上实现了所设计功能。72588
毕业论文关键词: 单片机,温度控制系统,温度传感器
Abstract: In daily life, the temperature in our side the ever-present, the control of the temperature and the application in various fields all have important role。 Many industry there are a large number of electric heating equipment, and the temperature control equipment, such as used for alarm automatic temperature alarm systems, heat treatment furnace, used to melt metal crucible resistance furnace, and all kinds of different USES of temperature box and so on, these using single chip microcomputer, using single chip computer language program to control them。 And single-chip microcomputer technology has control and convenient in operation, easy to modify and maintenance of simple structure, flexibility is large and has some of the intelligence and other characteristics, we can accurately control technology standard to improve the temperature control index, also greatly improve the quality of the products and performance。 Because of the advantages of the single chip microcomputer intelligent temperature control technology outstanding, is being widely adopted。 This paper introduces the temperature control based on single chip microcomputer AT89C51 design scheme of the system and the hardware and software implementation。 The temperature sensor DS18B20 collection temperature data, 7 period of digital pipe display, the upper and lower limits of temperature button when temperature below the setting of the lower limit, light green leds, when the temperature is higher than the set on the limit, light red leds。 Given the system framework and program flow chart and principle chart, and in Protel hardware platform to realize the function of the design。
Keywords: Singlechip , Temperature control system ,Temperature sensors
目 录
1 前言 4
1。1 温度控制系统的历史与发展 4
1。2 温度控制系统的实际意义 4
1。3设计内容及性能指标 4
2 基本设计方案 5
3 设计思路 6
3。1 主控制器模块 6
3。 2 温度测量 6
3。 3 设置温度 7
3。 4 显示模块 7
4 硬件实现及单元电路设计 8
4。1 主控制模块 8
4。2 显示模块电路 10
4。3数码管显示驱动电路 11
4。4温度传感器(DS18B20)电路 11
4。5 蜂鸣器报警电路 17
4。6 温度控制电路