MCP23017 with ESP32: I2C Address Setup and 16 GPIO Pins

A complete guide to the MCP23017 I/O expander with schematics. Add 16 GPIO pins to an ESP32 over I2C, set the address with A0–A2, and drive 8 LEDs and 3 switches with the Adafruit_MCP23X17 library. Step by step, with full sample code.

September 30, 2021 · Updated: July 20, 2026 · 10 min · 

ESP32 Network Clock (1): PCB Design with KiCad and JLCPCB

Part 1 of building a network-connected digital clock with an ESP32. Six large LCD panels driven through three MCP23017 I/O expanders, NTP time sync backed by an RTC, the whole thing laid out as a PCB in KiCad 8.x and ordered from JLCPCB.

September 4, 2021 · Updated: July 20, 2026 · 29 min ·