
IO expander using MCP23017 over I2C, adding 16 GPIO pins (GPIOA/GPIOB) with interrupt support. Up to 8 I2C addresses allow 128 total IOs; supports 3.3V and 5V.

Positive supply for the DFR0626 Gravity MCP23017 I2C expansion module.
Negative/ground reference for the module.
I2C clock line.
I2C data line.
Reset pin.
GPIOA interrupt detection output.
GPIOB interrupt detection output.
Power indicator on the module.
I2C address switch group for selecting addresses 0x20 through 0x27.
Configurable GPIOA digital I/O 0; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOA digital I/O 1; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOA digital I/O 2; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOA digital I/O 3; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOA digital I/O 4; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOA digital I/O 5; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOA digital I/O 6; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOA digital I/O 7; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 0; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 1; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 2; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 3; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 4; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 5; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 6; input, output, pull-up input, or interrupt-capable input.
Configurable GPIOB digital I/O 7; input, output, pull-up input, or interrupt-capable input.
| Pin | Position | Type | Function | Voltage |
|---|---|---|---|---|
| +/VCC | DFRobot wiki pinout table num 1 | power | Positive supply for the DFR0626 Gravity MCP23017 I2C expansion module. | 3.3V-5.5V |
| -/GND | DFRobot wiki pinout table num 2 | ground | Negative/ground reference for the module. | 0V |
| C | DFRobot wiki pinout table num 3 | i2c | I2C clock line. | |
| D | DFRobot wiki pinout table num 4 | i2c | I2C data line. | |
| RST | DFRobot wiki pinout table num 5 | digital | Reset pin. | |
| IA | DFRobot wiki pinout table num 6 | interrupt | GPIOA interrupt detection output. | |
| IB | DFRobot wiki pinout table num 7 | interrupt | GPIOB interrupt detection output. | |
| PWR | DFRobot wiki pinout table num 8 | indicator | Power indicator on the module. | |
| A0/A1/A2 | DFRobot wiki pinout table num 9 and reference address table | configuration | I2C address switch group for selecting addresses 0x20 through 0x27. | |
| PA0 | DFRobot wiki Digital I/O Port Mapping GPIOA index 0 | digital | Configurable GPIOA digital I/O 0; input, output, pull-up input, or interrupt-capable input. | |
| PA1 | DFRobot wiki Digital I/O Port Mapping GPIOA index 1 | digital | Configurable GPIOA digital I/O 1; input, output, pull-up input, or interrupt-capable input. | |
| PA2 | DFRobot wiki Digital I/O Port Mapping GPIOA index 2 | digital | Configurable GPIOA digital I/O 2; input, output, pull-up input, or interrupt-capable input. | |
| PA3 | DFRobot wiki Digital I/O Port Mapping GPIOA index 3 | digital | Configurable GPIOA digital I/O 3; input, output, pull-up input, or interrupt-capable input. | |
| PA4 | DFRobot wiki Digital I/O Port Mapping GPIOA index 4 | digital | Configurable GPIOA digital I/O 4; input, output, pull-up input, or interrupt-capable input. | |
| PA5 | DFRobot wiki Digital I/O Port Mapping GPIOA index 5 | digital | Configurable GPIOA digital I/O 5; input, output, pull-up input, or interrupt-capable input. | |
| PA6 | DFRobot wiki Digital I/O Port Mapping GPIOA index 6 | digital | Configurable GPIOA digital I/O 6; input, output, pull-up input, or interrupt-capable input. | |
| PA7 | DFRobot wiki Digital I/O Port Mapping GPIOA index 7 | digital | Configurable GPIOA digital I/O 7; input, output, pull-up input, or interrupt-capable input. | |
| PB0 | DFRobot wiki Digital I/O Port Mapping GPIOB index 8 | digital | Configurable GPIOB digital I/O 0; input, output, pull-up input, or interrupt-capable input. | |
| PB1 | DFRobot wiki Digital I/O Port Mapping GPIOB index 9 | digital | Configurable GPIOB digital I/O 1; input, output, pull-up input, or interrupt-capable input. | |
| PB2 | DFRobot wiki Digital I/O Port Mapping GPIOB index 10 | digital | Configurable GPIOB digital I/O 2; input, output, pull-up input, or interrupt-capable input. | |
| PB3 | DFRobot wiki Digital I/O Port Mapping GPIOB index 11 | digital | Configurable GPIOB digital I/O 3; input, output, pull-up input, or interrupt-capable input. | |
| PB4 | DFRobot wiki Digital I/O Port Mapping GPIOB index 12 | digital | Configurable GPIOB digital I/O 4; input, output, pull-up input, or interrupt-capable input. | |
| PB5 | DFRobot wiki Digital I/O Port Mapping GPIOB index 13 | digital | Configurable GPIOB digital I/O 5; input, output, pull-up input, or interrupt-capable input. | |
| PB6 | DFRobot wiki Digital I/O Port Mapping GPIOB index 14 | digital | Configurable GPIOB digital I/O 6; input, output, pull-up input, or interrupt-capable input. | |
| PB7 | DFRobot wiki Digital I/O Port Mapping GPIOB index 15 | digital | Configurable GPIOB digital I/O 7; input, output, pull-up input, or interrupt-capable input. |
ADS1115/MCP3421 ADCs, MCP4725 and GP8413 DACs, CP2102 USB-UART boards, and I2C plumbing like the LTC4316 address shifter — matched to bus, resolution and signal range.
[EOL] I2C Hub 1 to 6 Expansion Unit (TCA9548A) visual preview[EOL] I2C Hub 1 to 6 Expansion Unit (TCA9548A)
10-bit ADC (SPI) visual preview10-bit ADC (SPI)
2-Channel RS232 Module for Raspberry Pi Pico visual preview2-Channel RS232 Module for Raspberry Pi Pico
4-Ch USB 3.2 Gen1 Hub (USB3.2-Gen1-HUB-4U) visual preview4-Ch USB 3.2 Gen1 Hub (USB3.2-Gen1-HUB-4U)
6-in-1 USB to Serial Converter visual preview6-in-1 USB to Serial Converter
Adafruit AD5693R 16-Bit I2C DAC Breakout visual previewAdafruit AD5693R 16-Bit I2C DAC Breakout
Adafruit ADS122C04 24-Bit ADC - STEMMA QT / Qwiic visual previewAdafruit ADS122C04 24-Bit ADC - STEMMA QT / Qwiic
Adafruit AW9523 GPIO Expander and LED Driver Breakout visual previewAdafruit AW9523 GPIO Expander and LED Driver Breakout
Adafruit CAN Pal - CAN Bus Transceiver visual previewAdafruit CAN Pal - CAN Bus Transceiver
Adafruit DAC6578 Breakout - 8-Channel 10-bit I2C DAC visual previewAdafruit DAC6578 Breakout - 8-Channel 10-bit I2C DAC
Adafruit DAC7578 Breakout - 8-Channel 12-bit I2C DAC visual previewAdafruit DAC7578 Breakout - 8-Channel 12-bit I2C DAC
Adafruit DS2484 I2C to 1-Wire Bus Adapter Breakout visual previewAdafruit DS2484 I2C to 1-Wire Bus Adapter Breakout
10W Super Bright LED - Violet visual preview
10W Super Bright LED - Warm White visual preview
3-Pin LED Strip Connector Cable - Single Head (5PCS) visual preview
3-Pin LED Strip Connector Cable (5PCS) visual previewWS2812/SK6812 NeoPixel strips, rings and Jewels, APA102 DotStar pixels, and plain analog RGB strips — each matched to its protocol and host, not just its connector.
Components · Addressable LEDs · 180 parts
18-Channel 8-bit PWM LED Driver w/ I2C Interface visual preview
24LC256 I/P I2C EEPROM PDIP-8 visual preview
24LC256 P DIP-8 visual preview
4N25 DIP-6 visual preview74HC logic gates, MCP3008/MCP23017 ADCs and expanders, 24LC256 EEPROM, 4N25-series optocouplers and ULN2803A drivers — bare DIP chips with no breakout-board conveniences like pull-ups or level shifting.
Components · Integrated circuits · 67 parts
256MB Micro SD Memory Card visual preview
25LC256 256 Kbit SPI EEPROM visual preview
64 Mbit Serial Pseudo SRAM - PSRAM - 3.3V 133 MHz visual preview
8GB Class 10 SD/MicroSD Memory Card - SD Adapter Included visual preview24LC32/25LC256 EEPROM, I2C FRAM, 64Mbit PSRAM, and microSD breakouts up to 64GB — matched to write frequency and data volume, not just interface.
Components · Memory & storage · 39 parts
1/4W Resistor Pack - 400 PCS visual preview
1N4001 Diode - 10 pack visual preview
1N4007 Diode visual preview
1N4148 General Purpose Fast Switching Diode visual previewE12 resistor kits, ceramic and electrolytic capacitor sets, 1N4148/1N4007 diodes, TIP120 Darlingtons, IRLZ44N MOSFETs and 100F supercapacitors — bench stock in kit quantities.
Components · Passives · 59 parts