MCP23017 GPIO Expander Demo PCB: Arduino Uno Relay Driver

preview_player
Показать описание
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.

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:

Shop through my affiliate links!

#ElectronicsCreators
Рекомендации по теме
Комментарии
Автор

Great job. I have a shit ton more of those relays if you want more.

DrexProjects
Автор

That's really informative! Good work 👍🎉

PCBWay
Автор

Excellent video and what a useful board to have, such versatility. 👍😀

onecircuit-as
Автор

Thanks. I have sent for five to be made with my last PCB order. I have this io chip on an stm8 board I made a while back for something and they work quite well. I need to get the relays or make an adaptor-bodge for others I have already.

UReasonIt
Автор

What a great board and stuff you had lying about, I can see this being very useful to model makers and the like for simple switching...cheers.

andymouse
Автор

A word of warning, if you drive 2A through the contract it may not work reliably at very low current after. When switching on very low currents the contracts need very good wetting to do this. This ability to achieve good wetting will be removed with the first current spike on the contracts. So if you want to switch audio don't switch power with the relay before hand.

TheEmbeddedHobbyist
Автор

This madman soldered 40$ of relays onto a board just to explain an IO expander!! Great video though!

SimpleElectronics
Автор

Those expander chips are a very useful beast.

Imagine having 128 GPIO hanging off an ATTINY85!

pileofstuff
Автор

check out the SIP-1A05 reed relays if you haven't yet. great for audio. You can't hear them click unless you put your ear up to it and then it's very subtle.

jenniferw
Автор

See your odyssey channel comments for this video

uksuperrascal
Автор

why didnt you include the build materials in the description.. i really want to build this

theonewhowas
Автор

ist es evtl möglich damit 5 Volt bipolare Micro Strepper zu betreiben

michaelunrath