Skip to main content
PartAndStock
Blog

What Is the PCF8574? I2C I/O Expander: Pinout and Uses

October 16, 2026 5 min read
Quick answer

The PCF8574 is an I/O expander that adds 8 GPIO over I2C. Using just SDA/SCL it increases an MCU's pin count; its most common use is I2C LCD backpack boards. With the address pins (A0–A2) up to 8 can share one bus. Its pins are quasi-bidirectional: strong pull-low, weak pull-high.

The PCF8574 is an I/O expander that adds 8 general-purpose I/O (GPIO) pins over I2C. Using just 2 I2C lines (SDA/SCL) it increases an MCU's pin count. Its most common use is I2C LCD "backpack" boards. For the concept, see what is I2C.

What is the PCF8574 used for?

Pin saving: 8 GPIO from 2 I2C lines. Reading buttons, driving LEDs/relays and especially driving a 16x2 LCD over I2C (LCD backpack). With the address pins (A0–A2) up to 8 PCF8574s can share one bus.

PCF8574 pinout (DIP-16)

PinFunctionPinFunction
1A0 (address)16VCC
2A1 (address)15SDA
3A2 (address)14SCL
4P013INT (interrupt output)
5P112P7
6P211P6
7P310P5
8GND9P4

Watch out: quasi-bidirectional

The PCF8574's pins are "quasi-bidirectional": they pull low strongly but pull high with a weak pull-up. So as an output it sources current weakly (you usually wire an LED between the pin and VCC, with inverted logic). To read an input you must first drive the pin high.

Limitations

  • Weak high-drive on outputs (good for sinking, not sourcing).
  • Limited by I2C speed; for fast GPIO use a direct MCU pin.

Equivalents and alternatives

  • PCF8574A: a version with a different I2C address range.
  • PCF8575: the 16-bit version.
  • MCP23017: a true bidirectional 16-bit I2C/SPI expander.

Find it in our catalog

Use the PCF8574 search.

Frequently Asked Questions

What is the PCF8574?+
The PCF8574 is an I/O expander that adds 8 GPIO over I2C. Using just SDA/SCL it increases an MCU's pin count; its most common use is I2C LCD backpack boards.
What is the PCF8574 pinout?+
DIP-16: 1-3 address (A0–A2), 4-7 and 9-12 GPIO (P0–P7), 8 GND, 13 INT, 14 SCL, 15 SDA, 16 VCC.
How many PCF8574s can share one bus?+
With the A0–A2 address pins up to 8 PCF8574s can share one I2C bus (the PCF8574A gives a further address range).
Why is the PCF8574's output weak?+
The pins are quasi-bidirectional: they pull low strongly but pull high with a weak pull-up. So an output is good for sinking current; an LED is usually wired between the pin and VCC with inverted logic.
What is an equivalent to the PCF8574?+
The differently-addressed PCF8574A; the 16-bit PCF8575; the truly bidirectional MCP23017.