PCF8574P - 8-Bit 100kHz I2C I/O Expander | NXP
MPN: PCF8574P ✓ Hoạt độngPCF8574P Tóm tắt
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.
Bộ thay thế dễ dàng lắp đặt cho PCF8574P — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PCF8574P (cùng hình factor và footprint) — khác nhau ở Package, Supply Voltage Range, Device Type, I2C Bus Frequency, Interface.
PCF8574P,112
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PCF8574N
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PCF8574PN
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PCF8574NG4
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PCF8574N
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PCF8574P Thông số kỹ thuật
| 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 |
| Hộp | 16-pin DIP |
| Kiểu lắp đặt | Through-hole |
| I2C Pull-Up Requirement | External pull-up resistors required |
Cấu hình chân PCF8574P
| Chân 1 | A0 — Hardware address input A0 |
| Chân 2 | A1 — Hardware address input A1 |
| Chân 3 | A2 — Hardware address input A2 |
| Chân 4 | P0 — Quasi-bidirectional I/O port P0 |
| Chân 5 | P1 — Quasi-bidirectional I/O port P1 |
| Chân 6 | P2 — Quasi-bidirectional I/O port P2 |
| Chân 7 | P3 — Quasi-bidirectional I/O port P3 |
| Chân 8 | GND — Ground connection |
| Chân 9 | P4 — Quasi-bidirectional I/O port P4 |
| Chân 10 | P5 — Quasi-bidirectional I/O port P5 |
| Chân 11 | P6 — Quasi-bidirectional I/O port P6 |
| Chân 12 | P7 — Quasi-bidirectional I/O port P7 |
| Chân 13 | INT — Open-drain interrupt output |
| Chân 14 | SDA — Serial data input and output |
| Chân 15 | SCL — Serial clock input |
| Chân 16 | VDD — Positive supply voltage |
Ứng dụng tiêu biểu
PCF8574P phù hợp cho 6 Áp dụngs: 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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PCF8574P — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | 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 |
Bảo phân biệt quan trọng
- Provides interrupt-supported input monitoring (vsPCF8574P,112)
- Offers three address inputs for multi-expander expansion (vsPCF8574N)
- Supports the same core interface envelope across manufacturers (vsPCF8574N)
Ghi chú thiết kế
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.
Thông tin tuân thủ
No definitive RoHS, REACH, AEC-Q100, lead-free, halogen-free, or conflict-minerals statements were identified for the exact ordering code.