Electronic – I2C IC for part identification

i2cintegrated-circuit

I am looking for a way for a host system to identify that a certain mechanical module C is connected to it. This mechanical module doesn't need to have any electronics in it, but due to host compatibility reasons (with other mechanical components A, B), it has an I2C bus established between it and the host (even if we don't need it).

I was thinking on putting an IC on this bus, on the mechanical part side, so that the host could probe the bus looking for the IC, in order to know if the part has been attached.

Essentially, I'm looking for an I2C IC with only input pins (to configure it's address) that ACKs when its address is probed, and nothing else.

Do these kind of ICs exist? Or do I have to use some other regular IC (gpio expander, for example) with lots on configurable address pins?

Best Answer

An EEPROM is the usual solution. The RAM SPD (Serial Presence Detect) function uses an EEPROM on an I2C bus.

The chips are remarkably inexpensive, for example the Microchip AT34C02D is $0.03 in 100 quantity at Digikey (factory price is 0.13 each, as Abe Karplus mentions, so that's a clearance price).

For your application you might not need to program the EEPROM (256 bytes), but doing so could allow you to encode revision numbers etc.