Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

OneWire DS18B20 cable too long - how to extend range?

onewire ds18b20 too long cable

  • Please log in to reply
2 replies to this topic

#1 dzilupl

dzilupl

    Member

  • Members
  • PipPip
  • 10 posts

Posted 25 January 2015 - 11:04 AM

Hi.

I made temperatur monitoring system on Netduino plus 2 with DS18B20. In my installation I connect only one DS18B20 to one Digital I/O port. Some of my DS18B20 are on long cable - more than 100m. I cannot read them. On shorter cable (20-50m) everything works ok. Of course I use resistors but on cable longer than 100m it doesn't work. Does anyone know how to read DS18B20 on cables longer than 100m?

 



#2 scardinale

scardinale

    Member

  • Members
  • PipPip
  • 27 posts
  • LocationNew York, USA

Posted 25 January 2015 - 03:10 PM

Try to use a smaller resistor value. I use 4K7 on short runs, 2K2 of medium  runs and 1K2 on long runs. I have never gotten it to work above 80M though.



#3 dzilupl

dzilupl

    Member

  • Members
  • PipPip
  • 10 posts

Posted 25 January 2015 - 05:25 PM

It was the first thing I tried. I have 11 DS18B20 - 5 of them works on 2K2 and 1K2 - 6 doesn't work even on resistors smaller than 1K2 - that's why I'm asking about option to extend range. I heard something about DS2482 or DS2409 that it can extend range or changing time between byte read but I don't know how to use this :(







Also tagged with one or more of these keywords: onewire, ds18b20, too long cable

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.