Long cable lengths

We’ve had customers report that they’ve used 1-Wire devices (e.g. DS18B20) with cable lengths of 200, even 300 meters. We can’t personally recommend this, but apparently having a pull up resistor at both ends of the cable is essential plus designing your software reading the sensor to expect bad responses and only declare an error / device lost after several bad responses have occurred as some will inevitably fail due to interference.

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.