A standard 74HC595 shift register is an excellent choice if only output port expansion is required, however it’s sometimes desirable to have inputs as well, which is where a dedicated port expander comes into its own. There are a whole range of port expanders available from virtually every semiconductor manufacturer, however, the MCP23S17 device is particularly popular at the time of writing this article.
...