How to Play audio with Arduino | Audio in Arduino | How connect Speaker with Arduino | Fair Electro

preview_player
Показать описание
#How to Play audio with Arduino #Audio in Arduino #How connect Speaker with Arduino

Hello friends, In this video, I show you how to play audio by using Arduino UNO and SD card module.

For making this project I am using:-
(Ali Express)
(Amzon)

For Arduino Learning:-

0:00 Introduction
0:34 Arduino UNO
0:55 BD139 Transistor
1:26 Open online audio converter (link in description)
1:32 Upload mp3 file which you want to play in arduino
2:34 Send the converted .wav file to SD card
2:53 Upload this code into Arduino (code link in description)
3:02 Connect jumper wires to SD card module
3:32 Fix transistor on bread board
3:51 Connect speaker's -ive to pin2 of transistor
5:16 Connect speaker's +ive to 3.3 volt pin of Arduino
5:29 Connect transistor's pin1 to GND and pin3 to ping of Arduino
5:53 Insert SD card into SD module
6:07 Connect power cable
Рекомендации по теме
Комментарии
Автор

Can we take a file from the internet via wifi of esp32 and write it to the sd card and then play it?

snopz
Автор

thank you so much for this video.
It explains a lot of problems for me.
For example; that the SD card works with files that can be called upon to play, rather than using memory addresses of EEPROM memory cards.

ericgroen
Автор

is it okay to use 4ohms and 30 watts speaker????

jannahersheybelarmino
Автор

Could you tell me please how the wiring would have been changed If we use trrs jack breakout instead of a speaker. Is It correct we have to connect d9 pin to the emmiter of the transistor and tip\ring1 to the base and nothing to the collector? In this case I have a little bit of noise in my headphones :( I used bc547c instead of the required transistor in this video.

happyrabbit
Автор

Can you do this without the transistor? does it just amplify the volume to the speaker. I just need a little information.

milespeterson
Автор

Nice video... i just wanna ask if it will be able to add sensor like utrasonic sensor to have a gesture control for the play, pause and volume?

pinangaypedro
Автор

Awesome instructional video! Thank you!

KrampusVsChristmas
Автор

How sd card is providing analog signal to the speaker?. If I use serial port to transfer audio file to Arduino the speaker doesn't sound as the original audio. Why is it so?

muhammaddanialk
Автор

code works and thank you soo much but I have a problem .. my speaker sounds really low and the track plays too fast I tried to change hz and bit rate but it didnt change It got worse can you help me I also tried diffrent speakers

thatclipguy
Автор

Giving This Error: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] what can i do?

Btunc
Автор

Do we have to use the same type of transistor or can we use a different one?

karahkost
Автор

Hi what if don't have transistor for project is this work?

crisjulianimperial
Автор

Hi, nice video! Just a question: where you able to play 2 sounds simultaneously?

gregoriogregorino
Автор

THANK YOU VERY VERY VERY VERY VERY VERY VERY VERY
THANKS A LOT

thekidmagician
Автор

Thanks it is good. is it possible to play many file from SD card?, Sir

wrk
Автор

so i did it and wired everything correctly and have a WAV file but still nothing is happening like the arduino light flashes and then just nothing happens what do i do and it also says SD fail on the serial monitor

randomguy
Автор

would it be possible to attach buttons, to input what file in the sd card you want to play, and to trigger it to play? and even attach a screen to show which file you have selected?

dannyflintoft
Автор

What's the name of the song 0:20 ?

TheBowlerYT
Автор

I have a problem.
Doing the same thing and using the same sketch my audio is very slow (something like 50% of original speed i suppose) and a lot "scratched"
To solve the problem i've changed the MCU (from Nano to UNO), the sketch, the SD module with a second identical board and the SD card, but NOTHING solved my problem.🥵

Any idea please????🙄

iwilz
Автор

File convert kisi bhi Computer se ho sakta he

Rihansgba
welcome to shbcf.ru