We just send the audio data that we receive from microphone the Serial output, so that we can monitor it in the Serial Plotter.
Here is the result on the Arduino Serial Plotter:
ADC | ESP32 | UNO R4 |
---|---|---|
VCC | 3.3V | 3.3V |
GND | GND | GND |
OUT | GPIO34 | A0 |
For the input I was using a MCP6022 Microphone Sensor. Plaese note that the signal that we receive from the ADC might need to be adjusted so that it is oscillating around 0.