Connecting the microphone to the Raspberry Pi Pico
Our application requires a microphone to record songs and classify their music genre. Since the Raspberry Pi Pico does not have a built-in microphone, we need to employ an external one and figure out the appropriate way to connect it to the microcontroller.
This recipe will help you achieve this objective by offering a step-by-step guide on integrating a microphone into an electronic circuit alongside the microcontroller.
Getting ready
The microphone put into action in this recipe is a low-cost electret microphone with the MAX9814 amplifier, which you can buy, for example, from one of the following distributors:
- Pimoroni: https://shop.pimoroni.com/products/adafruit-electret-microphone-amplifier-max9814-w-auto-gain-control
- Adafruit: https://www.adafruit.com/product/1713
The signal generated by a microphone is generally weak, as it ranges from several microvolts to a few millivolts...