51 单片机温度测量与控制系统摘 要随着现代信息技术和工农业的快速进展,单片机技术已经普及到我们生活、工作、科研、各个领域,已经成为一种比较成熟的技术, 本文主要介绍了一个基于 51 单片机的测温系统,详细描述了利用数字温度传感器 DS18B20 开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,对各部分的电路也进行了介绍,该系统可以方便的实现实时温度采集和显示,并可根据需要设定上下限报警温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日常生活和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。DS18B20与 51 单片机结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。关键字: 51 单片机、温度、DS18B20、数码管、 C51AbstractWith the rapid development of modern information technology and industry and agriculture, microcontroller technology has spread to our life, work, scientific research, each domain, has become a relatively mature technology, this paper introduces a temperature measurement system based on 51 single chip, detailed description of the use of digital temperature sensor DS18B20 temperature measurement system development, key the connection to the sensor under the SCM hardware, software programming and system flow of each module are analyzed in detail, on the part of the circuit are introduced, the system can easily achieve the real-time temperature acquisition and display, and can according to need to set the alarm temperature, it is very convenient to use, has high accuracy, Liang Chengkuan, high sensitivity, small volume, low power consumption, suitable for our daily lives and industrial, agricultural production in the temperature measurement, which can also be used as a temperature processing module embedded in other systems, as oth...