O'Reilly logo

Python Programming with Raspberry Pi by Srihari Yamanoor, Sai Yamanoor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required