I have an Arduino Uno R3. I have built a prototype project on a breadboard which involves two temperature sensors and a relay, all connected by wires about 30cm long.
I want to put the Arduino into an enclosure, migrate the components on the breadboard to a Proto Shield, and use some form of plug and socket (or jack) to connect the sensors and relay signal, so I can connect and disconnect them at will. I want to solder the sockets onto the Proto Shield in the same orientation as the power supply on the Arduino, so they connect directly to the enclosure wall.
The components I wish to connect are:
2-wired 10K Thermistor
3-wired DS18B20 Temperature Sensor
2-wired signal for relay
Because they are all different, I would like physically distinct connectors, and particularly for the relay, the connector needs to be polarized so it can't be plugged in backwards (as it won't work with negative polarity).
How do I go about finding suitable components to build this with? Is my best option to use panel mount jacks on another surface of the enclosure?
I have a sensor shield (V4) that has 3 wire plugs for every pin, and additionally buckled slots for each of the 5 analog pins. Here is one seller of these shields:
I bought a bunch of 3 wire connectors that have the 3 wires (female) together that would fit in each pin on the sensor shield, and have separate wires (male) that can plug into the breadboard. For the 2 wire things, I just used my wire cutters to remove the 3rd cable.
You could conceivably plug the protoshield on top of the sensor shield, and just use the 3 analog pins (even for the relay).
However, another possibility if you needed longer cable lengths is to use the Adafruit patch shield. This uses 1 ethernet cable to provide up to 8 wires to a remote destination. With your 3 devices, you have 7 wires (5 assuming the 3 ground wires are combined).
You could have 3 phone sockets and use phone cables to interconnect the 3 devices (and on those, it is impossible to put the cable in the wrong way). I would get some paint and paint each socket a different color.