I am trying to attach soil moisture sensors and a BME280 via I2C to my raspberry pi zero 2. When I wire in the bme280 attached to a 1ft wire and run i2cdetect -y 1 it very quickly finds 77 as the address, which is correct. As soon as I attach the soil sensor, which is attached to a 20ft wire, when I run i2cdetect -y 1 it takes a very long time and doesn't find any addresses, not even the bme280 which is still attached. Is the issue that the cable is too long and I need to add something like this? https://www.adafruit.com/product/4756 I have already tried turning the baud down to 1000 and that gave me the same result. When I unplug the soil sensor but leave the wires wired to the pi it also works perfectly. I am using 24awg solid cat6 ethernet cable.
Statistics: Posted by jlodge10 — Fri Nov 22, 2024 5:49 am — Replies 1 — Views 28