Connecting the microphone

In this section, we will be setting up an omnidirectional microphone to listen for commands/inputs.

We tested off-the-shelf electret microphones, and the audio quality was not sufficient to perform speech recognition on the recorded audio samples. As an alternative, we recommend boundary microphones for a wide pickup, for example, http://a.co/8YKSy4c.
MAX9814 with omnidirectional microphone Source: Adafruit.com
  1. The gain of the amplifier can be set to three levels: 60 dB when the gain pin is unconnected, 50 dB when the gain pin is connected to ground, and 40 dB when the gain pin is connected to Vdd.
  2. Connect Vdd and ...

Get Python Programming with Raspberry Pi now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.