- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
最近下载
- 计算机视觉 第7章 摄像机成像模型.ppt VIP
- 2025年部编版新教材语文二年级上册第三单元教案设计.docx
- 宠物医院一例猫血栓诊治方案.pdf VIP
- 史铁生的课件.pptx VIP
- 2024-2025学年广东省深圳市南山育才集团九年级(上)期中语文试卷.doc VIP
- 北师大版七年级下册 第2章平行线 ---纸片翻折问题 专题练习(word版、含解析).docx VIP
- 2025-2026学年八年级数学上学期第一次月考01(江西专用,人教版2024八年级上册第十三章_第十四章)【含答案】.docx
- 介绍信 接洽函.docx VIP
- 2025年-2025秋形势与政策课件携手周边国家共创美好未来.pdf
- 第05讲 平行线中的翻折问题解题技巧(含解析)-2021-2022学年七年级数学下册常考点.pdf VIP
文档评论(0)