2022-04-01 04:22 AM
2022-04-04 07:06 AM
It's a far too common problem, and it has nothing to do with what sensors you put on the I2C bus.
One has to size the pull-up on the SDA and SCL lines based on the number of sensors and the capacitance of the wire. And it's a real pain.
But NXP (who bought Philips) maintains a pretty good bit of documentation.
I2C-bus specification and user manual (nxp.com)
I think it's section 7 that explains the math to figure out what size pull-up you need.
Your MCU board manufacturer chose a value that's apparently good for 3 sensors, but after that, you need a bigger pullup.
Cheers,