mirror of https://github.com/arendst/Tasmota.git
Update wiring circuit and i2c address map images
parent
1c1ec8087d
commit
07b8b380d0
|
@ -10,11 +10,11 @@ Generally available breakout boards for the MCP23017 look similar to this:
|
||||||
|
|
||||||
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:
|
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_Circuit1.PNG](https://github.com/andrethomas/images/raw/master/mcp230xx/Basic_Circuit1.PNG)
|
![Manual Wiring for MCP23008 / MCP23017](https://github.com/andrethomas/images/blob/master/mcp230xx/mcp230xx_manual_wiring.png)
|
||||||
|
|
||||||
You will need to pick an I2C address in either of the above scenario's but the driver will detect the address automatically. Address mapping according to pin A0,A1 and A2 as from the datasheet is as follows:
|
You will need to pick an I2C address in either of the above scenario's but the driver will detect the address automatically. Address mapping according to pin A0,A1 and A2 as from the datasheet is as follows:
|
||||||
|
|
||||||
![https://github.com/andrethomas/images/raw/master/mcp230xx/I2C_Address.png](https://github.com/andrethomas/images/raw/master/mcp230xx/I2C_Address.png)
|
![MCP23008 / MCP23017 I2C Address Map](https://github.com/andrethomas/images/blob/master/mcp230xx/i2c_address_map.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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue