• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Audio with ESP32

Q&A Forum › Category: ESP32 › Audio with ESP32
0 Vote Up Vote Down
Angry asked 6 years ago

Hi, you don’t have anything about audio (output and input) in your esp32 course. I wanted, mainly, to learn on how to output music with my esp32, using an I2s amp into a speaker, thought a Bluetooth connection.
I would appreciate any help, thanks.

Question Tags: Audio ESP32 Input Output Mic Amp I2S
7 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Angry.
We don’t cover audio with the ESP32 in our course and we don’t have any tutorials about that subject.
However, here are some resources that you may find useful:

  • https://github.com/earlephilhower/ESP8266Audio audio library for ESP32 and ESP8266
  • http://www.iotsharing.com/2017/07/how-to-use-arduino-esp32-i2s-to-play-wav-music-from-sdcard.html – project that shows how to play audio from sdcard
  • https://www.hackster.io/julianfschroeter/stream-your-audio-on-the-esp32-2e4661 this tutorial shows how to stream audio with the ESP32

We’ll be adding a new unit to the course about Bluetooth Classic very soon, that you may find useful for your projects.
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 3 years ago

Good Morning Sare,

Any plans for tutorial on implementing Bluetooth Speakers, MP3 player (DF Robot Mini Player) and Bluetooth Wireless speaker using ESP32?

DF Robot, Test Application code takes care of the MP3 player part.  Looking to connect a Bluetooth Speaker with the MP3 player.

Have spent much time searching and reading; nothing compares to your tutorials in explaining code and how to accomplish the task.

Regards,
William

0 Vote Up Vote Down
William Lucid answered 3 years ago

Good Morning Sare,
 
Any plans for tutorial on implementing Bluetooth Speakers, MP3 player (DF Robot Mini Player) and Bluetooth Wireless speaker using ESP32?
The DF Robot, Test Application code takes care of the MP3 player part.  Looking to connect a Bluetooth Speaker with the MP3 player.  
 
Have spent much time searching and reading; nothing compares to your tutorials in explaining code and how to accomplish the task.
 
Regards,
William

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi William.
Thanks for your comment.
At the moment, we don’t plan to write about audio/MP3 on the ESP32.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 3 years ago

Hi Sara,

Went down several “rabbit holes” in two days of searching; found this article, there is a link in the article to his GitHub repository for the library.

Arduino: Streaming MP3 Files to a Bluetooth Speaker

Published by pschatzmann on 2. November 2021

Will update when my Mini MP3 arrives tomorrow; I will use this library to add a Bluetooth speaker, interfaced to a ESP32.

Regards,
William

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

That’s great!
Thanks for sharing those resources.
That blog contains several interesting articles about MP3 and the ESP32.
 
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 3 years ago

Unfortunately, according to the below linked article; the mini MP3 player, produces poor audio quality.  I will be using pschatzmann‘s method of using a SD card breakout instead of the DF Mini MP3 breakout.

minimp3 Decoder on an ESP32 ? Published by pschatzmann on 14. May 2022

Regards,
William

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.