Uploaded May 2022 | Updated September 2026, 1 week ago
Completely messed up the designs of the PCBs - there'll be a video shortly to explain what I did wrong. So I thought I'd try out the MHP30 to get a bit of practice in.
I'll be doing a proper video on the MHP30 once I get the fixed PCBs. But if you want to pick up one now you can do so here:
https://s.click.aliexpress.com/e/_Aga3xT
----
If you'd like to help support the channel then I have a Patreon and a KoFi page:
Patreon - patreon.com/atomic14
KoFi - ko-fi.com/atomic14
And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money:
Aliexpress - https://s.click.aliexpress.com/e/_Ac05mF
Amazon - amazon.com/?tag=atomic14-20
You can also join us on Discord here: discord.gg/h2DDnDdjD2
Completely messed up the designs of the PCBs - there'll be a video shortly to explain what I did wrong. So I thought I'd try out the MHP30 to get a bit of practice in.
I'll be doing a proper video on the MHP30 once I get the fixed PCBs. But if you want to pick up one now you can do so here:
https://s.click.aliexpress.com/e/_Aga3xT
----
If you'd like to help support the channel then I have a Patreon and a KoFi page:
Patreon - patreon.com/atomic14
KoFi - ko-fi.com/atomic14
And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money:
Aliexpress - https://s.click.aliexpress.com/e/_Ac05mF
Amazon - amazon.com/?tag=atomic14-20
You can also join us on Discord here: discord.gg/h2DDnDdjD2


![Record & Playback Audio on ESP32 SD Card: Step-by-Step Guide & Demo
In this video, we record audio to an SD Card as a WAV file and then play it back.
If you like ESP32 audio videos - Ive got a complete set on this playlist: https://www.youtube.com/playlist?list=PL5vDt5AALlRfGVUv2x7riDMIOX34udtKD
Im using an I2S microphone in the video which Ive set up to use DMA to collect the samples. These are streamed straight to the SD Card and we create the WAV file header so that its a valid file.
For playback, Im using an I2S 3W amplifier board from Adafruit. This is connected to a 4ohm speaker. Once again we use DMA to transfer the samples which are streamed from the SD Card.
You should be able to modify the code to use the built-in ADC and an analogue microphone board, and you can modify the code to output using the DAC which would let you wire this up to headphones or an analogue amplifier.
[0:55] SD Card to SPI Wiring Diagram
[1:11] Soldering up an SD Card adaptor
[1:30] Getting it working
[2:27] Demo
[2:50] Looking at the WAV file on our PC
[3:22] Conclusions and wrap up
As always the code is on GitHub: https://github.com/atomic14/esp32_sdcard_audio
I2S Amplifier MAX98357 - https://amzn.to/3cg88Z5
TinyPico - https://amzn.to/3vVoONp
or ESP32 Dev board: https://amzn.to/3gb6fyc
INMP441 I2S Microphone: https://amzn.to/3cicuiv
or ICS-43434 I2S Microphone: https://www.tindie.com/products/21519/
I think I might turn this into a nice little voice memo device.
Patreon: https://www.patreon.com/atomic14
ko-fi: https://ko-fi.com/atomic14 Record & Playback Audio on ESP32 SD Card: Step-by-Step Guide & Demo](https://i.ytimg.com/vi/bVru6M862HY/mqdefault.jpg)







