- ESP32(S3) board
- INMP441 (or other I2S microphone)
- MicroSD HC card
Optional: adapter for MicroSD card OR use ESP32S3 with internal microsd slot (in my case)
- Support IMP441 or other I2S microphone
- Support MicroSD HC Cards
- Audio Recording after start ESP32 or reset button press on ESP32
- Name of files into card use randomly for several recordings
- Format audio: wav raw
- Possibility to choose: record duration, volume level, buffer size and sample rate (show constants in code)
- Setting up your Arduino IDE for ESP32 Boards
- Connect microphone and microsd to GPIO
- Connect your ESP32 Board to your computer
- Upload this code to your ESP32
ESP32(S3) Board | INMP441 |
---|---|
GND | GND |
3V3 | VCC |
GND | L/R |
D15 | WS |
D16 | SCK |
D17 | SD |
#define SD_MMC_CMD 38 // CMD pin for SD_MMC
#define SD_MMC_CLK 39 // CLK pin for SD_MMC
#define SD_MMC_D0 40 // D0 pin for SD_MMC
Read examples for SD_MMC.h
library and compare with your MicroSD adapter