- 1、本文档共50页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的温度检测系统
摘要
随着时代的进步和发展,单片机技术已经普及到我们生活,工作,科研,各个领域,已经成为一种比较成熟的技术。单片机在温度检测方面得到广泛应用。本文将介绍一种基于单片机控制的数字温度计,提出一种基于单片机并采用数字化温度测控系统应用于室温检测的设计方案,该方案是利用温度传感器将室内温度的变化,变换成电压的变化,其值由单片机处理,最后由单片机去控制数字显示器,显示室内的实际温度。该系统具有温度上、下限报警功能。本文从硬件和软件两方面详细叙述了基于AT89C51的温度检测系统,该系统以DS18B20为温度检测装置,并附加了温度显示和超温报警功能。温度采集传感器DS18B20直接以单线连接的方式进行信号传输,采用数字化数据传送方式大大提高了系统的抗干扰性。因此,数字化单总线器件DS18B20适合于各种环境的现场温度测量。它在测温精度、转换时间、传输距离、分辨率等方面较以前的温度传感器都有了很大的改进,系统具有结构简单,运行可靠,误差小,且成本低廉等特点。本文还对AT89C51及DS18B20进行了详细的叙述,并对系统原理进行了仔细分析。
关键词 单片机;传感器;温度测量
Based on single-chip temperature detection system
Abstract
With the progress and development, single-chip technology has spread to our lives, work; research in various fields has become a relatively mature technology. Single-chip temperature testing is widely used. This article will introduce the single-chip microcomputer-based control of a digital thermometer, and a single-chip digital-based temperature measurement and control system used in the design of room temperature detection program, which is the use of the indoor temperature sensor to temperature change, transform into changes in voltage, and its value from single-chip processing, and finally by the single-chip microcomputer to control the digital display shows actual room temperature. The system has a temperature, the lower limit alarm function.
In this paper, both hardware and software described in detail the temperature AT89C51-based detection system to DS18B20 device for temperature detection and temperature display and an additional over-temperature alarm function. Acquisition sensors temperature DS18B20 connect directly to the way one-way signal transmission, the use of digital data transmission system greatly enhanced the anti-interference. Therefore, the number of single-bus device DS18B20 environment suitable for all kinds of temperature measurements at the scene. In the temperature measurement accuracy, conversion time, transmission distance, resolution, etc. than before the temperature sensor has a lot
文档评论(0)