Expand your project possibilities, with the Adafruit PCF8575 GPIO Expander Breakout - an affordable 16 channel I2C expander.

GPIO expanders work like this: you have a board with some number of GPIO but not enough for your project - maybe you need more buttons or LEDs. You could upgrade to a board with massive number of GPIO like the Grand Central, or you could pop on one of these boards. Connect it over I2C and then you can send/receive I2C commands to control the GPIO pins to write and read them. It's going to be slower than direct GPIO access, but maybe that doesn't matter if it takes a millisecond instead of a microsecond. You only need the two I2C pins, and you can even share the I2C port with other sensors and devices. Heck, you can even add more expanders for massive I/O control!

The PCF8575 is a common and slightly unusual I2C expander for folks who are used to the MCP230xx series:

  • First up, it's very affordable - who doesn't love that?
  • It has 16 I/O pins
  • Three I2C address select jumpers mean up to 8 expanders to one bus for 128 total GPIO added
  • Each pin can be an input with light pull-up or an output sink
  • IRQ output will automatically alert you when input pins change value
  • This chip does not have a pin direction register. You cannot set the pins as input or output - instead, each pin has two possible states. Basically, you can think of it as an open-drain output with a 100K resistor pull-up built in.
  • Option one: Lightly pulled up 'input' - by default it will read as a high logic level, but connecting the GPIO to ground will cause it to read as a low logic level.
  • Option two: Strong 20mA low-driving transistor sink output. This means the output is 'forced' to be low and will always read as a low logic level.
The pin direction / state thing is a little odd but it actually works fine for many purposes as long as you know what to expect.

For example, if you want to read a button or switch, connect one side to the PCF and the other side to ground. Then set the pin to 'light pull-up input' When the button is pressed it will read low, when released it will read high.

If you want to control an LED, connect the anode to positive voltage through a resistor. When the PCF pin is set to 'light pull-up input' the LED will be off. When the PCF pin is set to 'strong ground output' the LED will connect to ground and turn on.

If you want to receive a GPIO input logic level, set the pin to light pull-up and then read the pin to determine if the GPIO input is high or low.

Basically, the only thing to watch for is you cannot drive an LED that is expecting the expander GPIO to go high to turn on the LED or connect a button input to a positive voltage without adding an additional pull-down resistor. If this is a bit confusing, worry not - all this stuff is taken care of for you in our Arduino PCF8574/5 library or CircuitPython/Python PCF8575 library - you can pretend it has input/output modes and the library will fake out what you are expecting.

To get you going fast, we spun up a custom-made PCB in the STEMMA QT form factor, making it easy to interface with. The STEMMA QT connectors on either side are compatible with the SparkFun Qwiic I2C connectors. This allows you to make solderless connections between your development board and the PCF8575 or to chain it with a wide range of other sensors and accessories using a compatible cable.


Package Includes :
  • 1 x Adafruit 5611 PCF8575 I2C 16 GPIO Expander Breakout - STEMMA QT / Qwiic

Write a review

Please login or register to review

Adafruit 5611 PCF8575 I2C 16 GPIO Expander Breakout - STEMMA QT / Qwiic

  • Brand: Adafruit
  • Product Code:NR-Ada-GPIO-Expander-Breakout-I2C
  • Reward Points:7
  • Availability:In Stock
  • रo 757.56

  • Ex Tax:रo 642.00
  • Price in reward points:677

  • 45 or more रo 664.34
  • 240 or more रo 660.80

Related Products

Adafruit 5640 Si5351A Clock Generator with STEMMA QT - 8KHz to 160MHz

Adafruit 5640 Si5351A Clock Generator with STEMMA QT - 8KHz to 160MHz

Never hunt around for another crystal again, with the Si5351A clock generator breakout from Adafruit..

रo 1,012.44 Ex Tax:रo 858.00

Adafruit 5664 PCA9546 4-Channel STEMMA QT / Qwiic I2C Multiplexer - TCA9546A Compatible

Adafruit 5664 PCA9546 4-Channel STEMMA QT / Qwiic I2C Multiplexer - TCA9546A Compatible

You just found the perfect I2C sensor, available in a handy chainable Qwiic, or STEMMA QT package, a..

रo 502.68 Ex Tax:रo 426.00

Adafruit 5663 PCA9546 4-Channel I2C Multiplexer - TCA9546A Compatible

Adafruit 5663 PCA9546 4-Channel I2C Multiplexer - TCA9546A Compatible

You just found the perfect I2C sensor, and you want to wire up two or three or more of them to your ..

रo 502.68 Ex Tax:रo 426.00

Adafruit 5637 QT 5V to 3V Level Shifter Breakout - STEMMA QT / Qwiic

Adafruit 5637 QT 5V to 3V Level Shifter Breakout - STEMMA QT / Qwiic

If you're hankerin' to use the new Qwiic / Stemma QT standard for your next project - but you're sti..

रo 375.24 Ex Tax:रo 318.00

Adafruit 5545 PCF8574 I2C GPIO Expander Breakout - STEMMA QT / Qwiic

Adafruit 5545 PCF8574 I2C GPIO Expander Breakout - STEMMA QT / Qwiic

Expand your project possibilities, with the Adafruit PCF8574 GPIO Expander Breakout - an affordable ..

रo 630.12 Ex Tax:रo 534.00

Adafruit 2045 Si5351A Clock Generator Breakout Board - 8KHz to 160MHz

Adafruit 2045 Si5351A Clock Generator Breakout Board - 8KHz to 160MHz

Never hunt around for another crystal again, with the Si5351A clock generator breakout from Adafruit..

रo 1,012.44 Ex Tax:रo 858.00

Adafruit 5651 ScoutMakes FM Radio Board - STEMMA QT / Qwiic

Adafruit 5651 ScoutMakes FM Radio Board - STEMMA QT / Qwiic

The ScoutMakes FM Radio Board is a great way to learn about the world of electronics. It is an I2C b..

रo 3,970.70 Ex Tax:रo 3,365.00

Adafruit 5665 Sensirion SHT45 Precision Temperature & Humidity Sensor - STEMMA QT / Qwiic

Adafruit 5665 Sensirion SHT45 Precision Temperature & Humidity Sensor - STEMMA QT / Qwiic

Sensirion Temperature/Humidity sensors are some of the finest & highest-accuracy devices you can..

रo 1,593.00 Ex Tax:रo 1,350.00

Adafruit 3071 RFM69HCW Transceiver Radio Breakout - 433 MHz - RadioFruit

Adafruit 3071 RFM69HCW Transceiver Radio Breakout - 433 MHz - RadioFruit

"You see, wire telegraph is a kind of a very, very long cat.  You pull his tail in New York and..

रo 1,268.50 Ex Tax:रo 1,075.00

Adafruit 3070 RFM69HCW Transceiver Radio Breakout - 868 or 915 MHz - RadioFruit

Adafruit 3070 RFM69HCW Transceiver Radio Breakout - 868 or 915 MHz - RadioFruit

"You see, wire telegraph is a kind of a very, very long cat.  You pull his tail in New York and..

रo 1,268.50 Ex Tax:रo 1,075.00

Tags: Adafruit, Expander, GPIO, Breakout, STEMMA QT / Qwiic

The product is currently Out-of-Stock. Enter your email address below and we will notify you as soon as the product is available.

Name
Email
Phone
Comments