I want to recognize the voice using raspberry pi and for that required a microphone

but most of the cases I have seen that USB microphone used in Raspberrypi for voice input, but I want to use a normal two-wire capsule microphone to provide voice input for recognition of the voice. So I need help on this, Please suggest me how to interface a normal capsule microphone with raspberry pi for voice input to recognize the voice.


  • People use USB mics because the Pi has no analog inputs. The only other option is a soundcard
    – Milliways
    Jul 16, 2019 at 22:40
  • How about try Audio Converter, you can find it in Aliexpress for 1.9$ aliexpress.com/item/…
    – haykp
    Jul 17, 2019 at 13:47

1 Answer 1


I believe there is no audio input on the Raspberry 3B+. You will have to find a hat to put your Piezo microphone, or go with USB…

It's difficult to make a Audio input as it requires a efficient and fast ADC to convert the signal and this is not something present on the Raspberry 3B+.

Note that USB may have latency compared to GPIO HAT based solutions. But going USB allow you to reuse the device on a standard computer.

Raspberry Pi 3 audio input?


  • No, I am not going to any USB interface for audio input which I had mentioned before. I need another solution. Jul 17, 2019 at 6:39
  • Arnaud, can we use this i2c interface board for audio input for raspberry pi Adafruit Silicon MEMS Microphone Breakout - SPW2430 [ADA2716] link: thepihut.com/products/… Jul 17, 2019 at 7:05
  • No as said in my answer you will need an ADC to transform your voice into digital data. And then you will need to collect the data. What you showed me is just a microphone breakout board. No amplificator (could be good to have) and no chip to turn voice into precious bits. Example : seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT.html Jul 17, 2019 at 11:40
  • Hi Arnaud, I need another suggestion from you. Like we have 4 channel USB port in raspberry pi now if I remove any two USB and therefrom if I hook up the 4 wire with USB input microphone. is that possible to communicate as before like USB? Actually the main motive is there should not be any flexible(easy Removeable )input communication that's why I just wanted to convert port to wire communication any how. Oct 28, 2019 at 14:01
  • Hi, If your microphone is USB, I believe you can plug it this way. But I'm not sure of understanding your question.. Nov 4, 2019 at 8:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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