PCF8574 I/O expander: 8 pins over I2C, 2.5 to 6 V

An I2C port expander that adds eight pins: supply, standby current, quasi-bidirectional I/O and interrupt, and how to wire LEDs to it.

By Jignesh Panchal · Editorial & verification standards

  • TypeBoards
  • LevelBeginner
  • ReviewedNov 2026

The PCF8574 is an I2C-to-parallel port expander: two wires give you eight extra input/output pins, powered from 2.5 to 6 V with a standby current of at most 10 µA. It is the chip behind the small backpack on most character LCDs, and it is a quick fix when a robot runs out of GPIO. Figures are from the Texas Instruments PCF8574 datasheet SCPS068K.

Key specifications

Function8-bit I2C I/O expander
Supply2.5–6 V
Standby10 µA max
I/O8 quasi-bidirectional pins
Interruptopen-drain output
Power-onall pins high

What the datasheet promises

ItemDatasheet value
Function8-bit I2C to parallel-port expander
Supply voltage2.5 to 6 V
Standby current10 µA maximum
I/O8 quasi-bidirectional pins (P0 to P7); each can be an input or an output with no direction register
OutputsLatched, with high-current drive for directly driving LEDs
InterruptOpen-drain interrupt output
Power-on stateAll I/O high, with only a weak current source to VCC active
PackagesTVSOP, SOIC, PDIP, TSSOP and VQFN

“Quasi-bidirectional” means a pin is read as an input by writing a 1 to it first, which leaves only the weak pull-up active so an external signal can pull it low. Drive current is much stronger when pulling low than when pulling high, so wire LEDs from the supply to the pin, not from the pin to ground.

Using it on a robot

  • Connect SDA and SCL to the I2C bus with pull-ups, and set the three address pins; keep the address clear of other devices such as the MPU6050.
  • Use the interrupt pin to avoid polling buttons or limit switches over I2C.
  • For more than eight outputs, a 74HC595 costs fewer bus transactions; for an address clash use the TCA9548A.
  • Do not drive motors or relays from a pin directly; use a driver such as the ULN2003A.

Sources and further reading

Last reviewed: November 2026. Limits are from the Texas Instruments datasheet; backpack boards vary. No price is quoted because it has not been checked.

Where to buy in India

These open a store search. Compare seller, price and reviews before you order.

Free: the final-year project pack

A shortlist with BOMs, a report outline that matches the usual chapter scheme, a costing sheet and 40 viva questions. Built for the February–April submission season.

The Build Note

One short email when something is worth your bench time.

A new build sheet, a part price that moved, or a mistake worth avoiding. No daily drip, no recycled news.

One short email when a build or a price is worth your time. Unsubscribe in one click.