基于单片机温度控制系统的设计
学生:
指导教师:
摘要:随着社会的发展,温度的测量及控制变得越来越重要,温度是生产过程和科学实验中普遍而且重要的物理参数。本文利用单片机结合传感器技术而开发设计了这一温度监控系统。本文详细地讲述了基于单片机AT89S51和温度传感器DS18B20的温度控制系统的设计方案与软硬件实现方案。系统采用数字温度传感器DS18B20采集温度数据,数码管同步显示温度设定值和当前测量值,可通过按键以1℃的步进改变温度设定值,系统复位后默认设定温度值为45℃。当温度低于设定值时,单片机控制继电器启动加热器加热,同时点亮红色发光二极管,当温度高于设定值时,加热器停止加热,从而实现了测量和控制温度的目的。系统稍微改装可以作为生物培养液温度监控系统,可以做热水器温度调节系统、实验室温度监控系统等等。系统具有控制方便、组态简单和灵活性大等优点,经过反复测试,系统能够稳定运行。
关键词:单片机温度控制传感器数码管
Design of Temperature Control System Based on Single Chip Microcontroller
Undergraduate:
Supervisor:
Abstract: With the development of the society,the control of temperature e more and more important. Temperature is a important physical parameters in production process and scientific design and implementation of temperature control system based on single chipmicrocontroller AT89C51 and DS18B20 are introduced in this paper. Temperature data are collected by DS18B20, Temperature settings and current measurements are displayed by digital tube; the temperature settings can be change By the key-presses with 1℃ step. The default temperature value is 45 ℃. When the temperature is under the settings, the heater starts with the red-LED on,oppositely, the heater stopped heating when the temperature is higher than the set system is control convenient, simple, flexibility. After repeated testing, the system can operate stably.
Key words: Single chip microcontroller, Temperature control,sensor,LED
目录
引言 1
2
2
2
2
3
3
3
3
3
3
6
7
8
8
10
11
11
11
12
12
13
14
15
15
15
15
结论 16
参考文献 17
致谢 18
附录 19
附录1 系统总原理图 19
附录2 系统PCB图 20
附录3 源程序清单 21
引言
在工业生产中,电流、电压、温度、压力、流量、流速和开关量都是常用的主要被控参数。其中,温度控制也越来越重要。在工业生产的很多领域中,人们都需要对各类加热炉、热处理炉、反应炉和锅炉中的温度进行检测和控制。采用单片机对温度进行控制
基于单片机温度控制系统 来自淘豆网m.daumloan.com转载请标明出处.