Jon Chandler
- Joined Jun 12, 2008
- 1,055
Actually, each MCP23017 has 16 port pins, which can be independently set to be an input or an output.
Each chip will have 4 common connections:
● Ground, which is common to the Adruino
● +5v, which can come from the same supply as the Arduino or a separate 5 volt supply – all the grounds are connected together.
● SCL
● SDA
The ADDRESS pins A0 – A2 of each chip must be connected to ground or +5v, and no chips can have the same pattern.
Each chip will have 4 common connections:
● Ground, which is common to the Adruino
● +5v, which can come from the same supply as the Arduino or a separate 5 volt supply – all the grounds are connected together.
● SCL
● SDA
The ADDRESS pins A0 – A2 of each chip must be connected to ground or +5v, and no chips can have the same pattern.