Adafruit MCP23017 I2C GPIO Expander Breakout - STEMMA QT / Qwiic
Qty | Discount |
---|---|
1-9 | $5.95 |
10-99 | $5.36 |
100+ | $4.76 |
Description
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.
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"
Learn
![](http://cdn-learn.adafruit.com/guides/images/000/003/551/medium640/5346-00.jpg)
![](http://cdn-learn.adafruit.com/guides/images/000/003/863/medium640/ambient-4305.jpg)
-
Little Bird Electronics
Australia -
Paradisetronic.com
Germany -
Eckstein Komponente
Germany -
SpikenzieLabs
Canada -
The Pi Hut
United Kingdom -
Makersify
United Kingdom -
BerryBase
Germany -
VCTEC KOREA
South Korea -
Switch Science
Japan -
Kamami
Poland -
Málna PC Magyarország
Hungary -
Mouser Electronics
United States -
Digi-Key Electronics
United States -
3DMakerWorld, Inc.
United States -
Core Electronics
Australia -
kjdelectronics
United States -
NTREX, Inc.- Devicemart
South Korea -
BOTLAND B. DERKACZ SP.K.
Czech Republic -
BOTLAND B. DERKACZ SP.K.
Poland -
BOTLAND B. DERKACZ SP.K.
Germany -
Cool Components
United Kingdom
See our Distributors page for a complete list of distributors.