adding sound or music to our project will always make it look cooler and sound more appealing. Especially if you're using the Arduino Development Board, and you have a lot of spare pins, you just need to add an SD card module and a normal speaker to easily add sound. In this article, I'll show you how easy it is to use your Arduino Development Board to play music and add sound. Thanks to the Arduino community for developing libraries that can be implemented in a quick and easy way. We also use the LM386 chip for amplification and noise cancellation.
Required Hardware:
1. Arduino UNO Development Board
2. SD Card Reader Module
3. SD Card
4. LM386 Audio Amplifier chip
5.10uf Electrolytic Capacitor
6.100uf Electrolytic Capacitor
7.1K and 10K Resistors
8. Keys
9. Bread Plate
10. Connecting Wire
Prepare WAV audio files:
In order to play sound from an SD card using the Arduino Development Board, we need the. wav format for audio files, because the Arduino Development Board can play WAV-specific format audio files. To make an Arduino mp3 player, there are many MP3 expansion boards available using the Arduino Development Board. or to play the mp3 file in Arduino, some websites can be used to convert any audio file on your computer to a specific WAV file.
For more detailed information, please refer to: https://www.yiboard.com/thread-728-1-1.html