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
| Function | 8-bit I2C I/O expander |
|---|---|
| Supply | 2.5–6 V |
| Standby | 10 µA max |
| I/O | 8 quasi-bidirectional pins |
| Interrupt | open-drain output |
| Power-on | all pins high |
What the datasheet promises
| Item | Datasheet value |
|---|---|
| Function | 8-bit I2C to parallel-port expander |
| Supply voltage | 2.5 to 6 V |
| Standby current | 10 µA maximum |
| I/O | 8 quasi-bidirectional pins (P0 to P7); each can be an input or an output with no direction register |
| Outputs | Latched, with high-current drive for directly driving LEDs |
| Interrupt | Open-drain interrupt output |
| Power-on state | All I/O high, with only a weak current source to VCC active |
| Packages | TVSOP, 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
- Texas Instruments PCF8574 datasheet (SCPS068K) — the supply, standby current, I/O behaviour, interrupt and packages above.
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.