I'm using some DS18B20 temperature sensors as ID's for devices since they're cheaper than the DS2401 (weird but they are).
Two questions... Is it faster to poll a know list of ID's to see if they're there, or use the search method?
What is the fastest way to check if a sensor is there, for a known ID?
Cheers, Woody
There are plenty of Address finder scripts already written out there. Just use one that suits your needs and speed
The 1-Wire search method has an ingenious way to find the sensors. I prefer a search with the Arduino OneWire library. You can test the time it takes yourself I don't know if someone has tested that.
Here is one or two
http://www.hobbytronics.co.uk/ds18b20-arduino
https://playground.arduino.cc/Learning/OneWire
You can also connect it in parasitic mode to reduce wires