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
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 spec | Value |
|---|---|
| Function | 8-bit I/O expander |
| Supply voltage | 2.5 to 6 V |
| Interface | I2C |
| Logic level | Matches 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
Extra buttons
Builds that use it
Alternatives
- MCP23017 I/O expander moduleSixteen pins
- PCF8574 I/O expanderBare chip
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.
