Below you'll find a circuit diagram and schematic for the Ambient Machine. The Metro M7 is the central controller. The two MCP23017 GPIO expanders are used for reading the twenty switches, sending their data to the Metro M7 over I2C. The MAX98357A amplifier receives digital audio from the M7 via I2S and converts that to an analog output for the speaker.
The switches each have their own unique pin on the expander boards, and share a common ground.
Text editor powered by tinymce.