Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

How about an I2S microphone [1]? Or a PDM microphone [2]? These hook up to GPIOs.

[1] https://www.adafruit.com/product/3421

[2] https://www.adafruit.com/product/3492



sort by: page size:

https://www.adafruit.com/product/3421 https://learn.adafruit.com/adafruit-i2s-mems-microphone-brea... :

> The I2S is a small, low-cost MEMS mic with a range of about 50Hz - 15KHz, good for just about all general audio recording/detection.

From https://en.wikipedia.org/wiki/Ultrasound :

> Ultrasound devices operate with frequencies from 20 kHz up to several gigahertz.

Raspberry Pi Pico (RP2040), Pi Zero [2 W]: $5+

Power supply, case, wall-mount:

Mic: ~$6

Huge [red] 7-segment display with I2C and voltage regulator components taped to the wall next to the sports bar TVs:


what kind of microphone do you recommend for pi?

FYI, there are already microphones with PCM, I2S, or even complete SoundWire protocol support.

Thanks for the tip! Both Rhasspy and PicoVoice look great. Anyone can recommend a microphone array that works with the raspberry pi?

Oh, with the built in microphone option! Great idea.

Thanks for that recommendation!


Any recommendations for microphones that are (a) high-quality, (b) cheap (under US$5.00), (c) small (under a cubic centimeter), and (d) with analog output (such as a 1/8-inch plug)?

Note that high-quality and cheap are not contradictory requirements. iPhones and other smartphones have extremely high-quality microphones (and they are tiny) and must certainly cost much less than $5 as a part, but they seem impossible to find. Every off-the-shelf mic under $5 that I've tried has been garbage in terms of sound quality, and even much more expensive ones have not been great.

Good mics certainly exist. Here's a compact analog microphone I own that has fantastic sound quality:

http://www.amazon.com/Sony-Electret-Condenser-Microphone-ECM...

But it's ridiculous that this microphone costs 6x as much as the CHIP and 10x as the RPi Zero. You can't build a product around the CHIP or the RPi if an essential part is that expensive.


try "smart microphone"

Is there a box you can plug an xlr mic into, and have it apply effects like this and output a usable signal? I'd like to move towards a real mic, but setting up filters on each of my work machine, home machine and phone sounds really annoying.

Is this something an rpi would be good for? Is there a writeup somewhere of how to do something similar?


So you want to use an analog microphone with the Raspberry Pi? Why?

As far as I know there are three kinds of microphones:

* The cheap analog ones, can be USB or audio jack. Presumably you want one of these?

* The digital ones, USB. Even some MEMS microphone chips now come integrated with amplifier and ADC. This can be almost as cheap as the preceding option, but can also be high quality; seems like the best option.

* The XLR proffesional microphones. You probably do not need or want this, assuming you will use just one microphone per Pi.


This (ahem) sounds fantastic.

I’m currently doing VC off an iPad while sat in front of my Linux workstation.

The workstation has no microphone. What kind of mic could I get for it, to migrate all my VC to the workstation?


Do you have a recommended mic setup for a Raspberry Pi? Devices like the Echo have multiple mics, etc., to detect voices in otherwise noisy rooms, so if there's something like that for a DIY setup that would be awesome.

I know that there are relatively cheap USB line inputs available, but I didn't see what the PiPhone was using.

What components are used for the PiPhone's microphone?


Anything with a condenser microphone and a wired headset would do, just please don't use Bluetooth headsets. The Bluetooth device is in HSP mode for duplex audio with worse bitrate than a landline phone.

Any recommendations on a good raspberry pi hat or microphone to test this?

The problem with that is that you can turn speaker info a microphone:)

Go for an I2S MEMS microphone. Avoid analog microphones as they'll be very noisy and the ADCs on the ESP32 range are pretty rubbish.

You're pretty much limited to PDM microphones nowadays though there are some PCM ones still knocking around. PCM mics are considerably cheaper.

Audio is well supported on the ESP32 and there are plenty of libraries and sample code out there.


No experience building exactly what you're describing, but the Adafruit MagTag may work for you https://www.adafruit.com/product/4800.

I've only done so much as display text on it (json response from a server). Unsure how difficult it would be to connect a microphone input to it.


You'd also need microphones that pick up low frequencies.

Single microphone won't do that. You need a microphone array.
next

Legal | privacy