DS18B20 数字温度计的研究与检修摘 要随着科技的不断发展,电子设备的应用已经取得了非凡的成就。即使是高度集成化的今天,单片机技术依旧在我们的日常生活中占据着重要的地位。温度是日常生活、工业、医学、环境保护、化工、石油等领域最常用到的一个物理量。测量温度的基本方法是使用温度计直接读取温度。最常见到得测量温度的工具是各种各样的温度计。它们常常以刻度的形式表示温度的高低,人们必须通过读取刻度值的多少来测量温度。利用单片机和温度传感器构成的电子式智能温度计就可以直接测量温度,得到温度的数字值,既简单方便,有直观准确。本文介绍了一个基于 STC89C51 单片机和数字温度传感器 DS18B20 的测温系统,并用 LED 数码管显示温度值,易于读数。系统电路简单、操作简便,系统具有可靠性高、成本低、功耗小等优点。通过 Proteus 画图以及 Keil 编程,成功的仿真出了能够实时测量温度并显示温度的数字温度计。关键词:单片机、数字温度传感器、温度计、DS18B20AbstractWith the continuous development of science and technology, the application of electronic devices has made remarkable achievements. Even in today's highly integrated, MCU technology still occupies an important position in our daily life. Temperature is the most commonly used physical quantity in daily life, industry, medicine, environmental protection, chemical industry, petroleum and other fields. The basic method of measuring temperature is to use a thermometer to read the temperature directly. The most common tool for measuring temperature is a variety of thermometers. They often represent the temperature in scale form, and one must measure the temperature by reading the scale value. An electronic intelligent thermometer composed of a single chip microcomputer and a temperature sensor can directly measure the temperature and obtain the digital value of the temperature, which is both simple and convenient, intuitive and accurate. This paper introduces a temperature measuring system based on STC89C5...