资源描述:
《usb接口多路温度终端采集系统》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、......装订线本科生毕业论文(设计)题目:USB接口的多路温湿度采集系统设备端设计学院电子信息工程学院学科门类工学专业自动化学号2004440078姓名李志广指导教师梅建宏2008年5月20日............USB接口的多路温湿度采集系统设备端设计摘 要温度与湿度是保证档案管理、纺织、食品、医药、仓储、畜牧养殖、种植业等场所正常运行的重要参量。新的温、湿度参量检测技术在这些领域的应用有益于保障安全、提高生产效率、改善产品质量。随着计算机的普及,大量针对计算机接口的外设也越来越多。其中USB接口由于其高速、
2、即插即用、低成本、可扩展性强等优点,被大量应用于测试系统中。现在大部分PC已经离不开USB接口,有人预言未来所有的总线接口都将被USB技术统一。USB接口技术为PC主机与设备间的数据传输提供了便捷的方案。本文先介绍USB技术优点,然后介绍USB传输协议和接口芯片PDIUSBD12及其数据传输机制。介绍USB接口的多路温湿度采集系统的总体构成框架,芯片PDIUSBD12与AT89S52单片机的软硬件连接结构,详述I2C总线数字温湿度传感器SHT11的各项参数和应用方法,最后详细介绍其固件编写方法。关键词:USB PDIU
3、SBD12 AT89S52 温度湿度............DesignofMultiplexTemperatureandHumidityCollectingSystemBasedonUSBABSTRACT Temperatureandhumidityaretheimportantparametersthatarchivemanagement,textiles,food,pharmaceutical,warehousing,livestockbreeding,cultivationandotherplacesoper
4、atednormally.Thenewdetectiontechnologyoftemperatureandhumidityparametersconducestoprotectionofsecurity,increasesproductivity,andimprovesproductqualityintheseareas.Withthepopularityofcomputers,thenumberofperipheralsforcomputerinterfaceisalsolargerandlarger.Becaus
5、eofitshigh-speed,plug-and-play,low-cost,scalability,andsoon,USBisusedlargelyinthetestingsystem.ItissaidthatUSBtechnologywillbeappliedinallbusinterfacesinthefuture.USBinterfacetechnologyprovidesawonderfulsolutionforthedatatransmissionbetweenPCs. Thisarticlefirst
6、introducestheadvantagesofUSBtechnology,thenitintroducesUSBtransferprotocol,interfacechipPDIUSBD12anddatatransmissionmechanism.TheoverallframeworkofthemultiplextemperatureandhumiditycollectingsystembasedonUSBandtheconnectingstructureofmicrocontrollerchipAT89S52an
7、dPDIUSBD12willbeintroducedlater.Finally,itintroducesthesinglechiprelativehumidityandtemperaturemultisensor,detailingitsvariousparameters,applicationmethodsandfirmwarewritingmethodofthesystem.Keywords:USB PDISUBD12 AT89S52 temperature humidity............目 录一引言1
8、二USB协议简介22.1USB的特点22.2USB总线协议22.3USB的总线结构22.4USB接口的电气特性22.5数据传输方式32.5.1控制传输32.5.2批量传输32.5.3中断传输32.5.4同步传输3三硬件电路设计43.1USB接口的多路温湿度采集系统构成43.2USB接口芯片简介53.3PDIUSBD12端点描述73