Adafruit PCF8575 I2C 16 GPIO Expander Breakout, Stemma QT/Qwiic, 5611
Adafruit PCF8575 I2C 16 GPIO Expander Breakout, Stemma QT/Qwiic, 5611
Expand your project opportunities 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 can place on one of these boards. Connect it via I2C and then you can send/receive I2C commands to control the GPIO pins for writing and reading. It will 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. On the back you can even add more expanders for massive I/O control. The PCF8575 is an ordinary and slightly unusual I2C expander for people used to the MCP230xx series: first it is very affordable - who doesn't love it? It has 16 I/O pins. Three I2C address search jumpers mean up to 8 expanders to a bus for 128 GPIO in total. Each pin can be an input with light pull-up or an output countersink its IRQ output will automatically notify you when the input pins change value. This chip has no pin direction register. You cannot set the pins as input or output - instead, each pin has two possible statuses. Basically, you can think of it as an open output with a built in 100K resistance pull-up. Option 1: Lightly wound "Input" - by default it is read as a high logic level, but connecting the GPIO to the ground will cause it to be read as a low logic level. Option two: Strong 20mA low-drive transistor output. This means that the output power is "forced" to be low and is always read as a low logic level.
Product Features
- It has 16 I/O pins
- Three I2C address selection bridges mean up to 8 expanders added to one bus for 128 total GPIO.
- Each pin can be an input with light pull up or an output sink.
- IRQ output will automatically alert you when the input pins change valueRPA2 0232023This chip has no 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 built-in 100K resistor.