The MCP23017 is a good choice since it can provide a strong high output as well as sinking current. 25mA sink/source capability per I/O
https://www.aliexpress.com/item/MCP2301 ... 91000.html
The PCF8575 is often used for driving character LCD modules. It is a simpler device and it can not source much current. (weak high) It can sinck current better than source.
https://www.aliexpress.com/item/PCF8575 ... 13090.html
rudy wrote:It is difficult to have different communications busses on the same lines. It is easy to cause unexpected problems. Since you are already using I2C I strongly suggest a I2C port expander chip.
The MCP23017 is a good choice since it can provide a strong high output as well as sinking current. 25mA sink/source capability per I/O
https://www.aliexpress.com/item/MCP2301 ... 91000.html
The PCF8575 is often used for driving character LCD modules. It is a simpler device and it can not source much current. (weak high) It can sinck current better than source.
Thank You
https://www.aliexpress.com/item/PCF8575 ... 13090.html