1、数字测温计设计 摘要摘要:随着时代的进步和发展,单片机技术已经普及到我们生活、工作、科研、各个领 域,已经成为一种比较成熟的技术。在工业生产中温度是常用的被控参数,而采用单片 机来对这些被控参数进行控制已成为当今的主流。 本文主要介绍了一个基于 AT89S51 单片机的测温系统, 详细描述了利用数字温度传 感器 DS18B20 开发测温系统的过程, 重点对传感器在单片机下的硬件连接, 软件编程以 及各模块系统流程进行了详尽分析, 对各部分的电路也一一进行了介绍,该系统可以方便 的实现实现温度采集和显示,并可根据需要任意设定上下限报警温度,它使用起来相当 方便,具有精度高、量程宽、灵敏度高、体积
2、小、功耗低等优点,适合于我们日常生活 和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主 系统的辅助扩展。DS18B20 与 AT89S51 结合实现最简温度检测系统,该系统结构简单, 抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。 关键词关键词:单片机;温度传感器;数字温度计 Design Of The Digital Dhermometer Abstract:With the progress and development of era,microcontroller technology has become popular in our
3、life,in the work,the scientific research and various fields,has become a relatively mature technology.The temperature measurement method and device of the highlights is very important.Posed by the single chip temperature sensor and temperature measurement system can be widely applied in many fields.
4、 The article mainly introduced based on the AT89S51 monolithic integrated circuits temperature measurement system, described the use digit temperature sensor DS18B20 development temperature measurement systems process in detail, key to sensors under monolithic integrated circuit hardware connection,
5、 the software programming as well as the various modules system flow has carried on the exhaustive analysis, 11 has also carried on the introduction to various part of electric circuits. This system may facilitate realizes temperature gathering and the demonstration, and may according to need to est
6、ablish the bound warning temperature willfully, it uses quite conveniently, has the precision to be high, the measuring range width, the sensitivity are high, the volume is small, the power loss low status merit, suits in our daily life and the industry, the agricultural production temperature survey, may also treat as the temperature processing module to insert in other systems, takes other host systems auxiliary expansion. DS18B20 and at89S51 union realizes the most Jan temperature exami