PCF8574P - 8-Bit 100kHz I2C I/O Expander | NXP
MPN: PCF8574P ✓ نشطPCF8574P نظرة عامة
An I/O expander is an interface IC that increases the number of general-purpose input and output pins available to a host microcontroller. The PCF8574P uses serial clock and serial data lines to transfer port data over I2C, while the eight parallel port pins connect directly to switches, LEDs, indicators, keypads, or other external circuitry. Its place in the component hierarchy is interface IC, then I/O expander, then peripheral expansion device.
The PCF8574P provides 8-bit port control, 100 kHz I2C operation, three address-selection inputs, and an active-low open-drain interrupt output. The three address inputs allow multiple expanders to share the same SDA and SCL bus. The interrupt output lets a controller identify a change on an input port without continuously polling every expander. These features suit systems that need additional GPIO but have limited direct pins on the host controller.
The device consists of an 8-bit quasi-bidirectional port and an I2C interface. Each quasi-bidirectional port can be configured as an input or output, although outputs have a limited drive capability compared with general-purpose push-pull microcontroller pins. Pull-up resistors are required for open-drain I2C lines, and the external bus design must account for capacitance, pull-up strength, voltage compatibility, and the number of connected devices.
Typical applications include Arduino-compatible control boards, ESP32-based IoT controllers, LED and key-matrix interfaces, relay-control modules, industrial automation equipment, and embedded products requiring eight additional GPIO lines. The PCF8574P is especially useful when adding a modest number of pins is preferable to selecting a host microcontroller with a larger pin count or redesigning the main board.
For reliable operation, connect SDA and SCL to their required pull-ups and do not exceed the 2.5 V to 6 V operating range. Quasi-bidirectional inputs are internally pulled high, so external circuitry must actively sink the relevant port low to register a logic-low state. Confirm output-current requirements and bus timing before driving heavier loads.
This page combines manufacturer specifications, interface behavior, pin-level guidance, practical design notes, and same-package alternatives to support device selection, PCB layout, firmware planning, and sourcing decisions.
بدائل مباشرة لـ PCF8574P — نفس الحزمة، متوافق دبوس بدبوس. تُستثنى القطع ذات الحزم المختلفة التي تتطلب تعديل PCB.
الطرازات في هذه السلسلة
طرازات من نفس السلسلة متوافقة تمامًا مع PCF8574P (نفس عامل الشكل والبصمة) — يختلف في Package, Supply Voltage Range, Device Type, I2C Bus Frequency, Interface.
PCF8574P,112
✅ بديل مباشر📋 بديل مرجعي (غير موجود في الكتالوج)
PCF8574N
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PCF8574PN
✅ بديل مباشر📋 بديل مرجعي (غير موجود في الكتالوج)
PCF8574NG4
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PCF8574N
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PCF8574P المواصفات
| Device Type | Remote 8-bit I2C I/O expander with interrupt |
| Number of I/O Ports | 8 ports |
| Port Width | 8 bits |
| Supply Voltage Range | 2.5 V to 6 V |
| I2C Bus Frequency | 100 kHz |
| Bus Interface | Two-wire bidirectional I2C-bus |
| Serial Clock Pin | SCL |
| Serial Data Pin | SDA |
| Hardware Address Inputs | 3 inputs |
| Interrupt Output | 1 open-drain interrupt output |
| Port Type | 8 quasi-bidirectional I/O ports |
| العلبة | 16-pin DIP |
| نوع التركيب | Through-hole |
| I2C Pull-Up Requirement | External pull-up resistors required |
تكوين أطراف PCF8574P
| دبوس 1 | A0 — Hardware address input A0 |
| دبوس 2 | A1 — Hardware address input A1 |
| دبوس 3 | A2 — Hardware address input A2 |
| دبوس 4 | P0 — Quasi-bidirectional I/O port P0 |
| دبوس 5 | P1 — Quasi-bidirectional I/O port P1 |
| دبوس 6 | P2 — Quasi-bidirectional I/O port P2 |
| دبوس 7 | P3 — Quasi-bidirectional I/O port P3 |
| دبوس 8 | GND — Ground connection |
| دبوس 9 | P4 — Quasi-bidirectional I/O port P4 |
| دبوس 10 | P5 — Quasi-bidirectional I/O port P5 |
| دبوس 11 | P6 — Quasi-bidirectional I/O port P6 |
| دبوس 12 | P7 — Quasi-bidirectional I/O port P7 |
| دبوس 13 | INT — Open-drain interrupt output |
| دبوس 14 | SDA — Serial data input and output |
| دبوس 15 | SCL — Serial clock input |
| دبوس 16 | VDD — Positive supply voltage |
التطبيقات النموذجية
PCF8574P مناسب لـ 6 التطبيقs: Arduino GPIO Expansion, ESP32 IoT Control Interface, LED and Human-Interface Control, Industrial Relay and Discrete Control, Automation Data Acquisition, Embedded Access and Security Panels.
Arduino GPIO Expansion
The PCF8574P adds eight quasi-bidirectional ports to an Arduino-compatible controller without consuming direct digital pins for every accessory. It communicates through SDA and SCL at up to 100 kHz, while three hardware address inputs permit additional expanders on the same bus. The 16-pin DIP package is useful for through-hole prototype boards and industrially wired control panels. Use suitable I2C pull-ups and confirm the board's logic voltage. The ports are better suited to indicator LEDs, push buttons, and relay-control inputs than to high-speed or high-current outputs.
موصى به
ESP32 IoT Control Interface
The PCF8574P is useful in ESP32-based IoT devices when the wireless module needs additional lines for status indicators, sensors, or control inputs. Its 100 kHz I2C-bus remains compatible with common embedded I2C implementations, and the 2.5 V to 6 V operating range supports typical 3.3 V and 5 V systems when the I2C pull-ups are correctly referenced. Three address inputs simplify multi-expander addressing. Keep the wiring short, place pull-ups at the bus master, and avoid relying on the quasi-bidirectional ports for signals that require fast edge rates.
موصى به
LED and Human-Interface Control
The PCF8574P can consolidate LED indicators, push buttons, and selector inputs in a human-interface panel. Eight quasi-bidirectional ports provide enough parallel lines for a compact keypad or mixed indicator and switch board, while the interrupt output allows the host controller to react when an input changes. The I2C transfer rate of 100 kHz is adequate for ordinary panel updates. Verify each port's source and sink-current limits, use current-limiting resistors for LEDs, and account for the port pull-up behavior when designing debounce and input-conditioning circuits.
موصى به
Industrial Relay and Discrete Control
The PCF8574P can provide a compact low-speed control interface for relay drivers, discrete sensors, and alarm lines in industrial equipment. Its eight ports reduce the number of direct host-controller pins needed, and the 100 kHz I2C-bus is suitable for command and status traffic rather than real-time sampling. The open-drain interrupt output supports event notification from input ports. Separate the low-current logic side from inductive or high-energy loads, use appropriate driver transistors, and add protection networks for long wiring runs and electrically harsh environments.
موصى به
Automation Data Acquisition
The PCF8574P can collect several low-speed digital signals in automation and data-acquisition equipment while leaving the main controller available for higher-level tasks. Eight ports can represent switch states, direction commands, interlocks, or equipment-enable signals, and three address inputs allow expansion when another bank is required. The interrupt output reduces unnecessary polling in master/slave arrangements. Use the 100 kHz bus rate only for suitably slow signals, account for contact bounce, and add filtering or isolation where field wiring introduces transients and ground-potential differences.
موصى به
Embedded Access and Security Panels
The PCF8574P is suitable for low-speed access-control panels, alarm interfaces, and keypad-based security equipment where a small controller needs more discrete lines. The expander can supervise door, tamper, or status inputs and operate indicator or latch-control outputs over I2C. The interrupt output provides a practical way to flag input changes without continuous polling. Security designs should not treat a quasi-bidirectional port as a high-integrity isolated input; use appropriate isolation, debounce, surge protection, and fail-safe power architecture based on the installation hazard and required safety level.
موصى به
ملخص المنتجات الموصى بها
بيانات مرجعية هندسية لـ PCF8574P — المقارنة وإرشادات التصميم ومعلومات الامتثال.
دليل الاختيار
المقارنة مع البدائل
| المعامل | هذا المنتج | PCF8574P,112 | PCF8574N | PCF8574PN | PCF8574NG4 | PCF8574N |
|---|---|---|---|---|---|---|
| Package | DIP-16 | DIP-16 | DIP-16 | DIP-16 | DIP-16 | DIP-16 |
| Brand | NXP Semiconductors | NXP Semiconductors | NXP Semiconductors | NXP Semiconductors | NXP Semiconductors | Texas Instruments |
| I/O Port Count | 8 | 8 | 8 | 8 | 8 | 8 |
| Supply Voltage Range | 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.5 V to 6 V | 2.5 V to 6 V |
| I2C Bus Frequency | 100 kHz | 100 kHz | 100 kHz | 100 kHz | 100 kHz | 100 kHz |
| Hardware Address Inputs | 3 | 3 | 3 | 3 | 3 | 3 |
| Interrupt Output | Yes | Yes | Yes | Yes | Yes | Yes |
| Port Architecture | Quasi-bidirectional | Quasi-bidirectional | Quasi-bidirectional | Quasi-bidirectional | Quasi-bidirectional | Quasi-bidirectional |
| Interrupt Output Type | Open-drain | Open-drain | Open-drain | Open-drain | Open-drain | Open-drain |
| Supply Pin Count | 1 | 1 | 1 | 1 | 1 | 1 |
أبرز الفروقات
- Provides interrupt-supported input monitoring (مقابلPCF8574P,112)
- Offers three address inputs for multi-expander expansion (مقابلPCF8574N)
- Supports the same core interface envelope across manufacturers (مقابلPCF8574N)
ملاحظات التصميم
Place the PCF8574P close to the devices connected to P0-P7, and keep the eight port traces away from high-current switching nodes to minimize coupling. Route SDA and SCL away from relay-coil wiring and other sources of high di/dt transients. For long external leads, place the ESD protection device near the connector and the expander near the logic ground reference so surge current does not flow through sensitive board traces.
Use pull-up resistors on both SDA and SCL, referenced to the same compatible logic voltage as the bus. Select resistance using the bus capacitance, the host controller's sink-current limit, and the required rise time rather than applying one value universally. Verify that every connected device tolerates the selected pull-up voltage. The PCF8574P operates from 2.5 V to 6 V, but the host and peripheral devices must share compatible logic levels.
Do not assume the quasi-bidirectional ports behave like ordinary push-pull GPIO. Their internal pull-ups are relevant when a port is read as an input, and an external driver may be required for reliable low-level input states. A high-impedance external signal can therefore behave unexpectedly. For an input port, actively drive the line high or low within the allowed voltage and current limits, and consult the datasheet for the required output-drive arrangement.
Confirm the slave-address table for every selected family member before finalizing firmware. PCF8574 and PCF8574A naming can suggest interchangeability even though their address mappings differ. Record the A0, A1, and A2 strapping in the schematic and test documentation. Also verify interrupt polarity and clearing behavior in software; INT is an open-drain output and normally requires an external pull-up.
معلومات الامتثال
No definitive RoHS, REACH, AEC-Q100, lead-free, halogen-free, or conflict-minerals statements were identified for the exact ordering code.