8-bit quasi-bidirectional I²C I/O expander
PCF8574 Working Principle
Learn how PCF8574 works with an illustrated explanation and practical readings.
Package view
PCF8574 at a glance
Follow the labeled connections and functional stages
How it works
3 stages · Explore one step at a time
Choose an address
Tie A2–A0 to fixed levels. All LOW selects the 7-bit address 0x20.
Write the output latch
Send a single port byte. A zero sinks a load, while one releases the line for input or a weak HIGH.
Read and service changes
Read the physical port state and service INT. Debounce switches in firmware and preserve input bits in the output shadow.
Step 1 of 3