Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

MCP23017 Port Expander with ESPHome - Adding I/O Pins to ESP Projects

ResinChem Tech via YouTube

Overview

Explore how to expand digital I/O capabilities using the MCP23017 16-port I/O expander with ESP8266 or ESP32 and ESPHome. Learn about the device's pinout, connections, and limitations, then dive into ESPHome code implementation. Follow along as a practical example demonstrates controlling 72 LEDs and three push buttons to create an unconventional clock using multiple port expanders. Gain insights into wiring diagrams, component mapping, and configuration for both basic and advanced setups. Discover potential applications and ideas for incorporating expanded I/O in your own projects.

Syllabus

Intro
ESP and MCP23017 Overview
Pinout and Limitations
ESPHome Component Mapping
Basic Bench Test
ESPHome Bench Test Config
Multiple expander wiring and ESPHome Config
A Crazy Clock Example with 75 I/O Pins
Building the Clock Face
Building the Clock Controller
Testing the Final Clock Build
Wrap Up And Other Ideas

Taught by

ResinChem Tech

Reviews

Start your review of MCP23017 Port Expander with ESPHome - Adding I/O Pins to ESP Projects

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.