基于单片机的多点温度检测量系统.doc
文本预览下载声明
河西学院
本科生毕业设计
中文题目: 基于单片机的多点温度系统
英文题目: ased on the microprocessor multipoint temperature measurement
学 号:
姓 名:
年 级:
专 业: 电子信息科学与技术
系 别:
指导教师:
摘 要
通过运用DS18B20数字温度传感器的测温原理和特性,本文介绍基于AT89C51单片机、C语言和DS18B20传感器的多点温度测量系统设计及其在Proteus平台下的仿真。利用51单片机的并行口,同步快速读取8支DS18B20温度,实现了在多点温度测量系统中对多个传感器的快速精确识别和处理,并给出了具体的编程实例和仿真结果。
关键词:单片机;DS18B20数字温度传感器;Proteus仿真;C51编程Abstract
With using the measuring principle and characteristics of the numerical temperature sensor of DS18B20,making use of special characteristics of single line as the total line, and combine together with AT89C51 to realize several points temperature measuring. Also this paper gives the example of the C51 program which is used to operate to the DS18B20. Make system have characteristics of simple, high accuracy, strong anti- interference ability, stable work etc.
This design introduced AT89C51 monolithic integrated circuit temperature control system design from the hardware and the software two aspects. A multipoint temperature measurement system based on DS18B20 and AT89C51 microcontroller is designed and simulated by Proteus in this paper, including software and hardware design of this system. The system has such advantages as novel circuit design, quick measurement speed, high measurement accuracy, and good practicality.
Key words: SCM;DS18B20;Proteus simulation;C51 program
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1温度智能测控系统的研究背景与现状分析 1
1.2温度智能测控系统的工作原理 2
第二章 单片机简介 3
2.1单片机的定义 3
2.2单片机的基本结构 4
2.3单片机执行指令的过程 5
2.4单片机的特点 6
第三章 数字温度传感器DS18B20原理 7
3.1概述 7
3.2主要特征 7
3.3引脚功能 8
3.4工作原理及应用 8
3.5单片机对DS18B20的操作流程 8
3.6 DS18B20与单片机的接口 9
3.7 DS18B20芯片ROM指令表 9
3.8 DS18B20芯片存储器操作指令表 10
3.9 DS18B20复位及应答关系及读写隙 11
第四章 系统硬件设计 12
4.1系统结构设计思路 12
4.2系统框图 13
4.3系统硬件设计 13
第五章 系统软件设计 16
5.1 系统软件设计思路 16
5.2系统软件设计 21
第六章 系统运行结果 27
第七章 结束语 31
参考文献 32
致 谢 33
第一章 绪论
1
显示全部