单总线传感器多点测量系统研究.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
单总线传感器多点测量系统研究

摘 要 本文介绍了采用美国Dallas Semiconductor公司的基于单总线(1-Wire)技术的温度参数采集系统,该系统运用单总线技术通过一根线传输数据与电源。 本系统的温度参数采集部分土要由单总线传感器DS18B20与计算机来完成,可根据不同的需要在单总线上添加其它的传感器和相应的软件测量参数。 本文论述了单总线技术工作电路原理,通信原理及传输协议,并介绍单总线器件在单总线上的工作原理。着重讨论了可编程单总线传感器:温度数字传感器DS18B20单总线传感器的作原理、内部结构及功能,并指出这种传感器在单总线温度检测中的硬件电路设计。应用Dallas公司的TMEX动态链接库,并用VC++编程技术对单总线及单总线器件进行访问和控制,所开发的软件能检测出当前的计算机与单总线连接的端口信息,并检测出单总线上的传感器类型和64位ROM,对DS18B20编程检测出输入数据,并根据公式计算出当前周围的温度。可根据不同测量的定时需要,实现温度数据参数的实时采集,动态保存到不同的数据库。对气象资料进行自动存储。 关键词 :实时采集,DS18B20,1-wire Abstract This paper introduces a system of ground meteorological parameters collected from the temperature parameters based on 1-Wire bus technology. It is developed jointly by Dallas Semiconductor Inc, of USA.I-Wire bus technology transmits both power and bidirectional data over a single twisted-wire cable. An automatic measuring system of temperature parameter is proposed. The function of collecting meteorological parameters is completed by 1-Wiresensors (DS1820) and computer. The package can be augmented with humidity, barometric pressure, and other weather sensors simply by connecting the sensor to the cable at the desired position and adding the appropriate software. This paper explains 1-Wire net, such as the hardware circuit and communication protocol , analyzes features of sensor chips( the 1-Wire devices) and 1-Wire line-powered Micro LAN networking technique. The programmable sensor of 1-Wire devices is introduced, including the working principle and application in 1-Wire temperature’ checking, and circuit which connect the sensor . We can access and control the 1–Wire devices, also read out the data of these sensors, using Visual C ++ and TMEX DLL. The software we developed can access and control the I-Wire devices. According to the current demand, the information of serial port of computer which is connected with 1-Wire bus can be obtained, and the type of sensors and 64 bit ROM also are available. The data out putted from these sensors is converted to temperature, wind speed

文档评论(0)

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

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

1亿VIP精品文档

相关文档