The MCP23017 provides 16 extra digital input/output GPIO pins for access via the i2c bus (2 wire data communication protocol). We could use this to read data from 8 HC-SR04 distance sensors. Because timing is very important to using those distance sensors, it would be a good idea to implement the MCP23017's IRQ (interrupt) pin(s) to lessen the amount of times the MCU or Raspberry Pi has to poll the MCP23017 for results.
The MCP23017 provides 16 extra digital input/output GPIO pins for access via the i2c bus (2 wire data communication protocol). We could use this to read data from 8 HC-SR04 distance sensors. Because timing is very important to using those distance sensors, it would be a good idea to implement the MCP23017's IRQ (interrupt) pin(s) to lessen the amount of times the MCU or Raspberry Pi has to poll the MCP23017 for results.