节点文献

智能温度传感器序列号读取程序设计研究

Research of Program Design and Reading 64-Bit ROM Code about Intelligent Temperature Sensor

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 艾红厉虹万明明

【Author】 (Department of Computer and Automation, Beijing Institute of Machinery, Beijing , 100085 P. R. China) Ai Hong Li Hong Wan MingMing

【机构】 北京机械工业学院计算机及自动化系北京机械工业学院计算机及自动化系

【摘要】 单总线智能温度传感器在单总线上传送的是数字信号,并且可以挂接多个传感器,工作时可以通过不同序列号识别每个传感器而读取其温度值。文章中阐述了读出传感器序列号的两种方法。搜索ROM方法和读ROM命令方法。详细地说明了搜索ROM的实现原理与步骤,搜索ROM命令允许主设备使用逐步淘汰的方法识别总线上所有从设备的64位ROM码。其步骤繁琐。当总线上挂接一个传感器时,可以用读ROM命令获得64位序列号,此方法简单易行。文章中基于AT89C52用两种方法读取序列号进行了程序设计。序列号的正确读取已经在实际系统中已得到了验证。

【Abstract】 The digital signal is transferred on the data bus for 1-Wire intelligent temperature sensor. Many sensors can be connected on the data bus. Because every sensor can be identified by different serial number, the temperature of each sensor can be read. Two methods of for reading serial number are expounded in this paper. These two methods are Search ROM method and Read ROM method. The realization principle and approach of search ROM are illustrated in detail. 64-bit ROM codes of all the slave devices on the bus can be identified through a process of elimination that requires the master to perform a Search ROM command. It is fussy. When there is only one slave on the bus, the 64-bit ROM codes can be accepted by the simpler Read ROM command. The programs reading serial number by use of two methods based on AT89C52 are designed. The correct reading of serial number is al-ready proved in the practical system.

【关键词】 序列号搜索ROM单总线温度传感器
【Key words】 Serial NumberSearch ROM1-WireTemperature Sensor
【基金】 北京市教育委员会科技发展计划面上项目资助(KM200511232010)
  • 【分类号】TP311.11;TP212.6
  • 【被引频次】4
  • 【下载频次】169
节点文献中: 

本文链接的文献网络图示:

本文的引文网络