I want to connect a few DS18B20 to a ESP8266 in a greenhouse situation. Is a 1/4" TRS appropriate for plugging several temp sensors onto the OneWire bus? If not, I would like to figure out a solid and safe way to connect them.
You can do it and keep the tip as +, ring as sensor and shell as ground. Put something like a 220 ohm resistor in the +5 volt feed to protect from shorts. The interesting part will be if you can get them to work over what appears to be a long wire and what transients your micro will have to survive. Consider using 3 or 4 wire RTDs (I use PT100s), if more then one is connected at a time you will need seperate channels.
I submit it would be overpriced and inappropriate. Phone jacks are made to be plugged and unplugged frequently. Are you doing that? If not, a screw down terminal block will give you better security for about 1/50th the price, thereby making it easier to put the money down for some decent cable, which is a more important consideration than the terminal.
A common cable for long runs in greenhouses etc. is CAT5. Don't ask how you would bring that into a 1/4" phone plug.
TRS style plugs short out during insertion and removal, I'd never recommend them for anything
but pure signal - you don't want a power rail shorted to signal or ground. In a greenhouse
you have to assume 100% humidity happens, so such a connector will corrode anyway, not
good.
Either choose a waterproof connector or failing that a terminal block is pretty reliable.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.