基于USB接口的温度控制器毕业设计论文.doc

基于USB接口的温度控制器毕业设计论文.doc

  1. 1、本文档共134页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于USB接口的温度控制器 毕业设计 摘 要 USB(Universal Serial Bus)是一种新型的通用串行总线,它是快速的、双向的、同步的、可以热插拨的、动态连接且价格低廉的串行接口。正是基于这一特点,现在很多的计算机外设都有USB接口。本文正是利用这一新型USB接口来设计上位机与下位机系统之间的通信。利用新型的一线式数字温度传感器测量温度,并通过USB接口和计算机端应用软件进行通信。 本文首先介绍了本系统相关的背景知识以及USB的通信协议,进而介绍温度控制的基本意义,提出利用USB设备芯片CH372、一线式数字温度传感器DS18B20和单片机AT89C51来开发基于USB温度控制系统。采集的温度数据通过USB接口上传到上位PC机上,并利用应用软件对其进行处理。上位机应用软件用C ++ builder 编写,其运用CH372接口芯片的动态链接库建立起上位机和下位机之间的通信机制。上位机将采集到的温度数据在PC机上显示出来,并且显示实时温度采集图像。 此外,应用软件可以对下位机进行温度极限设置等简单控制功能,当采集到的温度超过某一设定极限温度,则对系统进行报警。另外下位机还为今后的扩展保留一定的资源。 关键词: AT89C51;USB协议; 温度采集 ;一线式温度传感器 ;CH372 Abstract USB (Universal Serial Bus) is a kind of new Universal Serial Bus, it is a serial bus which is very fast, dual channel, synchronous, can be pulled and plugged with the power on (Hot Swap), can be connected dynamically and very cheap. Because of this characteristic, nowadays, a great many type of computers have USB interface. The project presented in this dissertation used this new USB interface to design the communication between upper computer and down computer system. With the one wire temperature sensor, I measure the temperature and communicate with the computer application through the USB interface. At the beginning of this dissertation, some basic knowledge about the system and communication protocol of USB (Universal Serial Bus) will be described, and later, introduced the basic meaning of temperature control, This dissertation also brought forward this idea: to develop the temperature control system which is base on the USB, and those tools the system will need are USB device chip CH372, one wire digital temperature sensor DS18B20 and single chip AT89C51.The temperature system got will upload to the upper computers application through USB interface. The upper computers application is programmed in the environment of C++ builder; the software I programmed used the DLL (dynamic link library) of CH372 and built the communication system between upper computer and down computer. The

文档评论(0)

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

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

1亿VIP精品文档

相关文档