Play MP3 Files on ESP32 Without Codec Chip: Easy Guide

Опубликовано: 02 Октябрь 2024
на канале: atomic14
87,017
1.5k

We're playing MP3 files with no additional hardware! As always, big thanks to https://www.PCBWay.com/?from=atomic for sponsoring this video.

We're messing around with more audio in this video. This time we're looking at decoding and playing back MP3 files on the ESP32 - all done in software, no fancy codec chips required.

0:00 Why MP3?
2:55 Decoding MP3 Data
3:40 Headphone output using the built-in DAC
5:58 I2S Output to the MAX98537 Amplifier
8:06 Bonus content - volume control!

Here's a link to the record-breaking shortest published song:    • Napalm Death - You Suffer  

Here's my ESP32 audio playlist - there's a lot of gems in there for you to watch:    • ESP32 Audio  

And here's the code: https://github.com/atomic14/esp32-pla...

You can get a headphone jack breakout board here (Amazon affiliate link): https://amzn.to/3wdinpW

----
Patreon:   / atomic14  
ko-fi: https://ko-fi.com/atomic14