Speaker with Arduino and Micro SD

This trick teaches you how to use Micro SD/SD card for Arduino and speaker.

Dec 28, 2017

42608 views

16 respects

Components and supplies

1

Speaker: 0.25W, 8 ohms

1

Arduino UNO

6

Male/Female Jumper Wires

1

MicroSD Module (Generic)

Tools and machines

1

Hot glue gun (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

socure code

arduino

Downloadable files

scematic

scematic

scematic

scematic

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

Does not work.

Anonymous user

4 years ago

Does not work.

Anonymous user

4 years ago

For me it's not working I am doing the same.

Anonymous user

2 years ago

In the diagram, pin 9 is empty and instead the wire is connected to pen 8. Change the value in the code from: tmrpcm.speakerPin = 9; to tmrpcm.speakerPin = 8;

Anonymous user

2 years ago

You may also have incorrect SSD card. I used 64G first and found out it caused the issue cuz my SSD adapter accepted only up to 32G. 8G card in the end worked for me.