My sensor works on a 20 cm jumper but becomes unreliable on a 5 m cable: occasional NACKs and sometimes the bus locks up completely. The bus is 3.3 V at 100 kHz with 4.7 kΩ pull-ups.
Is there a defined maximum length for I2C? And if 5 m is too far, what is the normal way to reach a remote sensor?




