I'm building a project with the DS18B20 temperature sensor and a Raspberry Pi (among other things) This temperature sensor needs to be a little distance from my Pi as it is an weatherproof external sensor for my project. I have this version of the sensor: https://www.adafruit.com/product/381
In order to extend the cable from the sensor to my Pi I have attached (by braiding the wires) a typical (for the UK) 3 core cable that was previously used for a plug extension. It is approximately 6 meters long and being a max 240v/13amp cable has quite thick gauge wire compared to the very small gauge wire I'm using for the microcontroller work. The sensor is wired to my Pi according to this schematic:
In my breadboarding stage without the extension this was fine and I could read from this sensor. However now my Pi does not detect any sensor attached via the 1 wire interface. I has assumed that the thick gauge wire would have a lower resistance and not cause issues to the low power 3.3v Pi power supply to the sensor. However am I mistaken?
It is possible that the use of this length of a thick gauge wire could be the issue? How could I verify that this wasn't an issue? (would reading the voltages at the end of the extension prove anything?) If the cable is the problem what could be a better alternative? (using 3 lines from an ethernet cable?)
If the cable is not a theoretical issue then I will have to debug by disassembly and a process of elimination of faults on the line. Thanks for helping with my lack of electrical theory.