Connecting MCp23017 16 Bit input/output Port Expander IC with Raspberry Pi by using I2C Interface. To interact with the IC here we have used Pi4J and JAVA.

MCP23017 Features:

16-bit input/output port expander with interrupt output

Cascadable for up to 8 devices on one bus

25mA sink/source capability per I/O

Supports 100kHz, 400kHz and 1.7MHz I2C™Compatible compatible modes

Intro visual Source:

MCP23017 Details :


Links :

Java Application on Pi Playlist:

Schematic :

Pi4J GPIO Numbering :

Download Pi4J Library :

Code :

Buy Sensor : (India)

Buy Raspberry Pi : (India)


Subscribe YouTube :

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

Support me on Patreon :


Website :

Twitter :

YouTube :

Instagram :