11 years, 4 months ago.

I2C

When I was connecting various sensors on the I2C bus this weekend and finding I'd done typical newbie faults one thing I was surprised at was that if I had a device/sensor on the I2C bus that wasn't working correctly (wrong supply voltage level for example) I couldn't read anything on my LCD display? My thoughts on this is that the I2C bus had effectively stopped working so my program was basically not receiving information. Does this generally happen when multiple sensors for example are connected to the same I2C bus and one fails or is not correct in some way? Would it 'collapse' the whole bus?

1 Answer

11 years, 4 months ago.

When one sensor decides for whatever reason to pull either the data or the clock line low the bus is not available. So yes that can happen, although generally they dont do it.

Accepted Answer