While it is possible to add input and output ports with various CMOS chips, sometimes more flexibility is required. The pin functions of chips like the 74HC165 and 74HC595 are fixed as input or output. Sometimes it is desirable to be able to configure them as required like the Raspberry Pi’s own GPIO ports. This chapter will examine the Microchip MCP23017 peripheral chip, which can offer any combination of 16 GPIO ports (in DIP form), each of which can be individually configured as input or output. Figure 11-1 illustrates the chip sitting on a breadboard.
© Warren Gay 2017
Warren Gay, Custom Raspberry Pi Interfaces, 10.1007/978-1-4842-2406-9_11
11. MCP23017 I/O Port Extender
Warren Gay1
(1)St Catharines, Ontario, Canada
Get Custom Raspberry Pi Interfaces: Design and build hardware interfaces for the Raspberry Pi now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.