基于单片机多功能数字温度计设计.doc

  1. 1、本文档共43页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 本课题设计了一种基于单片机控制的数字式多功能温度计.该温度计以51单片机为主控器,通过温度传感器DS18B20来检测温度,并通过四位共阴极LED数码管来进行数据的显示,可以方便的实现温度采集和显示.同时可以根据需要设置上下限报警温度,当温度不在设置范围内时可以报警.同时还具有时钟显示的功能,当需要进行时间显示的时候可以进行快速切换显示.具有使用方便,精度高、量程宽、灵敏度高、体积小、功耗低等优点.适用于我们日常生活和工、农业生产中的温度测量,也可以当做温度处理模块嵌入其它系统中作为其他主系统的辅助扩展.DS18B20与AT89C51结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景. 关键词:AT89C51;DS18B20 ABSTRACT This project is a digital multi-function thermometer based on MCU. This system can easily achieve temperature acquisition and display, This thermometer uses at89c51 as microcontroller-based controller, detect temperature through the temperature sensor DS18B20, and realize the temperature display by four common cathode LED and it can set upper and lower limits of temperature according to feed the need, when the temperature is not set range it will ring. It also has the function of the clock display. It can switch the display fast when it is need. It is easy to use, with high precision, wide range, high sensitivity, small size and low power consumption. It is suitable for our daily lives and industrial and agricultural production in the temperature measurement, temperature processing module can also be embedded as other systems, the main system as the other auxiliary expansion. DS18B20 combined with the realization of the simplest AT89C51 temperature detection system, the system is simple, anti-interference ability, suitable for harsh environments spot temperature measurement, a wide range of applications. Keywords: MCU; Temperature Measurement; AT89C51; DS18B20 目 录 第1章 绪论 1 1.1 课题意义及发展前景 1 1.2 设计内容及性能指标 1 第2章 系统方案论证 3 第3章 系统器件选择 5 3.1 主控芯片介绍 5 3.2 温度传感器的选择 7 3.2.1 DS18B20 简单介绍和性能特点: 7 3.2.3 DS18B20内部结构和测温原理 8 3.2.5 DS18B20 使用中的注意事项和控制方法 9 3.3 显示元件的选择 10 第4章 硬件设计 13 4.1 复位电路 13 4.2 时钟电路 13 4.3 显示电路 14 4.4 测温电路 14 4.5 控制电路 15 4.6 报警电路 15 4.7 整机电路及工作原理 16 第5章 软件设计 17 5.1 主程序模块 17 5.2 温度相关模块 18 5.3 时间相关模块 24 5.4中断相关程序 25 5.5其他相关程序 26 第6章 总结与体会 27 参考文献 29 致 谢 30 附录A:源程序 31 第1章 绪论 1.1 课题意义及发展前景 随着科技的不断发展,现代社会对各种信息参数的准

文档评论(0)

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

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

1亿VIP精品文档

相关文档