Hi,
I need to extend the cable of DS18B20 temperature sensors from 1m to 12m. What conductor cross section (mm²) do i need? Would a 3 x 0,14mm² cable work for that or is that too thin?
Hi,
I need to extend the cable of DS18B20 temperature sensors from 1m to 12m. What conductor cross section (mm²) do i need? Would a 3 x 0,14mm² cable work for that or is that too thin?
It's a low-power device so any cable/wire should work. And, it's fairly-low impedance so I wouldn't expect any interference problems.
But, if you do get problems (total failure or erratic results) with the longer wire you can try shielded cable.
Cat5. Tested for 20m
Choose wire pairs. ..wisely ![]()
DVDdoug:
But, if you do get problems (total failure or erratic results) with the longer wire you can try shielded cable.
That said, the problem with a longer cable is likely not to be interference pickup, but cable capacitance, and shielded cable is much worse in terms of cable capacitance.
In terms of readily available cable, Cat 5 (or perhaps telephone twin pair) which is designed to minimise capacitance for signal transmission, may indeed be the easiest.
Thank you! But you are using Cat 5 cables with 8 strands, when you only need 3 strands for the sensor? Isn't that kind of a waste or am I getting it wrong?
I wanted to use LIYY 314-25 control line, unshielded, 3 x 0,14mm², is that ok concerning cable capacitance?
phytopia:
Thank you! But you are using Cat 5 cables with 8 strands, when you only need 3 strands for the sensor? Isn't that kind of a waste or am I getting it wrong?I wanted to use LIYY 314-25 control line, unshielded, 3 x 0,14mm², is that ok concerning cable capacitance?
The twisted pairs within the CAT5 cable reject interference which is why its performance exceeds untwisted cables like the one you are proposing.
If your application is to be installed in non-noisy (from an electrical point of view) environment, you might get away with your type of cable as well.
Watcher:
The twisted pairs within the CAT5 cable reject interference which is why its performance exceeds untwisted cables like the one you are proposing.
If your application is to be installed in non-noisy (from an electrical point of view) environment, you might get away with your type of cable as well.
Ah, I see. So, I solder grounding, voltage and data from the sensor to one twisted pair each, leaving one pair in the cat 5 cable unconnected, right?
Use one pair for data and ground, and an other pair for power and ground.
Then you have two pairs left.
Leo..
In terms of readily available cable, Cat 5 (or perhaps telephone twin pair) which is designed to minimise capacitance for signal transmission, may indeed be the easiest.
Thank you! But you are using Cat 5 cables with 8 strands, when you only need 3 strands for the sensor? Isn't that kind of a waste or am I getting it wrong?
CAT5/CAT6 is usually cheaper than other cables because its made in very large quantities, and surprisingly
there is also almost no counterfeit CAT5 in circulation (yet...).
also almost no counterfeit CAT5 in circulation (yet...).
Well..quality does vary a lot though!
But for the purpose of this application, probably the cheapest will do!
Ah, I see. So, I solder grounding, voltage and data from the sensor to one twisted pair each, leaving one pair in the cat 5 cable unconnected, right?
You need to use one pair for data along with ground .
Another pair can be used for supply and ground
If you can, attach a small cap at the far end across supply and ground.
Also... if you are doing a particularly long cable "run", you might need to decrease the value of the pullup resistor used with the DS18B20 to a value closer to 2.7K or so to get a stronger pull-up to fight the losses due to cable length.
pwillard:
Also... if you are doing a particularly long cable "run", you might need to decrease the value of the pullup resistor used with the DS18B20 to a value closer to 2.7K or so to get a stronger pull-up to fight the losses due to cable length.
I need to connect two sensors with 12m, two with 1m and one with 2m cable. Can I put all five together with one pullup resistor or do I need to connect the different lenghts separately?
1 wire is a network bus. You only need 1 pullup if all the devices are in series on the same wires.