网站大量收购独家精品文档,联系QQ:2885784924

电气工程及其自动化DS18B20数字温度计的设计.doc

电气工程及其自动化DS18B20数字温度计的设计.doc

  1. 1、本文档共63页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
电气工程及其自动化DS18B20数字温度计的设计

太原理工大学阳泉学院 毕业设计说明书 毕业生姓名 : 专业 : 电气工程及其自动化 学号 : 指导教师 : 所属系(部) : 信息系 二〇一〇年六月 太原理工大学阳泉学院 毕业设计评阅书 题目: DS18B20数字温度计的设计 摘要本文是一个基于AT89C2051与DS18B20的数字温度计的设计。该温度计的测温范围在-55℃~+125℃,误差在0.5℃以内,最高分辨率可达0.0625。本系统利用智能型温度传感器DS18B20和LED数码管方便准确的判断、测量和显示当前的温度值。与传统的温度计相比,它具有使用方便,精度高、量程宽、灵敏度高、体积小、功耗低、价格低廉等优点,适合于我们日常生活和工、农业生产中的温度测量。 本设计中各种功能的具体实现主要是从硬件和软件两部分入手。硬件部分:按照系统设计功能的要求对硬件电路进行模块化设计。其中主控制器AT89C2051作为系统的核心处理部分;晶振电路为单片机及整个硬件电路的工作提供统一的工作频率;复位电路保证了系统可以有固定的初始状态;温度传感器DS18B20可将温度信号直接转换成串行数字信号送给单片机;LED显示电路在视觉上直观地显示软硬件电路所达到的效果。软件部分:根据系统设计功能的要求,该系统程序主要包括主程序、读出温度子程序、温度转换命令子程序、计算温度子程序和显示数据刷新子程序等。本设计采用AT89C2051 与DS18B20结合实现简单的温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。 关键词:AT89C2051DS18B20,LED数码管 Abstract This article is a based on AT89C2051 Digital thermometer and DS18B20 design .The thermometer’s temperature range -55℃~+125℃,within error of ±0.5℃,the highest resolution up to 0.0625. The system uses intelligent temperature sensor and LED digital tube DS18B20 convenient and accurate judgments, measurement and display the current temperature. Compared with the traditional thermometer, it has easy to use, high accuracy, wider range, high sensitivity, small volume, low power consumption, low cost and suitable for in our daily lives and industrial and agricultural production in the temperature measurement. The design of the concrete realization of various functions are mainly of two parts from the hardware and software to start. Hardware components: system design features in accordance with the requirements of the modular design of hardware circuits.The master controller AT89C2051 treatment as part of the core of the system. Crystal oscillator circuit for a microcontroller and the hardware circuit display working to provide a unified the operating frequency; reset circuitry ensures system has a fixed initial state; temperature sensor temperature signal can be directly DS18B20 converted into serial digital signals to the MCU; LED display circuit to visually display the results

文档评论(0)

2017meng + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档