PCF8574PWR - 8-bit I2C I/O Expander 20-TSSOP | Texas Instruments
MPN: PCF8574PWR ✓ چالاکPCF8574PWR گشتی
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.
جێگرەوەکانی جێگۆڕکێ بۆ PCF8574PWR — هەمان پاکەت، پین بە پین گونجاو. ئەو بەشانەی پاکەتی جیاوازیان هەیە و پێویستیان بە چاککردنەوەی PCB هەیە لابراون.
جۆرەکان لەم زنجیرەیەدا
مۆدێلەکانی هەمان زنجیرە کە بە شێوەی ڕاستەوخۆ گونجاون لەگەڵ PCF8574PWR (هەمان شێوە و پێکهاتەی شوێن) — جیاوازە لە Package, Interface, Interrupt Output, Device Type, Number of I/O Lines.
PCF8574PW
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PCF8574APWR
✅ جێگرەوەی ڕاستەوخۆ📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PCF8574PWRG4
✅ جێگرەوەی ڕاستەوخۆ📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PCF8574IPWR
✅ جێگرەوەی ڕاستەوخۆ📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PCA9534PW
✅ جێگرەوەی ڕاستەوخۆپەیوەندی بۆ نرخ
بینینی داتاشیت →PCA9670PW
✅ جێگرەوەی ڕاستەوخۆ📋 جێگرەوەی سەرچاوە (لە کاتالۆگدا نییە)
PCF8574PWR تایبەتمەندییەکان
| کارکردن | I/O Expander |
| Number of I/O | 8 |
| ڕووکار | 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) |
| پاکێج | 20-pin TSSOP (PW) |
| پلەی گەرمیی کارکردن | -40 C to +85 C |
| جۆری دامەزراندن | Surface Mount |
| دۆخی RoHS | Compliant |
| ئاستی MSL | 1 (unlimited floor life) |
ڕێکخستنی پینی PCF8574PWR
| پین 1 | INT — Interrupt output (active low) |
| پین 2 | A0 — Hardware address bit 0 |
| پین 3 | A1 — Hardware address bit 1 |
| پین 4 | A2 — Hardware address bit 2 |
| پین 5 | P0 — Quasi-bidirectional I/O 0 |
| پین 6 | P1 — Quasi-bidirectional I/O 1 |
| پین 7 | P2 — Quasi-bidirectional I/O 2 |
| پین 8 | P3 — Quasi-bidirectional I/O 3 |
| پین 9 | VCC — Supply voltage (2.5 V to 6 V) |
| پین 10 | GND — Ground |
| پین 11 | P4 — Quasi-bidirectional I/O 4 |
| پین 12 | P5 — Quasi-bidirectional I/O 5 |
| پین 13 | P6 — Quasi-bidirectional I/O 6 |
| پین 14 | P7 — Quasi-bidirectional I/O 7 |
| پین 15 | SCL — I2C serial clock |
| پین 16 | SDA — I2C serial data |
| پین 17 | NC — Not connected (per datasheet) |
| پین 18 | NC — Not connected (per datasheet) |
| پین 19 | NC — Not connected (per datasheet) |
| پین 20 | NC — Not connected (per datasheet) |
بەکارهێنانە باوەکان
PCF8574PWR گونجاوە بۆ 6 بەکارھێنانs: 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 PCF8574PWR 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.
پێشنیارکراو
Keypad Matrix Scanning
The PCF8574PWR 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.
پێشنیارکراو
LED Status Indicators and Display Backlights
Each PCF8574PWR 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.
پێشنیارکراو
Industrial Control Panel I/O
The PCF8574PWR'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.
پێشنیارکراو
I2C Sensor Hub / Multi-Sensor Aggregation
In IoT sensor hubs, the PCF8574PWR 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.
پێشنیارکراو
Arduino / Maker Project I/O Expansion
The PCF8574PWR 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.
پێشنیارکراو
کورتەی بەرهەمە پێشنیارکراوەکان
داتای سەرچاوەی ئەندازیاری بۆ PCF8574PWR — بەراوردکردن، ڕێنمایی دیزاین و زانیاری پابەندبوون.
ڕێنمایی هەڵبژاردن
بەراوردکردن لەگەڵ جێگرەوەکان
| پارامەتر | ئەم بەرهەمە | PCF8574PW | PCF8574APWR | PCF8574PWRG4 | 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) |
جیاکەرەوە سەرەکییەکان
- Quasi-bidirectional I/O eliminates direction register (بەراورد بەMCP23017)
- Single-bit I2C addressing (A0-A2) for 8 devices per bus (بەراورد بەPCA9670PW)
- Wide 2.5 V to 6 V supply supports 5 V and 3.3 V systems (بەراورد بەPCA9534PW)
- 25 mA per-pin LED drive without external transistors (بەراورد بەPCA9670PW)
تێبینییەکانی دیزاین
Quasi-bidirectional I/Os on the PCF8574PWR 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 PCF8574PWR'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 PCF8574PWR 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 PCF8574PWR'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.
زانیاری پابەندبوون
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.