Updated MCP23008 MCP23017 (markdown)

andrethomas 2018-07-21 19:13:40 +02:00
parent 8e8865202e
commit c791ac1253
1 changed files with 10 additions and 0 deletions

@ -28,6 +28,16 @@ The MCP230xx chip (or breakout board) must be connected to the ESP8266 and the I
![https://github.com/andrethomas/images/raw/master/mcp230xx/Generic_Config_Menu.PNG](https://github.com/andrethomas/images/raw/master/mcp230xx/Generic_Config_Menu.PNG) ![https://github.com/andrethomas/images/raw/master/mcp230xx/Generic_Config_Menu.PNG](https://github.com/andrethomas/images/raw/master/mcp230xx/Generic_Config_Menu.PNG)
One that is complete you may want to confirm that the Tasmota firmware is finding your MCP23008/MCP23017 chip by sending the command through serial or MQTT:
`I2Cscan`
You should see a response giving you an address within the range of the MCP23008/MCP23017 chip (0x20 through 0x27) which may look as follows
`MQT: stat/sonoff/RESULT = {"I2CScan":"Device(s) found at 0x20"}`
If you do not find it, check your wiring and pin configuration.
Configuration of MCP23008/MCP23017 by using sensor29 commands via serial, web console or MQTT messages Configuration of MCP23008/MCP23017 by using sensor29 commands via serial, web console or MQTT messages
This option only requires the main define to be uncommented prior to compilation This option only requires the main define to be uncommented prior to compilation