A0
Function
Sets bit 0 of the 7-bit I²C address. Tie directly to VCC or GND.
How to connect
Ground all three address inputs for address 0x20.
Electrical note
Keep stable throughout a bus transaction.
Explore PCF8574 pins, signal names, electrical functions and connection guidance for each package.
Select a pin to explore its connection
Click a lead or use the arrow keys. Top view
Sets bit 0 of the 7-bit I²C address. Tie directly to VCC or GND.
Ground all three address inputs for address 0x20.
Keep stable throughout a bus transaction.
Sets bit 1 of the 7-bit I²C address. Tie directly to VCC or GND.
Ground all three address inputs for address 0x20.
Keep stable throughout a bus transaction.
Sets bit 2 of the 7-bit I²C address. Tie directly to VCC or GND.
Ground all three address inputs for address 0x20.
Keep stable throughout a bus transaction.
Port bit 0. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Connect LED cathode; LED anode reaches +5 V through 1 kΩ.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Port bit 1. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Connect a pushbutton to GND and leave its output-latch bit HIGH.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Port bit 2. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Leave unused pins open with their latch bits HIGH.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Port bit 3. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Leave unused pins open with their latch bits HIGH.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Supply and signal reference.
Connect to controller ground.
Port bit 4. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Leave unused pins open with their latch bits HIGH.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Port bit 5. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Leave unused pins open with their latch bits HIGH.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Port bit 6. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Leave unused pins open with their latch bits HIGH.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Port bit 7. Writing 0 actively sinks; writing 1 releases the pin with its weak current-source pull-up so it can be read as an input.
Leave unused pins open with their latch bits HIGH.
Not a conventional push-pull HIGH output; preserve input bits as 1 in every output write.
Asserts LOW after a change on an input port. Reading/writing the port or return to its original state resets the interrupt as described in the data sheet.
Pull up with 10 kΩ to +5 V and connect to a 5 V-compatible interrupt input.
Edges during the acknowledge/reset interval may be lost; read the port and debounce buttons.
Standard-mode serial clock, up to 100 kHz.
Connect controller SCL with a suitable pull-up to VCC.
Bidirectional open-drain serial data.
Connect controller SDA with a suitable pull-up to VCC.
Operates from 2.5 V to 6 V.
Use +5 V for this example and 100 nF directly to GND pin 8.
At 5 V, the specified input HIGH threshold is 3.5 V; do not assume a 3.3 V HIGH is sufficient.