Components / Interface and audio modules / PCF8574 I/O expander module

PCF8574 I/O expander module

8 extra pins over I2C.

Function8-bit I/O expander
Supply voltage2.5 to 6 V
InterfaceI2C
Logic levelMatches supply
InterfacesReviewedMPN PCF8574 moduleUsed in 1 project
PCF857
In short

What is the PCF8574 I/O expander module and what is it used for?

8 extra pins over I2C. Makers use it for extra buttons.

How it works

Eight quasi-bidirectional I/O pins controlled over I2C.

Key specifications

Interface module specValue
Function8-bit I/O expander
Supply voltage2.5 to 6 V
InterfaceI2C
Logic levelMatches supply

Pinout

VCC GND2.5 to 6 V
SDA SCLI2C
A0 A1 A2Address (0x20 to 0x27, or 0x38 to 0x3F for PCF8574A)
P0 to P7I/O
INTInterrupt

How to use it

Outputs can sink about 25 mA but source almost nothing, so wire LEDs from VCC through a resistor into the pin and drive the pin low to light them. Write 1 to a pin to use it as an input.

Applications

Alternatives

Buy at

Common questions

What is the PCF8574 I/O expander module used for?

In maker projects: extra buttons.

How does the PCF8574 I/O expander module work?

Eight quasi-bidirectional I/O pins controlled over I2C.

What voltage does the PCF8574 I/O expander module need?

2.5 to 6 V.

How do I connect the PCF8574 I/O expander module to an Arduino or ESP32?

I2C. Pins: VCC GND (2.5 to 6 V), SDA SCL (I2C), A0 A1 A2 (Address (0x20 to 0x27, or 0x38 to 0x3F for PCF8574A)), P0 to P7 (I/O), INT (Interrupt).

What can I use instead of the PCF8574 I/O expander module?

MCP23017 I/O expander module and PCF8574 I/O expander.