Skip to content
0:00 / 0:00

#esp32#i2s#dma

ESP32 Audio Output with I2S DMA and the MAX98357A Class D Amplifier

atomic14

56K subscribers • 1 video on Hallway

YouTube

Intermediate. Assumes working knowledge.

129K views6 years ago2 recommendations

HardwareSystems programmingEmbedded systemsAudio and DSP

How to configure the ESP32 to output digital audio using I2S DMA and a MAX98357A Class D amplifier.

Hey Everyone, we’ve spent a couple of videos getting audio into the ESP32. I2S input - youtu.be/3g7l5bm7fZ8 ADC input - youtu.be/pPh3_ciEmzs If you like ESP32 audio videos - I've got a complete set on this playlist: youtube.com/playlist?list=PL5vDt5AALlRfGVUv2x7riDMIOX34udtKD In this video, we’re now going to switch it up a bit and get audio out of the ESP32! We're going to using the MAX98357A breakout board from Adafruit. This is a class D amplifier with an I2S interface which is great because it means our audio signal stays digital all the way up to the speaker output. You'll need a speaker to use the board with at least a 4ohm impedance and you can get up to 3W output. Thanks for watching this video and if you found it useful please subscribe to the channel - there are more videos coming! GitHub project is here: github.com/atomic14/esp32_audio Componetns: MAX98357 - amzn.to/3cg88Z5 TinyPico - amzn.to/3vVoONp ESP32 Dev board: amzn.to/3gb6fyc Speakers: amzn.to/3pjWFgq --- Want to help support the channel? I'm accepting coffee on ko-fi.com/atomic14

Why it's here

2 people recommend this

What people say. Recommended as a helpful guide for setting up digital audio output on the ESP32 using I2S.

u/90zbabyboyin r/embedded • Recommends

…tail). I'm currently in prototype phase. I plan to use a ESP32-WROOM-32E device and have a dev kit for it. I am able to play a .wav file, using I2S interface and an amplifier that takes in I2S and outputs an analog audio signal to a speaker. I am using platformIO for my development IDE. (Basically hacked the project from this video to my needs: [video The next piece of the puzzle I am trying to figure out is how I can have my iPhone talk to the ESP32 device to command it to play the .wav file that lives on the ESP32 device. Does anyone know a good starting point for learning how to talk between an iphone and a ESP32 device? Preferably using platformIO if possible? Any help is appreciate…

u/Ready___Player___Onein r/embedded • Recommends

On “Noob needs help with ESP32 + I²S + DMA”

I found this one; https://github.com/atomic14/esp32_audio There is also a youtube video: link to this video Greets