MCP23017 IO Expansion Board I2C Interface
![](/upload/ms2/202407/17224167725623790733.jpg)
This MCP23017 board adopts the I2C interface to achieve 16 I/O port expansion. It supports Raspberry Pi Zero/Zero W/Zero WH/2B/3B/3B+/4B, as well as Arduino and STM32. We provide C and Python demo codes for Raspberry Pi, as well as demo codes for Arduino and STM32, which can implement input testing, output testing, and interrupt testing.
Note: There is no difference between SG-IO-E017 and SG-IO-E017-A in terms of circuit function. The only difference is their sizes, Customers can choose the corresponding product model according to different needs.
Product Features
- I2C interface, less pin occupation
- Compatible with 3.3V/5V working level
- PH2.0 interface and 2.54mm spacing pad reserved for easy access to other development boards
- On board 3-digit DIP switch is convenient for users to set I2C address
- Open source demo codes available for Raspberry Pi, Arduino and STM32 development boards
Specifications
Parameter | SG-IO-E017 | SG-IO-E017-A |
---|---|---|
Size | 45mm(Length) x 25mm(width) | 34.5mm(Length) x 25mm(width) |
Control Chip | MCP23017 | MCP23017 |
Signal interface | I2C | I2C |
Supply voltage | 3.3V/5V | 3.3V/5V |
Expansion I/O | 16 | 16 |
Interrupt pin | INTA、INTB | INTA、INTB |
![](/upload/ms2/202407/1722416852065492052.jpg)
Interface definition
VCC | Power supply positive(3.3V/5V) |
GND | Power supply ground |
SDA | I2C data line |
SCL | I2C clock line |
INTA | PA port interrupt pin |
INTB | PB port interrupt pin |
The resource profile diagram is shown in the figure below:
![](/upload/ms2/202407/17224168859077846447.jpg)
① PH2.0 terminal leads out control pin
② MCP23017 chip
③ Expand PA and PB ports
④ DIP switch, set I2C address
⑤ 2.54mm pitch control pins
Overall dimensions
![](/upload/ms2/202407/17224169453823788748.jpg)
Product Display
![](/upload/ms2/202407/17224169792908638521.jpg)
WIKI
Package Contents
- SG-IO-E017 x 1
- PH2.0 6PIN connecting cable x 1
![](/upload/ms2/202405/17149593989356498121.jpg)
![](/upload/ms2/202405/17149593986691991360.jpg)