Audio Player using ARDUINO [sd card interface]

  Рет қаралды 126,836

creative research

creative research

Күн бұрын

Пікірлер: 167
@dmartire99
@dmartire99 5 жыл бұрын
Thank you very much for this video! I never realized you could use a 3.5mm jack like that. You just simplified a project I was working on.
@sacram1
@sacram1 4 жыл бұрын
This video was not only useful but well explained.Damn. Indians stepped up their game, and they are probably smarter than me xD
@lebiosphere
@lebiosphere 5 жыл бұрын
Thank you. It is the most simple tuto about sounds on Arduino I have seen.
@chronobot2001
@chronobot2001 Жыл бұрын
Thanks for doing this video. It was very useful for my project. Many thanks.
@creativeresearch
@creativeresearch 11 ай бұрын
Thanks :-) Keep Subscribe
@Rabianurguven
@Rabianurguven 6 жыл бұрын
hey how is still giving voice without GND connection? 8:25
@Gears075
@Gears075 4 жыл бұрын
espero que se traduzca con Google después xD, pero he estado buscando información al respecto para un proyecto que estoy preparando y eres el primero que encuentro con las caracteristicas que busco, eres genial master!
@Moabsumo
@Moabsumo 5 жыл бұрын
Intersting.... Plz can you figure out how the aux wiring is???
@AudioStuff
@AudioStuff 6 жыл бұрын
Hi thanks for sharing. But it stills appearing this 2 errors: "/Users/macbookpro/Documents/Arduino/Audio_Button/Audio_Button.ino: In function 'void setup()':" and this: "/Users/macbookpro/Documents/Arduino/Audio_Button/Audio_Button.ino:19:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmrpcm.play("Test.wav");". I'm using this SD Card Reader but the names are different. Can you confirm if "MOSI" can also means "DO" and "MISO" means "DI"? It also has something like "DATA 1" and "DATA2". In the monitor it appears "sd card fail". Thanks so much man!
@VANTABL4CK
@VANTABL4CK 5 жыл бұрын
Thank you, you made the video in a way that helps us to understand nicely
@kevinlefaix5389
@kevinlefaix5389 4 жыл бұрын
Thanks for this video. Kévin from France !
@anonymousghost5384
@anonymousghost5384 2 жыл бұрын
If we use arduino mega can we use 21 or higher pin
@RixtronixLAB
@RixtronixLAB Жыл бұрын
Nice video, well done, thank you for sharing it with us :)
@creativeresearch
@creativeresearch 11 ай бұрын
Thanks Keep Subscribe
@ShivrajKarkera91
@ShivrajKarkera91 Жыл бұрын
hi, many thanks for such a simplistic explanation. Is there latency in audio playback after you press the button? Can anyone confirm?
@abjmlove
@abjmlove 7 жыл бұрын
That's great! What is "Ohm" and "WAY" in your speaker? And how many voltage it can take?
@joetke
@joetke 6 жыл бұрын
The best solution around IMHO. Thanks. The secret is the pcm libraries and it works!
@creativeresearch
@creativeresearch 6 жыл бұрын
Thanks for the appreciation. I am really happy that this works for you. Keep watching
@rupesh0702
@rupesh0702 2 жыл бұрын
I don't understand... How speaker playing music with single wire ?
@pranavjyothi9892
@pranavjyothi9892 2 жыл бұрын
Hi Sir, I'm getting an error that says "ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmrpcm.play("song.wav"); " How do I rectify this?
@Camille-hy9yl
@Camille-hy9yl 2 жыл бұрын
I have the same error, do you fixed it ?
@randomguy6608
@randomguy6608 6 ай бұрын
why is the sound coming from the speaker really terrible quality, its really quiet and most of the frequencies you cant actually hear
@copernicusyew3930
@copernicusyew3930 2 жыл бұрын
Hi I like your video very much. Just wanted to ask how to solve when the audio came out to be distorted?
@copernicusyew3930
@copernicusyew3930 2 жыл бұрын
Hi, I like your video very much. I just have one problem. I am using a 4ohm 3watt speaker. The output sound is distorted. How do I solve it?
@hariss5496
@hariss5496 4 жыл бұрын
did u forget to connect the ground for the speaker?
@Rabianurguven
@Rabianurguven 6 жыл бұрын
hi good job , but I have parasite noises with voice :(
@dhirajkumarsahu999
@dhirajkumarsahu999 6 жыл бұрын
thank you so much sir!!!! you really saved my project!
@ndonkepcyrille5446
@ndonkepcyrille5446 6 жыл бұрын
cool video. Can we amplify the sound? i tried it by recording different wave sounds but the output is of very low quality
@creativeresearch
@creativeresearch 6 жыл бұрын
use an amplifier or good sound box. It will amplify that sound to a high quality music. Give it a try and revert back Thanks :-)
@chesszone5100
@chesszone5100 6 жыл бұрын
Sir this video is very helpful but can you explain me more about which speakers(small) to use? Can I use simple8 ohm 0.50W speaker? Thanks
@creativeresearch
@creativeresearch 6 жыл бұрын
Yes ucan use those speakers but that dont have too good amplification feature so u might end up with noise or low sound. Try use speaker that can enhance the audio tune. Thanks
@PradeepSingh-zc6qp
@PradeepSingh-zc6qp 4 жыл бұрын
Sir I made a jarvis programme python can I paste it in sd card to talk with arduino
@MechDickel
@MechDickel 6 жыл бұрын
Good video. I'll try to implement this device in a robot project.
@creativeresearch
@creativeresearch 6 жыл бұрын
Thanks for the appreciation. I am glad that this helps you to do more Please stay connected SUBSCRIBE Thanks
@severussnape5978
@severussnape5978 4 жыл бұрын
I hear screecing sounds instead
@ansharora976
@ansharora976 6 жыл бұрын
What kind of sd card this module support??
@darshitdarji3217
@darshitdarji3217 5 жыл бұрын
AMAZING! By the way, I want to go one step further. Add a 16x2 LCD display to it and it should displaythe NAME of the song instead of number. Also buttons like next, previous, play, pause, mute etc. Can u help me to do it? Please, I am waiting for your response dear bro.
@VANTABL4CK
@VANTABL4CK 5 жыл бұрын
I can help you do it
@gobindabindhani5045
@gobindabindhani5045 Жыл бұрын
Hello sir what the programing we do for welcome audio plz tell
@amberchatriwala5225
@amberchatriwala5225 4 жыл бұрын
Love you dude Thanks a lot 🙏
@tinytech4678
@tinytech4678 Жыл бұрын
you are not connecting the gnd signal to the speaker then how its played.
@Omarbg95
@Omarbg95 5 жыл бұрын
what if you wanted to play 2 songs or sounds at the same time?
@Max-lq9bi
@Max-lq9bi 3 жыл бұрын
Hihi Sir, i tried with Arduino NANO cannot work, may i know what problem it may have? I output the audio to pins 6 or 7 or 8 all no sound. My pins 10, 11, 12, 13 are connected to the Adafruit SD Card Reader with Chipselect on Pin10.
@tonylee1870
@tonylee1870 6 жыл бұрын
Why U didnt connect the ground of speaker with arduino?
@creativeresearch
@creativeresearch 6 жыл бұрын
I connected bro Gnd --> Gnd pin 9 --> Left/Right Speaker Please do watch the video properly Thanks
@tonylee1870
@tonylee1870 6 жыл бұрын
Can u give me ur contact number or email?? I have many questions to ask about different project
@twinklesiddiqui974
@twinklesiddiqui974 6 жыл бұрын
Kya SD card me koi software dalkar arduino me flash kar sakte hai
@nelsondarwinpaktech3954
@nelsondarwinpaktech3954 6 жыл бұрын
buddy,,,i tried but i think normal amplifiers r not able to amplify the PWM signal from pin 9....total distortion...
@ronaldolongoria8265
@ronaldolongoria8265 7 жыл бұрын
Hi, i am having trouble having the song play. I have the exact same code but my sd card adapter is connected using a breadboard. Would that be a problem?
@creativeresearch
@creativeresearch 7 жыл бұрын
No no thats cant be a reason but may be wire loose can cause that. Check connection properly and yes insert MP3 file and mention that file name in code to play, If ur problem cant solve still u can message me Thanks :-)
@satyajeetsen5148
@satyajeetsen5148 6 жыл бұрын
Is the sd card we normally use in mobile phones???I m having little doubt. So please tell me. If not what type of sd card it is...please it's necessary
@SawanTech
@SawanTech 3 жыл бұрын
can we use arduino to read data on sd card via computer
@bluthee
@bluthee Жыл бұрын
It works. I am using the laptop to power the speaker and the Arduino UNO but when I changed the power supply of the speaker, it stop working. My plan was to use DC adapter to power my speaker and UNO, but it won't work. Please help me!!!
@hugoferreira9865
@hugoferreira9865 7 жыл бұрын
hello, thanks for this informative video i just have ume question, in the line: tmrpcm.play("5.wav") 5.wav is the name of your audio file right ? thanks :)
@creativeresearch
@creativeresearch 7 жыл бұрын
yes all the *.wav extensions are for audio files . you can write ut own file name over their. Thanks for watching and appreciating. Please Subscribe and share our Videos. Thanks again :-)
@marekmikulski6213
@marekmikulski6213 7 жыл бұрын
Yes, that's right. 5 is the name and .wav i the file name extension
@pathmashanthasenanayaka3193
@pathmashanthasenanayaka3193 4 жыл бұрын
music file is play. But it gives noise sound only. Please help?😕😕
@prori5297
@prori5297 Жыл бұрын
What do you think about the audio quality, is it good?
@creativeresearch
@creativeresearch 11 ай бұрын
Yes it was good :-)
@Nomankhan-jv1nk
@Nomankhan-jv1nk 6 жыл бұрын
what should i do if i want to play more than one sound?
@ajithadeborah2511
@ajithadeborah2511 5 жыл бұрын
Sir i done all the pin configuration correctly but while connecting GND and pin 9 to earphones the song is not playing im getting only noise. can you please help me what is the problem.
@diyinventions7717
@diyinventions7717 6 жыл бұрын
Your video is nice you take video which camera
@Anime-kl3iq
@Anime-kl3iq 7 жыл бұрын
How did you connect the arduino to the speakers
@creativeresearch
@creativeresearch 7 жыл бұрын
Connect Pin 9 and Gnd to 3.5 audio Jack as shown in video. Please share your feedback and give a Like if u like the effort. Please SUBSCRIBE and share :-)
@davidkelemen3305
@davidkelemen3305 3 жыл бұрын
Hey, it crashes after 20-30 seconds when trying to play longer songs, any idea why?
@خالدرشدى-ك8ذ
@خالدرشدى-ك8ذ 5 жыл бұрын
The amplifier is necessary?
@AugustineArulrajF
@AugustineArulrajF 6 жыл бұрын
Its a good video......How about the Codes if I wants to use Ultrasonic Sensor......
@creativeresearch
@creativeresearch 6 жыл бұрын
bro just modify the code with condition of distance getting from ultrasonic sensor. I also tried using ultrasonic sensor and it working awesome. do try and let me know. Thanks for watching
@AugustineArulrajF
@AugustineArulrajF 6 жыл бұрын
creative research but bro i try but I couldn't get can u share the codes with me plzz
@manuelaverrecchia5323
@manuelaverrecchia5323 2 жыл бұрын
audio converter link not responding, which converter can i use?
@cinhuu
@cinhuu 6 жыл бұрын
hello my friend, how can I use a pam8403 amplifier module in that connection you made?
@k3ndro
@k3ndro 5 жыл бұрын
Awesome! can we do this with ARduino Nano ?
@SanthoshKumar-ud4ui
@SanthoshKumar-ud4ui 3 жыл бұрын
Yes
@kammatisaikiran1425
@kammatisaikiran1425 5 жыл бұрын
my error is: crtatmega328p.o:(.init9+0x0): undefined reference to `main', for this my solution is using int main(void), instead of void setup() but when I execute this I cannot hear the sound at all also error is return-statement with no value, in function returning 'int' [-fpermissive] return ; what can be the answer
@shonimadaskt9769
@shonimadaskt9769 4 жыл бұрын
which software are you used?
@bhalchandratulshibagwale4282
@bhalchandratulshibagwale4282 7 жыл бұрын
Very nice project . I have connected hardware as per the circuit diagram and generated 1.wav file 2.wav 3.wav from mp3 and transferred it to sd card .but it is playing garbage . I am sending strings playin1,2,3 etc to serial monitor . But it immediately sending strings to serial monitor without playing back . Please suggest a solution Regards - Bhalchandra
@shemeer313
@shemeer313 5 жыл бұрын
Sir. Can we select and play audio file using the arduino input pins. if can please share the input pin code
@codejob-roadmap
@codejob-roadmap 5 жыл бұрын
you deserve more subs and views i think in milllions hmm
@srejth
@srejth 5 жыл бұрын
When I upload the code and compiling, it says 'tmrpcm' does not name a type- for the line tmrpcm.play("3.wav"); please help thanks in advance...
@danuttudorin
@danuttudorin 5 жыл бұрын
hey man...i'm using a pair of headphones and all i can hear is noise. What should i do?
@patrickvandesprookjesschuu4532
@patrickvandesprookjesschuu4532 4 жыл бұрын
Nice video ! everything is working fine by me now. Can someone please tell me how to connect a microswitch of push button instead of the onboard button on the Arduino? I like to hear from you people
@SunilSharma-sz2lo
@SunilSharma-sz2lo 2 жыл бұрын
Ok so you just connect a pushbutton on reset pin left on 3.3v pin to gnd of the pushbutton it works
@SurcoGamer
@SurcoGamer 6 жыл бұрын
HI! i use an Arduino Mega 2560 and TFT shield elegoo 2,8 inch (with SD port). I've tried to use your code but i know pings are differents than yours, i tried to read/Write my SD with arduino to play music but it didn't work. so, How can i connect my SD with my arduino? Thanks for all !!.
@innovators
@innovators 3 жыл бұрын
USE pin 9 10UF CAP for dc cut 😍😍😍
@luishernandez-tx5zs
@luishernandez-tx5zs 4 жыл бұрын
good video tanks i love you i am front mexico
@varunnova5905
@varunnova5905 4 жыл бұрын
Hi, I want to make a mini MP3 player, but rather than a speaker, I want to listen songs via earphone. Can you make a video for that please 🙏
@ssbhandari9868
@ssbhandari9868 4 жыл бұрын
can we do it with EEPROM
@tonylee1870
@tonylee1870 6 жыл бұрын
Can i use handsfree instead of speaker??
@creativeresearch
@creativeresearch 6 жыл бұрын
Yes u can use Earphone instead of speaker The connection will be same. I already tested and that works But in speaker amplification is more so clarity will be more.
@nelsondarwinpaktech3954
@nelsondarwinpaktech3954 6 жыл бұрын
Ok buddy,,i will try to make it...
@creativeresearch
@creativeresearch 6 жыл бұрын
yes go on buddy :-)
@MrREIVAX2
@MrREIVAX2 7 жыл бұрын
hello, If you put this frequency 11025hz, the music sounds better
@creativeresearch
@creativeresearch 7 жыл бұрын
ohh thats great , I will surely try that :-)
@priyanshuupadhyay7864
@priyanshuupadhyay7864 7 жыл бұрын
Hey your video is amazing will you help me how to play song or any audio by speaking or i mean by giving command to ardiuno ?Like if I say to ardiuno that play despacito than then the audio play
@rajasb1217
@rajasb1217 6 жыл бұрын
can i play the sound on earphones . im using arduino mega . im having issues with playing sound can you help me plz?
@creativeresearch
@creativeresearch 6 жыл бұрын
Of course you can play sound on earphone. Replace speaker with earphone Thanks for watching :-)
@nurishahaniakamarudin7417
@nurishahaniakamarudin7417 6 жыл бұрын
Sir, can you help me . I want to play the mp3 song every time the sensor detect distance below 8. But this coding I create it only play once only if distance below 8 then it can't detect anymore. How to make it play every time the value less than 8 ? Thank you . #include "SD.h" #define SD_ChipSelectPin 53 #include "TMRpcm.h" #include "SPI.h" int trigPin = 2; int echoPin = 3; TMRpcm tmrpcm; void setup(){ pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); tmrpcm.speakerPin = 11; Serial.begin(9600); } void loop(){ //firstsensor(); int duration1, distance1; digitalWrite (trigPin, HIGH); delayMicroseconds (10); digitalWrite (trigPin, LOW); duration1 = pulseIn (echoPin, HIGH); distance1 = (duration1/2) / 29.1; Serial.print("1st Sensor: "); Serial.print(distance1); Serial.print("cm "); if(distance1
@mazzacake
@mazzacake 3 жыл бұрын
thanks for this! I have a question: shed the music start play automatically once you connect 5v to the arduino or you need to press the reset button?
@deepakhere233
@deepakhere233 2 жыл бұрын
The code is in the setup function that means all things should be connected before powering the Arduino or uploading the sketch, because it will raise error something like NO DEVICE IS CONNECTED TO THAT SPECIFIC PORT. You can reset it too! But, connect all things properly before resetting it as the code isn't looping. It's in the setup function which only runs one time once the Arduino is turned on. Have a great day mazzacake.
@jardinrecto
@jardinrecto 5 жыл бұрын
can u tell me why the sound of mine is distorted i follow all the instructions
@teamdruino7837
@teamdruino7837 6 жыл бұрын
Hi bro, Your project are awesome but if i wants to add ultrasonic can ah????? If ultrasonic scan then the song play........Can uh bro??????
@creativeresearch
@creativeresearch 6 жыл бұрын
yeah sure u too can do that. Just interface ultrasonic sensor and give a condition for play the music its that simple give it a try and if anything I can help give a comment I will be happy to help u Thanks. Keep Watching
@chesszone5100
@chesszone5100 6 жыл бұрын
Can I use this program using if condition and how???
@creativeresearch
@creativeresearch 6 жыл бұрын
u can set condition before playing sound like if something comes then only sound plays. Please clearly mention ur requirement. So that I can help u better Thanks
@chesszone5100
@chesszone5100 6 жыл бұрын
creative research thanks for you help Actually I am facing problem in using bluetooth module. Can you guide me where is my fault
@bakiwhite3411
@bakiwhite3411 5 жыл бұрын
help plz I need to use more sounds but it doesn't run on Proteus ,can you help me with the code plz?
@ibrahimhabbouchi6735
@ibrahimhabbouchi6735 6 жыл бұрын
I tried it exactly as shown but the serial monitor is showing me "SD fail" please help asap!!
@creativeresearch
@creativeresearch 6 жыл бұрын
That means your SD card not inserted perfectly or SD card is not working. Try to recheck this and share your output. Subscribe and Share Thanks
@rahulbansalproductions
@rahulbansalproductions 4 жыл бұрын
Hey, I need a help how can i connect to you Please, its a request
@abinmathewsali6312
@abinmathewsali6312 4 жыл бұрын
i cant get the spi library . please help me
@komalasutkar2984
@komalasutkar2984 2 жыл бұрын
How to increase volume?
@maheshkumar473
@maheshkumar473 7 жыл бұрын
I am using same circuit and same arduino model, but audio is not play
@creativeresearch
@creativeresearch 7 жыл бұрын
Please try with some speaker then go for earphone. Speaker has more amplifier to play Songs . Thanks
@johnkthomas2604
@johnkthomas2604 6 жыл бұрын
That's becus song was played from his mobile
@surindergupta8112
@surindergupta8112 5 жыл бұрын
Can I use earphone
@sunilkumarlaxmanbhairohit1379
@sunilkumarlaxmanbhairohit1379 5 жыл бұрын
In Nodemcu, Library not supported.
@balajisecurity9025
@balajisecurity9025 5 жыл бұрын
how to filter the sound please reply asap
@farisa.f3095
@farisa.f3095 3 жыл бұрын
how to remove hight pitch noise from Arduino ?
@hiteshzade9076
@hiteshzade9076 5 жыл бұрын
Can you please tell me the name of that SD card module
@mdajharali8588
@mdajharali8588 7 жыл бұрын
why my sd card is fail ? i used mega 2560. please halp
@chesszone5100
@chesszone5100 6 жыл бұрын
Sir actually I am having science exhibition in school ,so URGENTLY I need it.pls reply solution fast.
@creativeresearch
@creativeresearch 6 жыл бұрын
Do check the link I have shared with you
@nishantdhartalvar
@nishantdhartalvar 7 жыл бұрын
how much gb of sd card is supported
@creativeresearch
@creativeresearch 7 жыл бұрын
It can support from 2GB to 32GB. In this tutorial I tried on a 16GB Memory Card.
@DJNAVENDU
@DJNAVENDU 4 жыл бұрын
@@creativeresearch I cannot use old 256mb card with it ?
@BrosLahap
@BrosLahap 5 жыл бұрын
i already use this method. but the serial print display sd fail and no audio pls reply this asap
@hugotroost9557
@hugotroost9557 5 жыл бұрын
same help??
@pankajborade9642
@pankajborade9642 6 жыл бұрын
I am not getting sound in output
@creativeresearch
@creativeresearch 6 жыл бұрын
Try to use speaker instead of earphone. and also check that all cables are connected properly. If still any issues share more details. Thanks for watching.
@pankajborade9642
@pankajborade9642 6 жыл бұрын
creative research I am using Speaker and wiring also perfect. What is problem?
@indiarobotschool9680
@indiarobotschool9680 4 жыл бұрын
Can I speak multiple voice
@ahmetselim1166
@ahmetselim1166 3 жыл бұрын
I couldnt add spi library
@akankshakumari51
@akankshakumari51 7 жыл бұрын
thanks a lot helped me a lot
@creativeresearch
@creativeresearch 7 жыл бұрын
Thats the only Intention of making this Video. Thanks for sharing your experience with us. This motivate us for making more videos. Thanks again keep watching n sharing. :-)
@nizammohammed6200
@nizammohammed6200 6 жыл бұрын
Could you.plz send circuit diagram and code
@creativeresearch
@creativeresearch 6 жыл бұрын
Everything available in the Video and description. Do check and try the experiment.
@kammatisaikiran1425
@kammatisaikiran1425 5 жыл бұрын
i can not hear the music which i added, hear only the noisy sound tried with headphones also
@mariorepac4299
@mariorepac4299 5 жыл бұрын
I had same problem. But you need use audio convertor(description), use 8bit and 16 000HZ, that solve my problem.
@kammatisaikiran1425
@kammatisaikiran1425 5 жыл бұрын
@@mariorepac4299 thank you & it worked...
@mariorepac4299
@mariorepac4299 5 жыл бұрын
​@@kammatisaikiran1425 and now i am using buttun to turn music, if u want use it in void loop u must use delay
@kammatisaikiran1425
@kammatisaikiran1425 5 жыл бұрын
@@mariorepac4299 my error is: crtatmega328p.o:(.init9+0x0): undefined reference to `main', for this my solution is using int main(void), instead of void setup() but when I execute this I cannot hear the sound at all also error is return-statement with no value, in function returning 'int' [-fpermissive] return ; what can be the answer PLZ HELP.
@yehya3476
@yehya3476 6 жыл бұрын
the sound is sooo unclear please help
@shivambansal9663
@shivambansal9663 3 жыл бұрын
sir my project is not working
@NonsensibleExistence
@NonsensibleExistence 3 жыл бұрын
what's the issue? I have managed to figure a couple things out and I might be able to help.
How to Play Audio on Arduino + Debug
17:33
Make it happen!
Рет қаралды 11 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Trump announced the end date of the war / Emergency plane landing
14:05
Workbench Essentials When Starting Arduino! (Beginner Guide)
8:14
Motion-activated Sound Effects with Arduino, PIR Sensor & MP3 Player
25:26
Simple Way To Add Sound  & Relay Control To Your Prop or Model
26:29
The Makers Cave
Рет қаралды 58 М.
I built my own graphics card
15:34
jdh
Рет қаралды 1,5 МЛН
Arduino Tutorial: SD card module Micro SD tutorial DIY.
5:22
educ8s.tv
Рет қаралды 321 М.
Stop Wasting Money on New Batteries! Restore Old AA Batteries Today!
18:17
Using SD Cards with Arduino - Record Servo Motor Movements
31:53
DroneBot Workshop
Рет қаралды 204 М.
Building a Digital Music Player with I2S?! What is I2S! EB#45
10:24