From 4e5ae5ba32e193211a36242f981348b9b5775c1c Mon Sep 17 00:00:00 2001 From: andrethomas Date: Sat, 7 Jul 2018 00:42:45 +0200 Subject: [PATCH] Updated MCP23008 MCP23017 (markdown) --- MCP23008-MCP23017.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MCP23008-MCP23017.md b/MCP23008-MCP23017.md index 34734c58..590e23e9 100644 --- a/MCP23008-MCP23017.md +++ b/MCP23008-MCP23017.md @@ -4,6 +4,14 @@ Technical Data from the manufacturer: * Microchip MCP23008: [https://www.microchip.com/wwwproducts/en/MCP23008](https://www.microchip.com/wwwproducts/en/MCP23008) * Microchip MCP23017: [https://www.microchip.com/wwwproducts/en/MCP23017](https://www.microchip.com/wwwproducts/en/MCP23017) +Generally available breakout boards for the MCP23017 look similar to this: + +![https://github.com/andrethomas/images/raw/master/mcp230xx/mcp23017_breakout.jpg](https://github.com/andrethomas/images/raw/master/mcp230xx/mcp23017_breakout.jpg) + +The chip, can however, be wired up quite easily especially if you can source the DIP version of the chip. Here's a basic outline of what a typical circuit would require to be functional: + +![https://github.com/andrethomas/images/raw/master/mcp230xx/Basic_Circuit.PNG](https://github.com/andrethomas/images/raw/master/mcp230xx/Basic_Circuit.PNG) + Although the MCP230xx chips allow for both INPUT and OUTPUT, only INPUT is supported by the driver as the main intention is not to extend output but to provide additional inputs, more specifically - inputs which are 5V tolerant. The driver is disabled by default in the Tasmota firmware but can be enabled by uncommenting the #define USE_MCP230xx line in the user_config.h file, or added to the user_config_override.h file if you are using that option.