Table of Contents

lamaPLC: PCF857x I/O Expander chip/modul with I²C communication

CF857x I/O Expander chip/modul with I²C communication The PCF857x series consists of I²C-based general-purpose I/O (GPIO) expanders manufactured by NXP and Texas Instruments. They allow microcontrollers (such as Arduino, ESP32, or Raspberry Pi) to control multiple digital pins with only two wires: Serial Data (SDA) and Serial Clock (SCL).

FeaturePCF8574 / PCF8574APCF8575
GPIO Count8-bit (8 pins)16-bit (16 pins)
I²C Base Address0x20 (PCF8574) / 0x38 (PCF8574A)0x20
Max Devices on 1 Bus8 units16 units
Operating Voltage2.5V to 6V2.5V to 5.5V
Interrupt OutputYes (Open-drain INT)Yes (Open-drain INT)

The current limits of the PCF857x are heavily lopsided because of its quasi-bidirectional architecture. It handles current entirely differently depending on whether you are sinking current (outputting 0/LOW) or sourcing it (outputting 1/HIGH).

The I²C LCD adapter utilizes the PCF8574.

Main Control & Power Header

8/16-Bit I/O Extension Pins

Sinking Current (Output LOW / Connecting to Ground)

Sourcing Current (Output HIGH / Connecting to VCC)

This is the weak mode meant mostly for sensing state changes.

How to Correctly Wire Components

PCF8575 I/O How to Correctly Wire Components

Wiring with relay modules

Connecting optocoupled relay modules to the PCF8575 is a common practice, but it requires strict electrical care. Because of the chip's asymmetrical quasi-bidirectional ports, a mistake in how you trigger the relay will prevent it from working entirely.

The Triggering Rule: Active LOW Only

For example, the HL-54 (4-channel 3.3V optocoupled relay module) can be directly connected to the PCF8575. Because the HL-54 is hardwired as an Active LOW module, it is perfectly suited to the PCF8575's current limits.

I²C topics on lamaPLC

PageDateTags
2026/04/23 21:51, , , , , , ,
2025/09/23 21:25, , , , , ,
2026/04/15 19:34, , , , , , ,
2026/03/22 03:14, , , , , , ,
2026/04/23 21:52, , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , , , ,
2026/05/12 18:40, , , , , , ,
2026/04/23 21:52, , , , , , ,
2026/04/12 00:34, , , ,
2026/04/23 21:52, , , , , , , , , , , , , , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , ,
2026/04/23 21:52, , , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , ,
2026/04/23 21:52, , , , , , , ,
2025/05/31 23:32, , , , , , , ,
2026/04/23 21:52, , , , , , , , , , , , , ,
2025/11/22 00:07, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2023/07/01 17:29, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2026/03/22 01:44, , , , , , , , ,
2026/04/23 21:52, , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , , , , , , ,
2026/04/23 21:51, , , ,
2026/04/23 21:52, , , , , , , , , , , , , , , , , , , , , , , , ,
2026/04/11 19:54, , , , , , , , , , , , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , ,
2026/02/14 18:27, , , , , , , , , ,
2026/04/23 21:52, , , , , , ,
2026/04/23 21:52, , , , , , , ,
2026/05/08 00:03, , , , , , , , , , ,
2026/05/14 15:21, , , , , , , , ,
2026/04/23 21:52, , , , , , , ,
2026/05/12 16:20, , , , ,
2026/05/12 17:06, , , , , ,
2026/05/12 21:06, , , , , , ,
2026/05/12 18:58, , , , , , ,
2026/04/23 21:52, , , , , , , , , , , , ,
2026/04/15 19:41, , , , , , , , , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , , , , ,
2026/02/14 23:47, , , ,
2026/02/14 23:51, , , , , ,
2026/02/14 18:26, , , ,
2026/04/23 21:52, , , , , , , , , , , , ,
2026/04/23 21:52, , , , , , , , , , ,
2026/04/23 21:52, , , , , , , ,
2026/03/05 21:19, , , , , , , , , , , , , , , , ,
2026/02/14 18:27, , , , , , ,




This page has been accessed for: Today: 4, Until now: 4