So the plan is to connect the sensor to the Pi via a UTP cable using 3 out of the 8 wires, where there is a connection between
the 3.3V pin of the Pi and the first pin of the DHT22
a data pin (say GPIO 4) on the Pi and to the second pin of the DHT22
a Ground pin of the Pi and to the 4th pin of the DHT22
I am not entirely sure how to connect the UTP cable to the pins of the raspberry pi. Would soldering the wires directly to the pins work? I'm trying to avoid using a breadboard since I'm trying to make the device as compact as possible. Also since it's going into a humid environment, i'm trying to limit the amount of exposed metal (So i can't use a grove pi, connected to UTP cable, connected to a RJ45 to grove adaptor since the adaptor is all metal.)
If anyone can help me I would be forever grateful!