PCBWay Supports High Precision Advanced PCBs: [ Ссылка ]
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: [ Ссылка ]
Buy PCBs from PCBWay: [ Ссылка ]
MCP23017 Datasheet: [ Ссылка ]
ULN2003 Darlington Driver Datasheet: [ Ссылка ]
G5V-2 Signal Relay Datasheet: [ Ссылка ]
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: [ Ссылка ]
Become a channel member (click the Join button): [ Ссылка ]
Shop through my affiliate links!
Banggood [ Ссылка ]
Aliexpress [ Ссылка ]
Amazon.com [ Ссылка ]
Amazon.ca [ Ссылка ]
Videos are mirrored at LBRY/Odysee: [ Ссылка ]
#ElectronicsCreators
Ещё видео!