Home » Science & Technology » Play MP3 Files on ESP32 Without Codec Chip: Easy Guide

Play MP3 Files on ESP32 Without Codec Chip: Easy Guide

Written By atomic14 on Tuesday, Nov 02, 2021 | 04:27 AM

 
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: https://www.youtube.com/watch?v=ybGOT4d2Hs8 Here's my ESP32 audio playlist - there's a lot of gems in there for you to watch: https://www.youtube.com/playlist?list=PL5vDt5AALlRfGVUv2x7riDMIOX34udtKD And here's the code: https://github.com/atomic14/esp32-play-mp3-demo You can get a headphone jack breakout board here (Amazon affiliate link): https://amzn.to/3wdinpW ---- Patreon: https://www.patreon.com/atomic14 ko-fi: https://ko-fi.com/atomic14