PCF8574PW - 8-bit I2C I/O Expander 20-TSSOP | Texas Instruments (Tape & Reel)
MPN: PCF8574PW ✓ NakahandaPCF8574PW Ulas
An I/O expander is a type of interface IC that sits between a host controller (typically a microcontroller with limited GPIO) and external peripherals, translating a serial bus into multiple parallel digital lines. The PCF8574 belongs to the I2C I/O expander family -> interface IC -> integrated circuit -> semiconductor. By cascading multiple devices, designers can scale I/O count without redesigning the host board, making I/O expanders essential in space-constrained and pin-limited embedded designs.
Key features include 8 quasi-bidirectional I/O pins, 100 kHz I2C clock rate, three hardware address pins (A0-A2) allowing up to 8 devices on the same bus (16 combined with PCF8574A), an active-low interrupt output that wakes the host on input changes, and low standby current of 2.5 uA typical. The PCF8574 uses the I2C address base 0x20 (PCF8574A uses 0x38), supporting up to 16 devices on a single bus for 128 I/Os.
The quasi-bidirectional I/O architecture eliminates the need for a direction control register by using a clever pull-up/pull-down scheme, simplifying firmware. Each I/O can source 25 mA (LED drive capability) and sink up to 25 mA, sufficient to drive LEDs, keypads, or relay coils directly without buffering.
Typical applications include keypad scanning for human-machine interfaces, LED driving for status indicators and display backlights, GPIO expansion for Raspberry Pi or ESP32-based projects, and industrial control panels. The wide 2.5 V to 6 V VCC range allows interfacing with both 3.3 V and 5 V logic without level shifters.
When designing with this device, note that quasi-bidirectional I/Os are weak when transitioning to high - add an external pull-up resistor (typically 10 kohm) if driving heavy capacitive loads. The INT pin must be acknowledged by the host to clear the interrupt condition.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
Mga alternatibo na pwedeng ilagay na PCF8574PW — parehas na package, pin-to-pin na katugmang. Hindi kasama ang mga bahagi ng iba't-ibang package na nangangailangan ng pagpapaayos ng PCB.
Variante sa Seri na ito
Katulad na modelo sa serye na katugma sa pagpasok PCF8574PW (parehas na form factor at footprint) — pagkakaiba sa Package, Interface, Supply Voltage Range, Interrupt Output, Device Type.
PCF8574APWR
✅ Drop-In📋 Alternatibo na Reference (hindi sa katalogo)
PCF8574PWRG4
✅ Drop-In📋 Alternatibo na Reference (hindi sa katalogo)
PCF8574IPWR
✅ Drop-In📋 Alternatibo na Reference (hindi sa katalogo)
PCA9534PW
✅ Drop-InMagkontak para sa presyo
Tingnan ang Datasheet →PCA9670PW
✅ Drop-In📋 Alternatibo na Reference (hindi sa katalogo)
PCF8574PW Mga Spesipikasyon
| Fungsi | I/O Expander |
| Number of I/O | 8 |
| Interface | I2C (SMBus compatible) |
| Clock Frequency (Max) | 100 kHz |
| I2C Address Base | 0x20 (PCF8574A: 0x38) |
| Supply Voltage (VCC) | 2.5 V to 6 V |
| Supply Current (Standby) | 2.5 uA typical |
| Interrupt Output | Yes (active-low INT) |
| Hardware Address Pins | 3 (A0, A1, A2) |
| Max Devices on Bus | 8 (16 combined with PCF8574A) |
| Output Drive (Source/Sink) | 25 mA / 25 mA per I/O |
| I/O Type | Quasi-bidirectional (no direction register) |
| Packhaging | 20-pin TSSOP (PW) |
| Temperature na Operasyon | -40 C to +85 C |
| Uri ng Pagpapasok | Surface Mount |
| Tindminan RoHS | Compliant |
| Level ng MSL | 1 (unlimited floor life) |
Pin Configuration ng PCF8574PW
| Pin 1 | INT — Interrupt output (active low) |
| Pin 2 | A0 — Hardware address bit 0 |
| Pin 3 | A1 — Hardware address bit 1 |
| Pin 4 | A2 — Hardware address bit 2 |
| Pin 5 | P0 — Quasi-bidirectional I/O 0 |
| Pin 6 | P1 — Quasi-bidirectional I/O 1 |
| Pin 7 | P2 — Quasi-bidirectional I/O 2 |
| Pin 8 | P3 — Quasi-bidirectional I/O 3 |
| Pin 9 | VCC — Supply voltage (2.5 V to 6 V) |
| Pin 10 | GND — Ground |
| Pin 11 | P4 — Quasi-bidirectional I/O 4 |
| Pin 12 | P5 — Quasi-bidirectional I/O 5 |
| Pin 13 | P6 — Quasi-bidirectional I/O 6 |
| Pin 14 | P7 — Quasi-bidirectional I/O 7 |
| Pin 15 | SCL — I2C serial clock |
| Pin 16 | SDA — I2C serial data |
| Pin 17 | NC — Not connected (per datasheet) |
| Pin 18 | NC — Not connected (per datasheet) |
| Pin 19 | NC — Not connected (per datasheet) |
| Pin 20 | NC — Not connected (per datasheet) |
Tipikal na mga Gamit
PCF8574PW ay nararapat para sa 6 aplikasyons: Raspberry Pi / ESP32 GPIO Expansion, Keypad Matrix Scanning, LED Status Indicators and Display Backlights, Industrial Control Panel I/O, I2C Sensor Hub / Multi-Sensor Aggregation, Arduino / Maker Project I/O Expansion.
Raspberry Pi / ESP32 GPIO Expansion
The PCF8574PW adds 8 general-purpose I/O pins to a Raspberry Pi or ESP32 host via the I2C bus, requiring only 2 wires (SCL/SDA) plus VCC/GND. With 25 mA source/sink per pin, it can directly drive LEDs, relays, or read button matrices without buffer transistors. The I2C base address 0x20 (or 0x38 with the A variant) avoids conflicts with common Pi peripherals. Quasi-bidirectional I/Os simplify firmware - no direction register to set before reads. Active-low INT output lets the host sleep and wake on input changes for battery-powered IoT nodes.
Inirekomenda
Keypad Matrix Scanning
The PCF8574PW is widely used for 4x4 or 3x4 matrix keypad scanning in human-machine interface (HMI) panels. The 8 quasi-bidirectional I/Os can be split into 4 row outputs and 4 column inputs, decoding up to 16 keys via scan-and-read cycles. The active-low INT pin signals the host MCU only when a key is pressed, eliminating polling overhead. With 2.5-6 V VCC range, it interfaces directly with both 3.3 V and 5 V MCUs. The 25 mA sink capability allows LED backlit key illumination without driver transistors.
Inirekomenda
LED Status Indicators and Display Backlights
Each PCF8574PW I/O can sink up to 25 mA, sufficient to directly drive indicator LEDs without driver transistors. With 8 I/Os, one expander controls 8 LEDs from 2 MCU pins. PWM dimming via software bit-banging allows brightness control. The PCF8574A variant (0x38 address) enables two expanders on one I2C bus for 16 LED control from 2 pins. Quasi-bidirectional architecture means no pull-up resistors are needed for low-side drive, simplifying PCB layout. Used in industrial control panels, appliance status displays, and arcade machine button lighting.
Inirekomenda
Industrial Control Panel I/O
The PCF8574PW's 2.5-6 V supply and -40 C to +85 C industrial temperature range suit factory automation control panels, PLC digital I/O modules, and sensor interface boards. The I2C bus allows up to 8 expanders per bus segment (16 with PCF8574A), supporting 64-128 isolated I/O points per I2C line. The active-low interrupt signals fault conditions to the host PLC immediately, critical for safety circuits. With 25 mA sink capability, it directly drives optocouplers and 24 V relay coils via external transistors for industrial-grade isolation.
Inirekomenda
I2C Sensor Hub / Multi-Sensor Aggregation
In IoT sensor hubs, the PCF8574PW acts as a low-cost I2C mux-like aggregator, allowing multiple sensors with address conflicts to share one bus through its I/Os as chip-select lines. The 2.5-6 V VCC range supports most digital sensors (BME280, MPU6050, etc.). The INT output wakes the host MCU when an external interrupt sensor (PIR, gas alarm) triggers. With 100 kHz I2C clock, polling latency stays below 10 ms for typical sensor reads. Suitable for smart home gateways, environmental monitors, and wearable health bands.
Inirekomenda
Arduino / Maker Project I/O Expansion
The PCF8574PW is a staple in Arduino and ESP8266/ESP32 maker communities, providing 8 extra digital I/Os from 2 analog pins (I2C). It directly drives 8 LEDs, reads 8 buttons, or controls 2 hobby servos (limited by current) without shields. The wide 2.5-6 V range works on both 5 V Arduino Uno and 3.3 V ESP32 boards. Libraries like Wire.h and PCF8574.h simplify I2C communication. Each I/O's 25 mA sink drives common-cathode LED arrays directly. The PCF8574APWR variant (0x38) is popular for multi-expander projects needing more than 8 I/Os.
Inirekomenda
Buod ng mga Inirekomendang Produkto
Impormasyon ng Talumpati sa Engineering for PCF8574PW — ikabit, gabay sa disenyo, at impormasyon ng pagsunod sa kautusan.
Paunawang Hanapin
Ikabit sa Mga Alternatibo
| Parametro | Ito ang Producto | PCF8574PW | PCF8574APWR | PCF8574PWG4 | PCA9534PW | PCA9670PW |
|---|---|---|---|---|---|---|
| Brand | Texas Instruments | Texas Instruments | Texas Instruments | Texas Instruments | NXP Semiconductors | NXP Semiconductors |
| Package | 20-TSSOP (PW) | 20-TSSOP (PW) - same | 20-TSSOP (PW) - same | 20-TSSOP (PW) - same | 20-TSSOP (PW) - same | 20-TSSOP (PW) - same |
| Number of I/O | 8 | 8 | 8 | 8 | 8 | 16 (double the I/O) |
| Supply Voltage | 2.5 V to 6 V | 2.5 V to 6 V | 2.5 V to 6 V | 2.5 V to 6 V | 2.3 V to 5.5 V | 1.0 V to 5.5 V (wider) |
| I2C Clock Max | 100 kHz | 100 kHz | 100 kHz | 100 kHz | 400 kHz (4x faster) | 1 MHz (10x faster) |
| I2C Base Address | 0x20 | 0x20 | 0x38 (different) | 0x20 | 0x20 | 0x20 |
| I/O Type | Quasi-bidirectional | Quasi-bidirectional | Quasi-bidirectional | Quasi-bidirectional | True bidirectional (direction register) | Quasi-bidirectional |
| Interrupt Output | Yes (active-low INT) | Yes | Yes | Yes | Yes (active-low INT) | Yes (active-low INT) |
Pangunahing mga Pagkakaiba
- Quasi-bidirectional I/O eliminates direction register (kumpara saMCP23017)
- Single-bit I2C addressing (A0-A2) for 8 devices per bus (kumpara saPCA9670PW)
- Wide 2.5 V to 6 V supply supports 5 V and 3.3 V systems (kumpara saPCA9534PW)
- 25 mA per-pin LED drive without external transistors (kumpara saPCA9670PW)
Talaan ng Disenyo
Quasi-bidirectional I/Os on the PCF8574PW are weakly pulled high internally and require an external pull-up resistor (typically 10 kohm) when used as inputs - the internal pull-up is only ~100 uA. For capacitive loads (long wires, large LED matrices), add a stronger external pull-up to ensure clean logic-high transitions. When driving LEDs as outputs, ground the cathode to the I/O pin and tie the anode to VCC via the LED's current-limiting resistor.
Place the PCF8574PW's 100 nF decoupling capacitor as close to VCC (pin 9) and GND (pin 10) as possible, using a wide ground trace. For I2C bus integrity in noisy industrial environments, add 4.7 kohm pull-ups on SCL (pin 15) and SDA (pin 16) - lower values (2.2 kohm) work better for bus lengths over 10 cm. Keep the I2C traces short and away from switching power or motor drive traces to minimize EMI coupling.
The INT (interrupt) pin on the PCF8574PW is active-low and must be cleared by reading or writing the I/O ports - it does NOT auto-clear. A common mistake is to read the input state without performing an explicit I2C read transaction, leaving the interrupt stuck asserted. According to the TI datasheet, any I2C access (read or write) clears the interrupt condition. For multi-device buses, ensure only the interrupting device's address is acknowledged, otherwise the interrupt will not clear properly.
The PCF8574PW's I2C lines (SCL/SDA) should never be driven above VCC or below GND - this can latch up the IC. Add series resistors or Schottky diodes to VCC/GND on the I2C lines if the bus might be hot-swapped or connected to a higher-voltage controller. According to TI datasheet absolute maximum ratings, DC voltage on any pin must remain within -0.5 V to VCC+0.5 V. The 2.5 uA typical standby current enables battery-powered designs where the expander can be left always-on.
Impormasyon ng Pagsunod sa Kautusan
RoHS compliant per TI product page. Not AEC-Q100 qualified - this is a commercial/industrial grade part. Reach SVHC compliant per EU regulation. MSL Level 1 per JEDEC J-STD-020. Lead-free (Pb-free) reflow-compatible per TI packaging specifications.