Audio Play Using SD Card Module And Arduino

In this article, we will see how to play an audio using SD card Module and Arduino. We have to save the Audio in a .wav file and specifically command the Arduino to play the Audio at the specific digital pin. The volume of the Audio can also be adjusted in the coding as per the requirement.

In this article, we will see how to play an audio using SD card Module and Arduino. We have to save the audio in .wav file and specifically command the Arduino to play the audio at the specific digital pin. The volume of the audio can also be adjusted in the coding as per the requirement.

Requirements

Arduino UNO

Speaker or Headphone

SD card module

Connecting Wires

SD card

Steps to follow:

Step 1

Follow the below-mentioned circuit diagram to build the circuit.

CS pin to 4th pin

SCK pin to 13th pin

MOSI pin to 12th Pin

MISO pin to 11th pin

Audio output pin- 9th Pin.

Place the SD card in the SD card module.

Step 2

Select any audio and convert it into 8 bit, monotype Wav file. Save it in the name of 1.wav file and 2.wav file.