检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:赵秋[1]
机构地区:[1]南京工业职业技术学院电气与自动化系,江苏省南京市210046
出 处:《电子工程师》2008年第9期61-64,共4页Electronic Engineer
基 金:南京工业职业技术学院院级基金(YK07-04-08)
摘 要:可以使用多片1-Wire总线器件DSl8B20构成多点测温系统,因此,如何准确、有效地对每一温度传感器进行寻址成为该系统设计的一个核心问题。文中提出如下方案:首先分别读出探测单元有单个DSl8B20的ROM序列号;然后将其存放在I2C总线的EEPROM存储器AT24C16中,并将其编号贴在温度传感器表面,对于一个探测单元有多个不可分离的DSl8B20的ROM序列号的读取,只有利用DSl8B20特有的单线网络自动搜索功能得到;最后,将所有温度传感器接入温度测量网络,与AT24C16中已经存储的ROM号匹配,实现每片DSl8B20的寻址和温度测量功能,将测量的温度值送LED(发光二极管)显示或者通过RS-485总线送计算机处理。Multi-piece 1-Wire device DS18B20 can be used to form a multi-spot temperature measurement system. Therefore, how accurately, effectively carry out addressing to each temperature sensor has become a key question of this system design. In this paper we propose the following scheme: first of all, we read out separately the DS18B20 ROM sequence number which is unique in the survey unit, then deposit it in I^2C bus EEPROM memory AT24C16, and paste its serial number in the temperature sensor surface. For those inseparable DS18B20 in a survey unit, we have to obtain only the ROM sequence number using the DS18B20 unique single track network automatic scan function. Then, we connect the temperature sensor to the temperature survey network, match it with the ROM number already saved in AT24C16, so as to realize the addressing and temperature survey function for each piece of DS18B20. Finally we send the temperature value to the LED displaying or deliver it to computer through the RS-485 bus.
关 键 词:搜索算法 1-Wire总线 12C总线 DS18B20 ROM序列号
分 类 号:TP274.4[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.31