基于51单片机智能温度控制器设计.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于51单片机智能温度控制器设计 摘 要 本文基于一线协议温度数据采集技术进行研究,构建了基于MCS-51平台的温度数据采集系统。系统由数据传输电路、复位电路、时钟电路、电平转换电路组 成。其主要思想是通过数字温度传感器DS18B20把采集到的温度数据传送给单片 机STC89C51,然后经MAX232进行电平转换,最后通过建立接口通信,在PC机上显示所采集到的温度数据。系统涉及到串行通信、单片机、电平转换、数字温度 传感器等相关知识。 系统主要实现了温度传感器DS18B20与STC89C51以及STC89C51与PC机之间的通信。前者基于1-Wire协议来实现,即用一根线来控制DS18B20与STC89C51的通信。后者依据RS-232-C来实现STC89C51与PC机的通信。在此基础上,本文 还介绍电源电路、复位电路、时钟电路的设计和实现。 最后对组成温度数据采集电路的软件和硬件进行了仿真和调试,实现了上位 机和下位机的通信,并能在PC机上正确地显示DS18B20采集到的温度数据,并可 控制温度数据的采集和传输。同时对出现的问题进行讨论和分析,提出了解决办 法。 1-Wire STC89C51 Abstract Abstract This paper researches temperature acquisition technique based on 1-wire bus.The temperature acquisition system of MCS-51 is built up abided by 1-wire protocol. The system composes of power supply circuit, data collection circuit, data transfer circuit, reset circuit, clock circuit, voltage transformation circuit. Firstly, temperature data are transferred to STC89C51 through sensor DS18B20. Second, the temperature data are processed through voltage transformation. At last, the data information are displayed on monitor after transferred to PC through communication interface. Therefore, the system relates to serial communication, singlechip, voltage transformation, numerical temperature sensor. The most important in this system is the communication between sensor DS18B20 and STC89C51 and the communication between sensor STC89C51and PC. The communication between sensor DS18B20 and STC89C51 is accomplished through 1-wire protocol. The communication between sensor STC89C51and PC through RS-232-C. Furthermore, this paper introduces the design and accomplishment of power supply circuit, data collection circuit, data transfer circuit, reset circuit, clock circuit. At last, the software and hardware of temperature acquisition system both simulated and tuned. The up-down communication is accomplished. PC displays the data collected by DS18B20 and controls the collections and transfer of temperature data. The emergent problems are analyzed an

文档评论(0)

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

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

1亿VIP精品文档

相关文档