DS18B20 如何检测单总线上有没有接温度探头DS18B20啊?

2019-07-21 08:59发布

如题,  我主要是想检测单总线上有没有接DS18B20,请问有没有什么好的方法啊?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
6条回答
csmjmcc
2019-07-21 21:43
This command allows the bus master to read the DS18B20’s 8-bit family code, unique 48-bit serial
number, and 8-bit CRC. This command can only be used if there is a single DS18B20 on the bus. If
more than one slave is present on the bus, a data collision will occur when all slaves try to transmit at the
same time (open drain will produce a wired AND result).


英文较差,这段不是说:仅能单颗芯片在总线上,才能这样使用;多颗会发生冲突。??
感觉这方案不可行。

一周热门 更多>