mirror of https://github.com/arendst/Tasmota.git
Updated MCP23008 MCP23017 (markdown)
parent
052a4277a0
commit
4e5ae5ba32
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue