Uploaded February 2022 | Updated November 2026, 2 days ago
PCBWay Supports High Precision Advanced PCBs: pcbway.com
Here's how to get the MCP23017 GPIO expander up and running over I2C with Arduino.
This project shows how to get the expander configured with the Adafruit library, and how to access the 16 GPIO for read and write access.
The project can be made on a breadboard, but this pcb is set up to control 8 relays with status indicator LEDs, read in 4 buttons, and the remaining 4 GPIO are broken out on headers for misc use.
Sketch/Schematic: github.com/GadgetReboot/MCP23017_Eval
Buy PCBs from PCBWay: pcbway.com/project/shareproject/MCP23017_16_bit_GPIO_Expander_Demo_Board_78445cb0.html
MCP23017 Datasheet: ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf
ULN2003 Darlington Driver Datasheet: st.com/resource/en/datasheet/uln2001.pdf
G5V-2 Signal Relay Datasheet: omronfs.omron.com/en_US/ecb/products/pdf/en-g5v_2.pdf
0:00 Intro
0:13 MCP23017 overview
2:41 Schematic review
6:01 Sketch review and various pcb demos
9:20 Summary
If you'd like to support the channel, you can:
Support me on Patreon: patreon.com/gadgetreboot
Become a channel member (click the Join button): youtube.com/c/GadgetReboot
Shop through my affiliate links!
Banggood banggood.com/custlink/3vKYLANH8N
Aliexpress https://s.click.aliexpress.com/e/_AFeHwB
Amazon.com amazon.com/?&_encoding=UTF8&tag=gadgetreboo05-20&linkCode=ur2&linkId=952875a3564e2204d1786f94b9e1a8d3&camp=1789&creative=9325
Amazon.ca amazon.ca/?&_encoding=UTF8&tag=gadgetreboot-20&linkCode=ur2&linkId=70fa82315ac48f03342938bd4fb93535&camp=15121&creative=330641
Videos are mirrored at LBRY/Odysee: odysee.com/@GadgetReboot:4
#ElectronicsCreators
PCBWay Supports High Precision Advanced PCBs: pcbway.com
Here's how to get the MCP23017 GPIO expander up and running over I2C with Arduino.
This project shows how to get the expander configured with the Adafruit library, and how to access the 16 GPIO for read and write access.
The project can be made on a breadboard, but this pcb is set up to control 8 relays with status indicator LEDs, read in 4 buttons, and the remaining 4 GPIO are broken out on headers for misc use.
Sketch/Schematic: github.com/GadgetReboot/MCP23017_Eval
Buy PCBs from PCBWay: pcbway.com/project/shareproject/MCP23017_16_bit_GPIO_Expander_Demo_Board_78445cb0.html
MCP23017 Datasheet: ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf
ULN2003 Darlington Driver Datasheet: st.com/resource/en/datasheet/uln2001.pdf
G5V-2 Signal Relay Datasheet: omronfs.omron.com/en_US/ecb/products/pdf/en-g5v_2.pdf
0:00 Intro
0:13 MCP23017 overview
2:41 Schematic review
6:01 Sketch review and various pcb demos
9:20 Summary
If you'd like to support the channel, you can:
Support me on Patreon: patreon.com/gadgetreboot
Become a channel member (click the Join button): youtube.com/c/GadgetReboot
Shop through my affiliate links!
Banggood banggood.com/custlink/3vKYLANH8N
Aliexpress https://s.click.aliexpress.com/e/_AFeHwB
Amazon.com amazon.com/?&_encoding=UTF8&tag=gadgetreboo05-20&linkCode=ur2&linkId=952875a3564e2204d1786f94b9e1a8d3&camp=1789&creative=9325
Amazon.ca amazon.ca/?&_encoding=UTF8&tag=gadgetreboot-20&linkCode=ur2&linkId=70fa82315ac48f03342938bd4fb93535&camp=15121&creative=330641
Videos are mirrored at LBRY/Odysee: odysee.com/@GadgetReboot:4
#ElectronicsCreators










