YTUnity logo

Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

DIY Simple 128 GPIO Expander Circuit | MCP23017

DIY GUY Chris Guide 3 months ago

Description

*Never run out of I/O pins again!* In this video, I'll show you how I designed and built a simpler, budget-friendly 16-channel GPIO expander based on the MCP23017. From schematic design to assembly and testing, you'll see every step of this cost-effective alternative to my industrial version. Perfect for hobbyists, prototyping, and educational projects!

*What You Will Learn in This Video:*

1️⃣ Designing the schematic in Altium with the MCP23017 I²C I/O expander.
2️⃣ Routing a compact 2-layer PCB (100×40mm) that fits JLCPCB's $2 special offer.
3️⃣ Ordering the PCBs with SMT assembly from JLCPCB.
4️⃣ Assembling the board using a stencil and hot plate.
5️⃣ Testing the outputs and inputs with an Arduino Uno.
6️⃣ Chaining multiple modules together for up to 128 GPIOs.

---

*🛠️ TOOLS I USED*
Visit Altium Develop : Design your own PCBs → https://www.altium.com/yt/diyguychris
JLCPCB (Discount): Order PCBs → https://jlcpcb.com/?from=TIP
JLC3DP (3D Printing): DIN-rail enclosure → https://jlc3dp.com/?from=TIP
Online Altium Project Files : Access here → https://diy-guy-chris.365.altium.com/designs/E9A0D6FB-B355-4584-8170-BB3167733876

---

*📁 PROJECT FILES*
Check full GitHub repo : https://github.com/BEEMB/Basic-GPIO-Expander-MCP23017
Circuit Schematic : https://github.com/BEEMB/Basic-GPIO-Expander-MCP23017/blob/main/Hardware/Schematic/Schematic.pdf
JLCPCB-optimized Gerbers : https://github.com/BEEMB/Basic-GPIO-Expander-MCP23017/tree/main/Hardware/GERBER
Arduino Test Code : https://github.com/BEEMB/Basic-GPIO-Expander-MCP23017/tree/main/Software

---

*🔧 BUILD ESSENTIALS*
*PCB Assembly:*
- PCB from JLCPCB (with SMT assembly)
- Solder Paste: https://www.amazon.com/Solder-Bi57-6-No-Clean-Lead-Free-Temperature/dp/B0195V1QEI
- Flux cleaner: https://amzn.to/4vO94Lo
- Mini Hotplate: https://amzn.to/4e3BE5b
- Soldering station: https://amzn.to/4cvwEoN
- Precision Tweezers: https://amzn.to/4mNdXAe
- PCB Stencil (from JLCPCB)

*Debugging & Programming:*
- Digital Microscope Camera: https://amzn.to/41ZlhPQ
- Digital Multimeter: https://amzn.to/41VhvqF
- Arduino Uno (or compatible)

---

*⏱️ CHAPTERS*
0:00 – Project intro & GPIO expander demo
0:55 – Schematic design in Altium (MCP23017, 78L05, jumpers)
2:32 – PCB layout – compact 100×40mm design
4:22 – Ordering PCBs with SMT assembly from JLCPCB
4:57 – Component assembly (stencil, paste, hot plate reflow)
6:10 – Testing outputs with Arduino & I²C
6:51 – Chaining two modules
7:16 – Final thoughts and project summary

---

*🔗 MORE PROJECTS*
Industrial GPIO Expander: https://youtu.be/AG7PeMTG8dg
Transparent Arduino UNO: https://youtu.be/CXMNoTEyvVs
Learn How to Burn Bootloader: https://youtu.be/UUYz1T53EIQ
Check my DIY Battery Spot Welder video: https://youtu.be/PaCtLfOyqVk

---

*★☆★ 💻 FOLLOW ME BELOW 💻 ★☆★*

Instructables: http://www.instructables.com/member/M...
Hackaday : https://hackaday.io/MegaDAS
Facebook : https://www.facebook.com/MEG.DAS1
Twitter : https://twitter.com/MEGADAS1
Hackster : https://www.hackster.io/mega-das

---

*Keywords:*
#electronics #diy #arduino #pcb #gpio #gpioexpander #mcp23017 #i2c #hardware #maker #circuit #diycrafts #diybuild #esp32 #raspberrypi #budgetelectronics #openhardware #embedded #electronics #makersgonnamake

Featured creators

Creators on the SpiderTaz Network

Become a creator →