keydown
February 10, 2023, 11:50am
1
Hello!
Im trying to find information on this put I can't find anything.
I want to use an esp to act as a microphone input.
-Esp plays the audio to two wires connected where a typical small microphone usually sits.
Imagine a microphone connected to a PCB with two leads, you remove the microphone and hookup the esp to the PCB in place of the microphone.
Is it possible to make the esp act as a microphone?
Hi! Welcome to the Forum.
Nope. The ESP is a microcontroller. It can not "hear" the sound unless you use a mic module or buy an ESP32 based board with mic included.
Sure. Get to know the characteristics of the real microphone and then make the esp and some circuitry produce the same signal levels.
keydown
February 10, 2023, 12:08pm
5
I need sound output to the microphone, not its reception
keydown
February 10, 2023, 12:24pm
7
need to connect esp32 instead of this microphone
A simple answer. NO.
A more complicated answer, Yes.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/i2s.html
Your learning n curve is going to be steep.
keydown
February 10, 2023, 12:27pm
9
esp32 must be connected not to a speaker, but instead of a microphone of another transmitting module
Ok. So I believe @Railroader already gave you the answer. You´ll have to use ESP32 to mimic the transmitter mic signal. But in this case I can´t help you any further because I don´t know how to do it either, sorry.
The answer is, "You will NOT be able to use the ESP32 as a microphone output".
keydown
February 10, 2023, 12:37pm
13
I can use esp32 to output sound to the speaker, why can't I output sound to the microphone input?
What happened when you tried? You will not know if you can or cannot till you tried.
Now post the code you used for your best attempt and how you expected it to work and what the code does instead.
You need to sort out matching the
Levels and Impedance to get you started, then sampling rate any EQ that might be needed…
You can. Just use a voltage divider to reduce the output voltage of the ESP32 audio signal to the microvolt or millivolt levels that the "microphone input" expects.
1 Like
system
Closed
August 9, 2023, 9:36pm
17
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.