Hi everyone,
I've recently been working on a controlled environment for a growspace with arduino, but the arduino kept freezing up and had no clue what the problem was (As seen in another topic, Arduino freezes after 30-90min).
Besides that i finally have come to the conclusion that the problem is due to the wires going from bottom (arduino) to top (HTU21d sensor). I have specifically made it like that so i would have the best readings possible and still have all the electronics protected from moist. The problem now is that it works perfectly fine when the HTU21d sensor is connected with regular jumper wires basically next to each other, but like that i would have incorrect readings. The sensor would say 30°C while at the top of the growspace its only like 18°C and a humidity difference of 20-40%.
I already made a little visualistation of the wiring with extra i2c connected devices attached, but are not causing any problems:
The easiest solution i could find to connect was to just cut 4 jumper wires in half, put some longer wire in between and solder then back together.
Arduino keeps freezing and i guess it gets stuck while waiting on a response from the sensor.
Thanks in advance.