Hi,
I bought a speaker and I would like to play mp3 music. I just have an Arduino, some basic electronic components (resistors, diode, potentiometer) and this speaker. Do I have to install a certain library?
Thanks for your answers. Peace
Antoine
Hi,
I bought a speaker and I would like to play mp3 music. I just have an Arduino, some basic electronic components (resistors, diode, potentiometer) and this speaker. Do I have to install a certain library?
Thanks for your answers. Peace
Antoine
Where is your mp3 file? On SD card?
You probably need a mp3 player breakout board. That may have a SD slot and a audio amplifier.
Hello antoine_pir
All in all a mp3 player is needed.
Keep it simple and stupid firstly.
Run some tutorials for the hardware selected.
If you are happy with the results of the tutorials you can merge these to your project.
Have a nice day and enjoy coding in C++.
Thanks for you answer
use the DF player mini.
tutorial here:
In order to drive a speaker from an Arduino you need to build an amplifier. This is the schematic of a simple one.
If your sound player module has a built in amplifier then you can use that, but if it only has a line level output you will need at least this circuit. The actual volume is very dependent on the sort of enclosure you mount it in.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.