System Architecture - TheResistanceBand/theResistanceBand GitHub Wiki
The diagram below shows our overall system diagram consisting of our instruments circuit, our visualizer circuit, a Raspberry Pi, and a web interface. The drums and the flex sensor connect directly into the analog input pins of one Arduino and the theremin uses the Arduino's I2C bus to communicate. The Arduino then sends messages to the Raspberry Pi over USB Serial whenever an instrument is interacted with to play a sound. The sound that a particular instrument is associated with is set using our web interface. A microphone is also connected to the Raspberry Pi through USB and a recording can be triggered by pressing a button on the web interface. The Raspberry Pi's audio out port is then used as an input into our visualizer circuit that splits the audio into 6 frequency bands and displayed onto the infinity mirror.