基于MCS-51系列单片机的温度采集系统设计 目录 摘要 1 Abstract 2 前言 3 第一章单片机概述及发展趋势 5 单片机概述 6 单片机发展趋势 6 第二章方案设计与论证 7 8 9 第三章系统硬件设计 9 工作原理 10 单元电路设计 11 DS18B20与单片机接口电路设计 11 21 23 报警电路设计 23 24 24 第四章系统软件设计 25 软件设计总体思路及主程序流程图 26 测温模块流程图 26 温度的采集 28 多点温度的测量 28 30 30 总结 32 致谢 33 参考文献 34 附图 35 附图1 系统原理图 35 附图2 PROTEUS仿真图 36 附图3 PCB电路板图 37 摘要 本课题主要介绍的是基于89S51单片机和DS18B20数字温度传感器的多点温度测量系统。该系统利用89S51单片机分别采集各个温度点的温度,实现温度显示、报警等功能。它以89S51单片机为主控制芯片,采用数字温度传感器DS18B20实现多路温度的检测,℃。该系统采用4位LED数码管作为显示器,形象直观的显示测出的温度值。本文首先在前言中介绍了此系统的背景以及功能。第二章确定设计方案。在第三章论述了总体的设计过程,确定了技术指标及器件的选择并且描述了系统硬件电路设计、硬件设计框图及所使用的各种芯片功能与特性。第四章重点剖析了软件设计的过程。最后一章中具体论述了系统的调试软件及调试中出现的问题。基于89S51单片机的单总线多点温度测控系统具有硬件组成简单、多点温度检测、读数方便、精度高、测温范围广等特点,在实际工程中得到广泛应用。 关键词:89S51单片机,数字温度传感器, 单总线 Abstract The problem introduces 89S51 monolithic machine and the DS18B20 figure temperature sensor-based multiple spot temperature measurement system mainly. 89S51 single chip using the system were collected at various temperatures of the temperature, temperature display and alarm functions. It 89S51 MCU-based control chip, digital temperature sensor DS18B20 the realization of multi-channel temperature detection, measurement accuracy can reach ℃. The system uses 4 sections of numerical code tubes liquid crystal display modules, 4 sections of numerical code tubes as a display, the display of visual images to measure the temperature. This article first described in the introduction of this system, as well as background features. The second chapter to determine the design. In the third chapter discusses the overall design process to determine the technical specifications and the choice of device of devices and a description of the hardware circuit design, hardware design and diagram used in a variety of features and functions of the chip. Chapter IV analyzes the key software design process. T