文档介绍:目录
中文摘要 II
英文摘要 III
1 绪论 1
课题来源 1
课题研究的目的意义 1<br 2
课题研究内容 4
2 系统方案设计 5
基于模拟温度传感器设计方案 5
基于数字温度传感器设计方案 6
方案论证 7
3 电路设计 8
8
DS18B20与单片机接口技术 9
键盘电路设计 16
17
报警电路设计 18
电源电路设计 19
4 程序设计 20
系统资源分配 20
系统流程设计 20
程序设计 26
5 系统仿真 36
PROTEUS仿真环境介绍 36
原理图绘制 37
程序加载 37
系统仿真 38
仿真结果分析 40
6 PCB板设计 41
PCB板设计 41
PCB板制作 44
总结 47
参考文献 48
附录系统电路图、程序与元件清单 49
致谢 55
摘要
本设计系统地介绍了基于DS18B20的多点温度测量系统的组成、设计方案、电路原理、程序设计以及系统仿真过程。DS18B20多点温度测量系统是以AT89C51单片机作为控制核心,智能温度传感DS18B20为控制对象,运用C语言编程实现系统的各种功能。该系统由单片机最小系统、传感器电路、报警电路、LCD显示电路、行列式键盘电路、电源电路六大部分组成。借助PROTEUS软件,实现了系统电路设计和仿真。它适用于电力工业、煤矿、森林、火灾、高层建筑等场所,还可以用于环境恶劣的工业控制现场。通过DS18B20的单总线技术,实现对远程环境的温度测量与监控。
关键词:DS18B20、仿真、测量系统、PROTEUS、单片机
Abstract
This system introduced on the DS18B20 multi-point temperature measurement ponents, design, circuit theory, program design and product development process. DS18B20 multi-point temperature measurement system is the core AT89C51 SCM as a control, smart temperature sensing DS18B20 targets for the control, use of C-language programming system functions. The system is the smallest MCU system, sensor circuit, alarm circuits, LCD display circuit, the five major determinant keyboard circuit ponents. With PROTEUS software, and the system design and simulation, and the eventual adoption of hardware verification. It applies to the power industry, coal, forest, fire, high-rise buildings and other places can also be bad for the environment of industrial control at the scene. DS18B20 through a single bus technology, to achieve the long-range environmental temperature measurement and monitoring.
Key words: DS18B20、 simulation、 measurement system、PROTEUS、MCU
1 绪论
课题来源
温度是一个和人们生活环境有着密切关系的物理量,也是一种在生产、科研、生活中需要测量和控制的重要物理量,是国际单位制七个基本量之一,同时它也是一种最基本的环境参数。人民的生活与环境温度息息相关,物理、化学、生物等学科都离不开温度。在工业生产和实验研究中,在电力、化工、石油、冶金、机械制造、大型仓储室、实验室、农场塑料大棚甚至人们的居室里经常需要对环境温度进行检测,并根据实际的要求对环境温度进行控制。比如,发电厂锅炉的温度必须控制在