esp32_SoundRecorder icon indicating copy to clipboard operation
esp32_SoundRecorder copied to clipboard

ESP32 Sound recorder with simple code in arduino-esp32. (I2S interface)

esp32_SoundRecorder

board

Prepare

  • ESP32-DevKitC : espressif
  • AE-ADMP441_K : Akizuki Denshi (or similar product using ADMP441)
  • AE-MICRO-SD-DIP : Akizuki Denshi (or similar product for micro SD slot)
  • resistor 10kΩ x 4, 100kΩ x 1, capacitor 22pF x 1

Wiring microphone with I2S interface

wiring1

Wiring MAX9814 (without I2S interface) by ligantx

WiringMax9814 The SD card wiring is the same as above (for my sd card adapter, pullup resistors weren't necessary)

MAX9814 Wiring: MAX9814 | ESP32 GND - GND
Vdd - 3V3
Out - VP (GPIO36)
AR - dont connect
Gain - if it's not connected is 60dB Gain, if its connected to Gnd it's 50dB, and if it's connected to Vdd it's 40dB

Note: if you want to change the Esp32 VP pin to another, use this image and change ADC1_CHANNEL_0 in I2S.cpp file accordingly.

i used information from this example

Development Environment

How to use

Set SD card. Turn on the power. And it starts recording sound and saves as wav file (16bit, monoral, 44.1kHz) in SD card.