1、 基于单片机的恒温基于单片机的恒温控制器控制器的设计的设计 专 业 名专 业 名 称 :称 : 电气自动化电气自动化 学 生 姓 名 :学 生 姓 名 : 导 师 姓 名 :导 师 姓 名 : xx 大学机电工程系大学机电工程系 2012 年年 11 月月 I 摘要摘要 随着越来越多高新科技的推广与普及,温度测控已成为工业生产中的关键技 术之一。恒温控制主要是用来控制温度,它为农业研究、生物技术测试提供所需 要的各种环境模拟条件,因此恒温控制技术有着很广泛的用途。恒温控制系统其 关键技术为保持环境温度的恒定,本设计采用 ATMEL 公司的 AT89C52 单片机作 为控制核心,通过编程控制 L
2、ED 八段数码管完成对温度的显示,采用 DALLAS 公 司的 DS18B20 数字温度传感器来完成温度的采集,并和设定温度进行比较,根据 比较的结果来控制加热电阻和风机的动作与否,从而完成从 25到 99范围内的 恒温控制。 关键词关键词:恒温控制; AT89C52; DS18B20;LED 数码管 II Abstract As more and more promotion and popularization of high technology, temperature measurement and control in industrial production has becom
3、e one of the key. Temperature control is mainly used to control the temperature, it is for agricultural research, biotechnology testing to provide the required environmental simulation conditions, so temperature control technology has a very wide range of uses. Temperature control system to maintain
4、 its key technologies of constant ambient temperature, the design uses ATMEL Corporation AT89C52 microcontroller as the control core, eight out by programming the control LED digital temperature display to complete, using the companys DS18B20 DALLAS digital temperature sensor to complete the tempera
5、ture collection, and set the temperature and compare the results compared to control according to the heating resistor and the fan action or not, so as to achieve the purpose of controlling the temperature from 25 to 99. Keywords: temperature controller; AT89C52; DS18B20; LED digital tube 焦作大学机电系毕业设计 目录 III 目目 录录 第 1 章 引言 ( 1 ) 第 2 章 系统的基本构成及方案论证 ( 2 ) 21 系统的基本构成( 2 ) 22 方案的论证 ( 2 ) 221 控制核心的选择( 2 ) 222 温度采集装置的选择( 3 ) 223 显示模块的选择( 4 ) 224 加热模块及降温模块的选择( 4 ) 第 3 章 硬件电路设计( 7 ) 31 系统主要元器件简介