Record audio from Arduino Nano 33 BLE and save it to SD card in WAV(MP3) format

Hello everyone,

I am a beginner at Arduino nano 33 BLE. I am trying to record audio from the inbuilt microphone of Arduino nano 33 BLE and save it to an SD card in WAV format but I am not able to do that. I refer to PDM library code but it gives only numerical data and Serial plotter. I don’t know, how to convert it into WAV.

Help me in,

  1. Which library can I use to record audio?
  2. How to send it to an SD card in WAV or MP3 format?

If it is not possible to record audio directly in MP3(WAV) format then,

  1. How can I convert PDM serial data to WAV format?

Thanks.

Hi @dev_1611,

I have not personally recorded PDM audio data to an SD card with the Arduino Nano 33 BLE, but with some brief searching, I found this library that should give you a good starting place: https://github.com/pschatzmann/arduino-audio-tools

1 Like

Thank you

I will explore this library.