Other Parts Discussed in Thread: PCF8574, , TCA9534
Tool/software:
Hi everyone,
I'd like to use the TCA9554 as a replacement for PCF8574 in an 8-input I2C button interface. The schematic looks as follows:
I understood from the datasheet that all ports of the TCA9554 have internal pull-ups, so I omitted them here. Would this configuration work correctly, without any initialization of the inputs needed? In the datasheet example Figure 26 (page 24) the switch at P5 connects to VCC (it is not clear to me why?) and has an additional resistor.
Bonus question: Would you recommend any kind of additional input protection (z-diodes, caps, resistors, ...) if the switches are connected with longer cables (1.5m)?
Best,
sarnold