基于单片机的多点温度检测系统【摘要】温度是一个和人们息息相关的物理量,温度的变化会给我们带来重大的影响,因此对温度的检测控制非常重要,其检测控制一般使用各式各样的传感器。本设计使用的是 DS18B20,它是一种可组网的高精度数字式温度传感器,由于其具有单总线的独特优点,可以使用户轻松地组建起传感器网络,并可使多点温度测量电路变得简单、可靠。本文结合实际使用经验,介绍了 DS18B20数字温度传感器在单片机下的硬件连接及软件编程,并给出了软件流程图该系统由上位机和下位机两大部分组成。下位机实现温度的检测并提供标准 RS232 通信接口,芯片使用了 ATMEL 公司的 AT89C51 单片机和 DALLAS 公司的DS18B20 数字温度传感器。上位机部分使用了通用 PC。该系统可应用于仓库测温、楼宇空调控制和生产过程监控等领域【关键字】:温度测量;单总线;数字温度传感器;单片机【Abstract】Temperature is a physical quantity and the people closely linked, the changes in temperature will bring significant influence to us, so the detection of the temperature control is very important, the general use of every kind of sensor detection and control.This design is the use of DS18B20, it is a high precision digital temperature sensor network, because of its unique advantages of single bus, users can easily set up a sensor network, and can make the multi-point temperature measurement circuit is simple, reliable and become. In this paper, combining with practical experience, introduces the hardware of digital temperature sensor DS18B20 with single chip and software programming, and gives the software flow chartThe system consists of host computer and slave computer of two parts. Lower machine to achieve the temperature detection and provide standard RS232 communication interface chip, use DS18B20 digital temperature sensor AT89C51 chip of ATMEL company and the DALLAS company. PC part using the generic PC. The system can be applied to the storage temperature,...