Популярное

MCP23017 GPIO Expander Demo PCB: Arduino Uno Relay Driver

72 Просмотры
Размещено
PCBWay Supports High Precision Advanced PCBs: https://www.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: https://github.com/GadgetReboot/MCP23017_Eval
Buy PCBs from PCBWay: https://www.pcbway.com/project/shareproject/MCP23017_16_bit_GPIO_Expander_Demo_Board_78445cb0.html
MCP23017 Datasheet: https://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf
ULN2003 Darlington Driver Datasheet: https://www.st.com/resource/en/datasheet/uln2001.pdf
G5V-2 Signal Relay Datasheet: https://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: https://www.patreon.com/gadgetreboot
Become a channel member (click the Join button): https://www.youtube.com/c/GadgetReboot

Shop through my affiliate links!
Banggood https://www.banggood.com/custlink/3vKYLANH8N
Aliexpress https://s.click.aliexpress.com/e/_AFeHwB
Amazon.com https://www.amazon.com/?&_encoding=UTF8&tag=gadgetreboo05-20&linkCode=ur2&linkId=952875a3564e2204d1786f94b9e1a8d3&camp=1789&creative=9325
Amazon.ca https://www.amazon.ca/?&_encoding=UTF8&tag=gadgetreboot-20&linkCode=ur2&linkId=70fa82315ac48f03342938bd4fb93535&camp=15121&creative=330641

Videos are mirrored at LBRY/Odysee: https://odysee.com/@GadgetReboot:4
#ElectronicsCreators
Категория
Ардуино
Комментариев нет.