文档介绍:摘要
随着社会的发展,自动控制越来越受到人们的关注,温度的控制系统也成为人们备受关注的焦点之一。单片机的广泛应用已经成为高新科学技术的重要内容和标志之一,它在国民经济中的各个领域正在发挥着引人注目的作用。本文利用单片机技术和传感器技术设计了一种实时温度监控系统。
本次设计的温度控制器的主控器是ATMEL公司生产的AT89S51。传感器是使用较为广泛的数字温度传感器DS18B20,它具有独特的单线接口方式,与微处理器连接时仅需要一条线即可实现微处理器与DS18B20的双向通信,通过键盘设置温度上下限,用LED数码管显示实时温度,另外使用蜂鸣器进行超温时的警报。
本文对系统的总体设计方案与论证、硬件系统的设计、软件系统的设计等模块做出了详尽的说明。
关键词:AT89S51;DS18B20;温度控制系统;Proteus;Keil
Abstract
With the development of society,the automatic control is being paid more and more attention ,the temperature control system has also e a focus of MCU application of new and high science and technology has e the important content and one of marks, which in all areas of the national economy is playing the role of attract people's this paper,the MCU technology and the sensor technology is used to design a real-time temperature monitoring system
The temperature controller of the master of this design is the AT89S51, which is produced by the sensor is widely used in the digital temperature sensor DS18B20, which has a unique single interface is connected with the microprocessor, only needs one line can realize microprocessor with DS18B20 munication, through the keyboard to set the temperature of upper and lower limits, with LED digital tube display the real-time addition to using the buzzer for super high temperature alarm
The system’s overall design and demonstration of hardware systems design,software system design module to make a detailed explanation.
Keywords: AT89S51;DS18B20;temperature control system;Proteus;Keil
目录
1 绪论 1
课题研究的背景及意义 1
国内外的发展状况 2
课题内容安排 3
2 仿真软件的介绍 4
Proteus软件 4
proteus软件简介 4
Proteus ISIS工作环境 5
Proteus的基本操作 6
Proteus简单应用 6
Keil软件 7
Keil软件简介 7
Keil uVision4 工作环境 8
Keil工程的创建 8
3 系统总体方案的设计 10
系统方案的设计 10
系统方案的论证 10
单片机的选型 10
传感器的选型 12
键盘的选型 14
4 系统硬件模块的设计 16
单片机AT89S51电路的设计 16
单片机系统的组成 16
单片机的引脚功