I have four microphones that has pins: VCC, GND and Analog Data. I need to connect it to Raspberry Pi (I need it for detection direction to source of sound). As I know, GPIO doesn't have analog inputs, only digital inputs. So, is it possible to connect that microphones to Raspberry Pi without ADC?

I need to connect this microphones to RPi: https://www.maximintegrated.com/en/products/analog/audio/MAX4466.html

  • 1
    there is no way to get audio without an ADC and the ability to process it. However, if you are not looking to process the sound, but more just to know that "A sound" happened, the digital version might be able to work, but I suspect you will run into many issues with that.
    – Chad G
    Jul 26, 2022 at 16:52
  • You should edit your question and add the brand and type of the microphones or provide a link to the documentation. Describe how you want to analyze the microphone signal. Is "Analog Data" an analog signal or maybe PWM? If it is really analog, it doesn't make sense to connect it to a digital input.
    – Bodo
    Jul 26, 2022 at 17:01
  • Ok, you can write it as answer and I will accept it. I ordered 12bit and 16bit ADCs. I hope that accuracy will be enough.
    – Robotex
    Jul 26, 2022 at 17:01
  • @Bodo This microphones maximintegrated.com/en/products/analog/audio/MAX4466.html
    – Robotex
    Jul 26, 2022 at 17:23
  • 1
    Please edit your question to provide requested information or clarification, don't use comments for this purpose.
    – Bodo
    Jul 26, 2022 at 17:28

1 Answer 1


The Pi has no analogue GPIO.

You need additional circuitry between the Pi's digital GPIO and the microphones. The simplest way would be to add a SPI based ADC such as the MCP3008.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.