BOM
Wiring
With the Raspberry Pi as the centerpiece, I went about connecting everything together. The first step was wiring up the sound. I took a stereo audio cable plugged into the Raspberry Pi’s audio port and wired each of the left and right channels into its own amplifier. The power and ground of both amplifiers was sourced from the Raspberry Pi’s 5V and GND pins on the GPIO header. I then wired the outputs of one of the amplifiers to the speaker. The outputs of the other amplifier were wired to the LED in the button. By doing this, the light inside of HAL’s eye would flash in sync with the audio being played. Aside from that, all that was left to do was plug in the USB microphone and I was done. One optional addition I might make in the future is wiring up the inputs of the button. This would provide the possibility to activate Alexa via means other than the wake word.