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.
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
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
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
Hi William.
Thanks for your comment.
At the moment, we don’t plan to write about audio/MP3 on the ESP32.
Regards,
Sara
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
That’s great!
Thanks for sharing those resources.
That blog contains several interesting articles about MP3 and the ESP32.
Regards,
Sara
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