- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
单片机在温度采集报警系统的实现
目 录
摘要 1
1 引言 2
2 设计要求 3
3 扩展功能 3
4 总体设计方案 3
4.1数字温度采集设计方案论证 3
4.2方案二的总体设计框图 4
4.3 DS18B20温度传感器与单片机的接口电路 7
4.4 系统整体硬件电路 8
5系统软件算法分析 9
5.1主程序 10
5.2读出温度子程序 11
5.3温度转换命令子程序 11
5.4 计算温度子程序 11
5.5 显示数据刷新子程序 12
6总结与体会 12
7谢辞: 12
8附录 13
数字温度采集与报警
摘要
近年来随着科技的飞速发展,单片机的应用正在不断地走向深入,同时带动传统控制检测日新月益更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,以作完善。本系统是以单片机的基本语言汇编语言来进行软件设计,使指令的执行速度快,节省存储空间。为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了。使硬件在软件的控制下协调运作。
, 本系统介绍的是一种基于单片机控制的数字温度采集系统,属于多功能温度采集系统,可以对不同温度进行精确采集,同时设置上下报警温度,当温度不在设置范围内时,可以报警。
关键词:单片机,数字控制,报警, DS18B20,AT89S51
Abstract
With the development at full speed of science and technology in recent years, the application of the one-chip computer is being moved towards deepenning constantly, drive tradition is it measure crescent benefit to upgrade day to control at the same time. In measuring in real time and automatically controlled one-chip computer application system, the one-chip computer often uses as a key part, only one-chip computer respect knowledge is not enough, should also follow the concrete hardware structure , and direct against and use the software of targets characteristic to combine concretly, in order to do perfectly. This system carries on software design with the basic language assembler language of the one-chip computer, make the execution of the order quick in speed, save the memory space. In order to expand and alter, the design of the software adopts the module structure, make the logic relation of designing program more succinct and clear. Make the hardware coordinate operation under the control of the software.
The system was introduced by the acquisition of a digital temperature control of the computer system is multifunctional temperature acquisition system. Precision Acquisition of different temperature, temperature alarm set up from top to bottom, when the temperature is not within the range, could be reported.
Key words : microcontroller, digital control, alarm, DS18B
文档评论(0)