Adafruit MCP23017 I2C GPIO Expander Breakout - STEMMA QT / Qwiic

Product ID: 5346
Qty Discount
1-9 $5.95
10-99 $5.36
100+ $4.76


We’ve gotten a lot of requests for a MCP23017 breakout and we’ve always sorta been like “ehh why not just use the DIP chip?” but with STEMMA QT we could see the use case for a plug and play version that comes with all the passives on board. This Adafruit MCP23017 I2C GPIO Expander Breakout has 16 GPIO with matching ground pad.

We particularly like the '17 as an expander for it's simple no-nonsense capability. It runs happily from 3V or 5V logic and power. Each GPIO can be an output driving up to 25mA, so LEDs are no problem. Or, each can be an input, with optional pullup. There are two IRQ pins that are configurable for what inputs to keep track of so no I2C bus polling is required. With 3 address pins, you can have up to 8 on a single bus for a total of 8 x 16 = 128 GPIO all on one I2C bus!

Please note that despite having a row of "PORT A" pins A0-A7, these are digital I/O only, not analog inputs.

We've got solid Arduino and CircuitPython libraries with examples, all ready for this chip. But even if you are using some other platform, the MCP23017 is so classic, you'll likely be able to find example code.

Comes with two sticks of header so you can use it in a breadboard, with some soldering. You can also free-wire buttons by connecting one side to the GPIO (set as input with pullup) and the other side to a ground pad.

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 MCP23017 or to chain it with a wide range of other sensors and accessories using a compatible cable.

QT Cable is not included, but we have a variety in the shop

Play video: JP’s Product Pick of the Week 2/22/22 MCP23017 16 IO Expander @adafruit @johnedgarpark #adafruit

Play video: New Products 1/5/2022 Featuring #Adafruit ESP32-S2 TFT Feather - 4MB Flash, 2MB PSRAM, STEMMA QT!

Play video: What is Stemma QT? #adafruit #stemma

Technical Details

Revision History:

  • As of June 21, 2023 – we've updated this PCB with Adafruit Pinguin to make a lovely and legible silkscreen - you may get the new PCB or the older version with vector fonts - both are identical other than the fancy silkscreen.

Product Dimensions: 43.0mm x 18.0mm x 5.0mm / 1.7" x 0.7" x 0.2"

RoHS 2 2011 65 EU Compliant
RoHS 2 2015 863 EU Compliant


Add more GPIO to your project over I2C!
Create a meditative audio player