I want to connect multiple ds18b20 temperature sensor in a single bus. My question is not about how to wire those sensors to have they working or how to write the code... is about how to physically wire and solder those sensors in a single cable. I will not use long cables, ever less than 4 or 5 meters, including about 10 sensors each line, not regularly distributed along this distance. Probably i will use normal power for them (not parasitic mode).

I readed in different places in this forum that the people connecting multiple sensor to a single bus use cat5 or cat6 cable... so, following their experience, i will do it in that way. But, how to connect the sensor? I know, i know, removing the plastic to three wires and soldering the legs of the sensor. :P

How do you wire them? Do you use a special connector to the cable to derive three of the wires to solder there the sensor? Do you solder the sensor directly to the cable?

In my project, some of the buses will be outdoor, so, i have on mind to protect inside a plastic tube (of something like this), with hole where the sensors will go outside to be exposed to the environment, but all the other connections will be inside the cable. To use somekind of tiny connector between the main cable and the sensor could be a nice idea just in case to replace a possible defective sensor in the future. The devide will be in the middle of anywhere, so to solder in the field is not an option, and to replace all the bus is a very remote option (require to have a copy of the cable and all the sensor already ready). I think that to have the sensor with an short cable, ready to connect to the main cable is the perfect solution. So, in case of fault of one of the sensor, to unplug the broked one and the connection of the new one is enough, remaining the main cable and all the other devides in place.

Now that you have the big picture of what i hace of mind, do you have ideas, proposals or comments about how could i do that? They will be wellcome. Thanks so much!


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir