Mcp23017
Jump to navigation
Jump to search
This port expander provides you 16 more GPIOs and cost you around 1€. And because it communicates via I²C it only uses two GPIOs of your ESP8266 and you can address up to 8 MCP23017. That makes up to 126 additional GPIOs.
ESP32 Wiring
- SDA -> pin 21
- SCL -> pin 22
- VSS -> GND
- VDD -> VIN
- 17 -> GND
- 16 -> GND
- 15 -> GND
ESP8266
https://medium.com/@wilko.vehreke/more-gpios-for-the-esp8266-with-the-mcp23017-b89f5e15cde3