Hi everyone,
I am working on basic protocols that involves basic I2c communication between multiple slaves not more than 5 devices at max. The overall issue is i am operating that communication at a distance of 2 meter but not more than this. Later i need to keep the communication speed constant using extenders using PCF8574T.
I am not getting how we can achieve this in ideal conditions.
To avoid noise make sure you have no loops in your wiring. Use twisted pair cable with 2 pairs, one pair SCK and 0V, the other SCL and 5V, or if you don't need the 5V put 0V on the wire instead.
Is this a hobby thing to prove the specifications wrong or does it need to be reliable over many builds. I2C is not at all the way to go for long distances, it was designed for inter board communication. The capacitance of the bus is the determining factor as is the the type of wire. I would seriously consider another approach such as CAN as it is very robust and reliable when built properly.