# MCP23017 16-Bit I/O Expander with I2C Interface

- **Manufacturer**: Microchip Technology
- **Type**: Chip
- **Year**: 2005
- **URL (German)**: https://pinoutdb.org/component/mcp23017
- **URL (English)**: https://pinoutdb.org/en/component/mcp23017
- **Description**: 16-bit general purpose parallel I/O port expander with high-speed I2C interface (up to 1.7 MHz), configurable interrupt output pins, and 100k internal pull-ups.
- **Datasheets & Links**:
  - [Microchip MCP23017 Datasheet (PDF)](https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP23017-Data-Sheet-DS20001952.pdf) (datasheet)
  - [Adafruit MCP23017 Arduino Library GitHub](https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library) (github)

## View: DIP-28 / SOIC-28 Top View (Package: dip)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | GPB0 | Digital | Port B I/O Pin 0 [GPIO] |
| 2 | GPB1 | Digital | Port B I/O Pin 1 [GPIO] |
| 3 | GPB2 | Digital | Port B I/O Pin 2 [GPIO] |
| 4 | GPB3 | Digital | Port B I/O Pin 3 [GPIO] |
| 5 | GPB4 | Digital | Port B I/O Pin 4 [GPIO] |
| 6 | GPB5 | Digital | Port B I/O Pin 5 [GPIO] |
| 7 | GPB6 | Digital | Port B I/O Pin 6 [GPIO] |
| 8 | GPB7 | Digital | Port B I/O Pin 7 [GPIO] |
| 9 | VDD | Power | Positive Supply Voltage (1.8V to 5.5V) [Power] |
| 10 | VSS | Ground | Ground Reference (0V) [Ground] |
| 11 | NC | NC | No Connection [NC] |
| 12 | SCL | Digital | I2C Serial Clock Input [I2C] |
| 13 | SDA | Digital | I2C Serial Data I/O [I2C] |
| 14 | NC | NC | No Connection [NC] |
| 15 | A0 | Digital | I2C Hardware Address Bit 0 — sets LSB of I2C address; GND = 0, VDD = 1; base address 0x20; up to 8 devices on one bus (0x20–0x27) [I2C] |
| 16 | A1 | Digital | I2C Hardware Address Bit 1 — sets middle address bit; GND = 0, VDD = 1 [I2C] |
| 17 | A2 | Digital | I2C Hardware Address Bit 2 — sets MSB of configurable address bits; GND = 0, VDD = 1 [I2C] |
| 18 | ~RESET | Digital | Active Low Reset Input [Reset] |
| 19 | INTB | Digital | Port B Interrupt Output [Interrupt] |
| 20 | INTA | Digital | Port A Interrupt Output [Interrupt] |
| 21 | GPA0 | Digital | Port A I/O Pin 0 [GPIO] |
| 22 | GPA1 | Digital | Port A I/O Pin 1 [GPIO] |
| 23 | GPA2 | Digital | Port A I/O Pin 2 [GPIO] |
| 24 | GPA3 | Digital | Port A I/O Pin 3 [GPIO] |
| 25 | GPA4 | Digital | Port A I/O Pin 4 [GPIO] |
| 26 | GPA5 | Digital | Port A I/O Pin 5 [GPIO] |
| 27 | GPA6 | Digital | Port A I/O Pin 6 [GPIO] |
| 28 | GPA7 | Digital | Port A I/O Pin 7 [GPIO] |


---
Source: PinoutDatabase (https://pinoutdb.org). Verify against the manufacturer datasheet before production use.
