DfPlayer Mini Module - Play MP3 Files With an Arduino (Step-by-step Guide)

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • Diagrams and pictures:
    circuitjournal...
    There was a mistake in my previous video about the DFPlayer Mini module. Since its input pins are not 5V tolerant we need to have a voltage divider for the RX signal.
    Link to the previous video: • Playing Mp3 Files With...
    Buy from Amazon :
    DFPlayer Mini module: amzn.to/3cjzURF
    Genuine Arduino Nano: amzn.to/2zF8Q2e
    Low Wattage Speakers: amzn.to/36OsMeR
    Breadboard: amzn.to/2zKBLSg
    Resistor set: amzn.to/3bhwzIt
    Male to male jumper wires: amzn.to/2TX0GZP
    (As an Amazon Associate I earn from qualifying purchases)
    Buy from Aliexpress:
    DFPlayer Mini module: s.click.aliexp...
    Arduino Nano Compatible Board: s.click.aliexp...
    Low Wattage Speakers: s.click.aliexp...
    Breadboard: s.click.aliexpr...
    Resistor Set: s.click.aliexp...
    Set of Jumper Wires: s.click.aliexpr...
    Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
    Music from RUclips audio library.
    / @francispreve
    Francis Preve

Комментарии • 132

  • @bananabros5980
    @bananabros5980 3 года назад +56

    Of all the Sounds in the Universe, you chose that...

  • @BleaCliath
    @BleaCliath 5 лет назад +17

    THANK YOU! After three days reading several guides for DfPlayer and Nano, this is the only solution that worked for me. I didn't have a 680 resister but a 1k+2k=660 worked for me.

    • @bran42761
      @bran42761 2 года назад

      cant you just add smaller ones via serial?

  • @mikecoscia
    @mikecoscia 3 года назад +7

    Thank you for the video! I have everything setup, but I keep getting a "Connecting to DFPlayer Mini failed!". Any idea on what is causing the issue?

  • @neryasheetrit
    @neryasheetrit 3 года назад +1

    Thanks! I tried looping sound on my DFplayer and it isn't working, any idea why?

  • @TechHouseVids
    @TechHouseVids 11 месяцев назад

    So you can upload several files in the sd card and then chose which file you want to play? Just wanna know because I want to play several files and want to know if I need to buy 2.

  • @FlyWithSergio
    @FlyWithSergio Год назад +2

    How to change volume and tracks?

    • @exid8401
      @exid8401 5 месяцев назад

      on the code there is "player.volume(30)" the volume can go up to 30 and it means volume=30,
      to change the track you need yo change "player.play(?)"

  • @naveenvaid4318
    @naveenvaid4318 2 года назад

    hello i made it i use 8gb sd memory card. some times it's playing perfectly but some time df mini player led will permanently glow and there is no sound in speaker. whats the reason i cannot understand plase help me thanks in advance. but when i use 4 gb sd card it is perfectly work. whats the reason ..................?

  • @AntonyIssaqS
    @AntonyIssaqS 6 месяцев назад

    I have a problem with playing songs using DF player mini. It didn’t play the song. I had uploaded the song to the SD card. Then I insert that to the DF player. While inserting the SD card to the DF player, the light on the DF player mini turned off and there is no sign of playing the song. I thought that there might be an issue with the module. So I replaced that with newer one. Then also the same problem comes. I had used three modules till now but the problem persists. Can anyone who is familiar in this can able to solve this issue?

  • @ammess2033
    @ammess2033 8 месяцев назад

    I am new to arduino! please help if someone know this problem. I keep getting an error message that softwareserial library is not found.

  • @clydealcott3379
    @clydealcott3379 2 года назад

    Is there a way to make this device play more than 2 songs at a time... I thought of making a launchpad or keyboard.

  • @tamalmajumdar5409
    @tamalmajumdar5409 2 года назад

    At first it was not playing instade of following your video but I got the problem. If take the supply voltage from arduino then it shows failed but when I take a external voltage(5V) source it run smoothly. Now I can make my project using this

  • @e.s.2777
    @e.s.2777 Год назад

    your voltage divider is providing even less than 3V but datasheet of DF player mini suggest that 4.2V would be optimal. Is there any issue with using resistors of 1K and 4K for the voltage divider to obtain 4V for the DF Player mini?

  • @thomastucker4011
    @thomastucker4011 Год назад

    Is the headphone output really stereo or just mono in both ears?

  • @mikeberger1688
    @mikeberger1688 2 года назад

    will the player (just it) run from 4.5v? (3) 1.5v cells?

  • @vishalgiby448
    @vishalgiby448 2 года назад

    Is using df player mandotary?

  • @someonedoe9591
    @someonedoe9591 8 месяцев назад

    Can I program an ATtiny-85 to do this operation?

  • @danafisk6108
    @danafisk6108 3 года назад +2

    I am doing this project for school, but I need to do it in python and it's my first time using python. I cant find sample code or libraries for it anywhere. Does anyone know a good place for me to look?

    • @IndrekL
      @IndrekL  3 года назад

      Hey! You can't program Arduino in Python. Arduino IDE uses C++

    • @danafisk6108
      @danafisk6108 3 года назад

      @@IndrekL I know. I'm sorry, I should have specified. We are using the DfPlayer and a raspberry pi zero. Theoretically they should be compatible but since most tutorials use the Arduino microcontroller, the sample code is in C++.

    • @IndrekL
      @IndrekL  3 года назад

      @@danafisk6108 Hey! I haven't used Raspberry Pi myself, so I can't help here. But you should be able to use it.

  • @diorama_dad
    @diorama_dad 10 месяцев назад

    How do you "know" a resistor is needed? And how do you know what capacity you need?

    • @gerbil.
      @gerbil. 10 месяцев назад

      Because the module is not 5v tolerant on the data pins, you need a voltage divider to reduce it to 3.3v. The value of the resistors can be calculated to achieve a 1:0.66 ratio. In this case, a 1000Ω and a 680Ω resistor are used. Ideally, a 660Ω resistor is used, but the difference is negligible, it results in a 3.4 signal, which shouldn't be a problem.

  • @mrpartyld4246
    @mrpartyld4246 3 года назад +1

    Do you have any idea why it does not connect to the player when using a external 5V source

    • @IndrekL
      @IndrekL  3 года назад +1

      Hey! Someone else also said that they also had an issue like you describe. I haven't experienced it myself. So unfortunately can't help right now.

    • @mrpartyld4246
      @mrpartyld4246 3 года назад

      @@IndrekL Ok, thank you anyway. I will comment the solution, when I have one... :D

  • @t1d100
    @t1d100 Год назад

    Here's how to eliminate the resistor divider level shifter problem, for any freestanding (doesn't talk to a computer by USB) 3V3 Arduino module... Just run the Arduino on 3V3, too. The 328P data sheet shows 3V3 will work. Here's how... The Arduino 5V OUTput is connected to the Arduino power circuit after the Arduino's onboard 5V power regulator. So, connect a 3V3 power supply to the Arduino's 5V OUTput pin and the MP3 module's 3v3 power supply pin. Also, connect the grounds. The Arduino's 5V OUTput pin will route the 3V3 directly to the chip. You will no longer need any Rx/Tx level shifter resistors/dividers. You also can NOT attach the USB , as it has 5V power. This is a commonly known trick. Search it on RUclips, for complete instructions. I am not responsible for anything, if you try this method. I am just sharing an idea.

  • @ArcanePath360
    @ArcanePath360 4 года назад

    I'm using the DAC1 & 2 to an external amp with volume knob to headphones, but all I'm getting is a continuous popping noise. It makes a nasty pop when I turn on the Arduino. I don't know what the problem is as everything is wired up. Is it too powerful for headphones and I need a resistor somewhere?

    • @IndrekL
      @IndrekL  4 года назад

      Maybe Arduino resets because the DfPlayer mini draws all the current to itself. What happens if you use a separate power supply for the Arduino?

    • @ArcanePath360
      @ArcanePath360 4 года назад

      @@IndrekL It's okay, thanks... I found the problem; it turns out the grounds for the speakers need to be kept separate. Headphones have a common ground. I thought it would be like mini speakers but I was wrong to assume. Now I have a problem of either turning headphones into isolated grounds for each headphone and using resistors to lower the 3W output, or trying to find a module which is specifically for headphones (preferable), which I haven't been able to find.

    • @ArcanePath360
      @ArcanePath360 4 года назад

      @@IndrekL UPDATE: I have found something odd with this module which no one else seems to know: The GND on the other side of the module is not a common GND as with the side which is powered. When you use the other GND with the DAC1 and DAC2 it gives you stereo output, even with headphones which have a common ground. That is one problem solved.

    • @IndrekL
      @IndrekL  4 года назад

      @@ArcanePath360 Hey! Yes, I learned the same thing that the GNDs are not equal after making the video.
      I also mentioned it in my article about the module:
      circuitjournal.com/how-to-use-the-dfplayer-mini-mp3-module-with-an-arduino

  • @seniorchief48
    @seniorchief48 5 месяцев назад

    Clear and concise project. Good job!

  • @nailbobic1387
    @nailbobic1387 3 года назад

    I have a lot of noise from it and i dont know how to get rid of it. Tryed a lot but nothing worked. If u have tip or wonna help me let me know

    • @sannemetten
      @sannemetten 3 года назад

      Same, tried with different resistors, connecting it to a separate stable power source. Only time there is no noise is when unplugging the RX/TX pin haha

  • @rantovicannato9046
    @rantovicannato9046 9 месяцев назад

    Thank you. The best DFPlayer clip

  • @arbjful
    @arbjful 4 года назад

    Is it possible to increase the sound output?? I am trying to make an announcement system for a factory. The noise levels there are high, a bigger speaker and some amplification could do the job..

    • @IndrekL
      @IndrekL  4 года назад

      You should be able to connect the sound output from the Mp3 player module to an amplifier.

    • @arbjful
      @arbjful 4 года назад

      @@IndrekL thanks

  • @actarus74fleed
    @actarus74fleed 4 года назад +1

    hello to repeat the song endlessly how can I do? I apologize for my English but I use Google translator
    and that I am Italian

    • @IndrekL
      @IndrekL  4 года назад

      Hey! Try calling the "loop" method instead of "play". Like this:
      player.loop(1);

  • @toster1024
    @toster1024 4 года назад +1

    what is the meaning of 'play(5);'? how do I know whiche track does it play?

    • @IndrekL
      @IndrekL  4 года назад +1

      Hey! It's the fifth file on the SD card.
      You can't address the files on the SD card by name. You have to tell the file number to play.
      Also, note that the file number is assigned by the order you copy them to the SD card! So, it's the order that the files are physically laid on the SD card. Renaming files will not change the order.
      Another danger is that some operating systems (like MacOS) create hidden files onto the SD card that can also mess up the file number.

    • @toster1024
      @toster1024 4 года назад +2

      ​@@IndrekL Thank you! It was helpful!
      + I liked your video, this is the best explanation I have seen of activating this component

  • @_ahmedwalid_
    @_ahmedwalid_ 4 года назад

    how can I make it play more than one file with an if statement using push buttons.like if I pressed button A then play file 1 ,if button B is pressed play file 2 etc.....

    • @IndrekL
      @IndrekL  4 года назад

      Hey!
      If you know how to wire up buttons then in the main loop you can can call "player.play(1)" when one button is pressed and "player.play(2)" when the other button is pressed.

  • @wasanthawimaladharm
    @wasanthawimaladharm 4 года назад +2

    your videos excellent as usual, thanks for your great effort done for a few minutes

  • @dylanplante6862
    @dylanplante6862 4 года назад

    How do I Put the mp3 file into arduino like you did by naming the laugh track "1". How do I do that? Do I put a file in? If so, how do I do that?

    • @IndrekL
      @IndrekL  4 года назад +1

      Hey! I recently updated my article about the DFPlayerMini module. The last paragraph is about putting mp3 fileson the SD card
      circuitjournal.com/how-to-use-the-dfplayer-mini-mp3-module-with-an-arduino#copying-mp3-files

    • @dylanplante6862
      @dylanplante6862 4 года назад

      @@IndrekL thx

  • @rohansalunkhe9127
    @rohansalunkhe9127 4 года назад

    Can you please tell the pin similarities btw, wtv-020sd module and dfd player ,
    Please

  • @CristianSantellan
    @CristianSantellan 2 года назад +1

    Hi! I followed the instructions in this video (using and Arduino Uno) and everything worked perfectly! Iam trying to replicate the same thing but using an Arduino ProMini but I can't get the arduino to communicate...I used the same skech that worked for me before.. I checked the wires, and tried to change the TX & RTX pins but nothing works... Do you have any idea what it might be? thanks for your videos!

    • @asunasposibol
      @asunasposibol Год назад

      Hi, did you solve your problem?

    • @epiendless1128
      @epiendless1128 Год назад

      3.3 or 5V version? If 3.3V version, you won't want the voltage divider.

  • @ElectronicIngDiaz0786
    @ElectronicIngDiaz0786 5 лет назад

    Very good. I have a two question: Can you to connect a IC LM386, or IC TDA7057, for to amplify the sound?; What is the MP3 Board's reference?

    • @IndrekL
      @IndrekL  5 лет назад +1

      I believe you could use amplifiers. I haven't tried it myself. Here is a PDF document that contains more information about the module: www.picaxe.com/docs/spe033.pdf

    • @Francisthaddeus
      @Francisthaddeus 4 года назад +1

      yes it will work

  • @purplefurture6960
    @purplefurture6960 4 года назад

    i only use 1k resistor for rx , from dfplayer rx then resistor then arduino rx, then tx to tx no resistor, vcc to vcc , gnd to gnd , and speaker spk1 and spk2 to a speaker.
    this working fine , should i do any changes ?
    but the code did not work, it said error 129

    • @IndrekL
      @IndrekL  4 года назад +1

      Hey! the rx and tx must be crossed.
      The tx of Arduino should go to rx of the DFPlayer module and vice versa.

    • @purplefurture6960
      @purplefurture6960 4 года назад

      Indrek thank you , just done this part.
      How about nodemcu 8266 or esp8266 esp12F
      Both are shielded.
      can you help me with connection ? Is there different wires between programing it and using it ?

    • @IndrekL
      @IndrekL  4 года назад

      I plan to do a video about the esp8266 in the future, but probably takes some time.

  • @ArcanePath360
    @ArcanePath360 4 года назад

    Is it possible to connect a headphone jack instead of a speaker?
    Thanks

    • @IndrekL
      @IndrekL  4 года назад

      Hey! Yes, you can connect the speaker outputs to a headphone jack.
      This article has an image of how to connect it reprage.com/post/dfplayer-mini-cheat-sheet

    • @ArcanePath360
      @ArcanePath360 4 года назад

      @@IndrekL Thanks

  • @ArcanePath360
    @ArcanePath360 3 года назад

    Can anyone tell me why this works when powered by the PC to the Arduino, but when using a wall wart going to the same 5V input it no longer functions? I believe it has something to do with the software serial but haven't a clue how to get it working without being connected to my PC

    • @IndrekL
      @IndrekL  3 года назад

      Does it fail the moment you try to play an mp3 file? Or Arduino isn't able to communicate with the DfPlayer module at all?
      Maybe the adapter isn't providing enough current and it resets the moment it tries to play the file.

    • @ArcanePath360
      @ArcanePath360 3 года назад

      @@IndrekL Hi, thanks for taking the time. I spent a whole day on this with voltage and current meters and Googling, which didn't reveal anything. In the end I found out that there are Arduino clones which have a glitch with serial command acknowledgements, and adding a line of code =false to the end of the serial check loop got round the problem as the DFPlayer still initialized without the serial check showing it did. I think it's using PC data lines to parse data and render and output as true or something, and when there is no voltage on these lines it doesn't work, I don't know, it just works now and I've wasted enough time on something so simple.
      Thanks

    • @jeqfragmento
      @jeqfragmento 3 года назад

      This is my problem too! Were you able to fix it? If so, what is the solution?

    • @ArcanePath360
      @ArcanePath360 3 года назад

      @@jeqfragmento I eventually found the solution here:
      stackoverflow.com/questions/48650505/audio-playback-module-on-esp8266-fails-to-initialise#52959087
      myDFPlayer.begin(mySoftwareSerial, false) was the solution in the software... It's because cloned Arduino's don't do something they are supposed to.

  • @did3d523
    @did3d523 3 года назад

    how install library?

  • @490o
    @490o 4 года назад

    Does it really only support up to 32gb cards or can you go higher?

    • @IndrekL
      @IndrekL  4 года назад

      Hey! I have never tried it but the spec said that it supports up to 32GB.

  • @johnkoester7795
    @johnkoester7795 4 года назад

    Is there like a small circuit board I can use to insert the module to like the green circuit boards?

    • @johnkoester7795
      @johnkoester7795 4 года назад

      Also how my going to make that into a voice box

    • @IndrekL
      @IndrekL  4 года назад

      I don't know if there is a pcb available that is specifically designed for the DFPlayer Mini board, but you can use a generic prototype board and solder your wires yourself. Search for "prototype pcb board" on e-bay.

  • @Rdw1515
    @Rdw1515 4 года назад

    Is there any autoplay function i can use for when i connect and disconnect it from the voltage source? I would like to start the play when the relay is activated

    • @IndrekL
      @IndrekL  4 года назад +1

      If you call "play" in the Arduino "setup" function then it should start playing if arduino and the DFPlayer get powered on.

    • @Rdw1515
      @Rdw1515 4 года назад +1

      @@IndrekL thank you sir!!

  • @thekidmagician7920
    @thekidmagician7920 3 года назад +1

    You are a genius bro!

  • @hairypitz123
    @hairypitz123 4 года назад

    i just put a 1k resistor instead from rx to D2 and didnt connect to ground at all, but it still worked. there was just a popping sound once it got power. i'm wondering why it only works if i plug it into a computer usb port, but it doesnt work when i plug it into a 5V power bank

    • @IndrekL
      @IndrekL  4 года назад

      Hey! Many tutorials tell you to just use a 1k resistor. Maybe it is enough. But in this way you are not actually converting the 5V signal from Arduino to 3.3V. If you get the signal voltage down to 3.3V then you can be sure that you are not damaging the module.
      It's hard to tell why it isn't working with the power bank. Maybe it's could't supply enough current? Does it work if you try it with a 5V wall adapter?

    • @hairypitz123
      @hairypitz123 4 года назад

      @@IndrekL hi! thanks for replying
      yes i tried with 5v power bank and wall adapters and i found out that it works, but only if i press the reset button. I was wondering if you knew if either there was some place i could alter the code or maybe add a reset in the beginning of the code

    • @IndrekL
      @IndrekL  4 года назад

      Do I understand you correctly that after you power it on from a wall adapter then you have to press reset for it to start playing? Try adding a acouple of seconds delay before the player.play(1) command. And try adding some capacitors. Maybe it needs more current for a short amount of time when it starts playing at first.

    • @hairypitz123
      @hairypitz123 4 года назад

      yes it will only work if I press the reset button on the arduino nano board if i'm connected to a wall adapter or phone power bank rated at 5v/6a. I added a delay before player.play(1) and before player.play(2). When connected to the computer it will recognize the first delay, but ignore the second delay and just play the second clip right after the first one. I also attached a 10uF/50v capacitor in series w/ the 1k ohm resistor, but it still isn't working when connected to a wall adapter for some reason.

    • @IndrekL
      @IndrekL  4 года назад

      @@hairypitz123 Then I don't know. I would have to see it myself. Maybe try adding a delay(3000) ;
      before:
      if (player.begin(softwareSerial)) {
      Or try also a bigger capacitor. 100uF

  • @خالدرشدى-ك8ذ
    @خالدرشدى-ك8ذ 4 года назад

    Using amplifier is optional or Mandatory in some cases?!

    • @IndrekL
      @IndrekL  4 года назад

      Hey! It has built in 3W amplifier. If you need more powerful speakers then you need an amplifier.

  • @ArcanePath360
    @ArcanePath360 4 года назад

    Has anyone managed to get the library working with the code to play a file from a folder?
    E.g: myDFPlayer.playFolder(1, 4);
    I have tried naming the folders 1, 01, 001 and renaming the files within with 001, 0001 etc but it does not want to play anything from folders other than the root "MP3". I even put the folders in the root and in the MP3 folder. I'm close to giving up.

    • @IndrekL
      @IndrekL  4 года назад

      The module doesn't know anything about file or folder names. If you say folder "1" then it means the first folder that you have created on the SD card. Renaming it afterward doesn't change that folder order. Try reformatting the card and then create your first folder with an MP3 file.
      I can't test it myself at the moment but I will check it myself tomorrow.

    • @ArcanePath360
      @ArcanePath360 4 года назад

      @@IndrekL You have a weird way of wiring it up, and I also don't think that is true stereo you are getting, just two mono speakers. DAC L and DAC R are left and right channels. Speaker 1&2 seem to be for positive and negative on a single speaker, though I haven't tested your wiring.
      I also have the GND reversed from how you have it. Not sure this makes a difference but I think I will try flipping which one I use to see if sound quality improves.
      Also, not sure why you would need a voltage divider over the RX pin? I simply put a single inline 1k resistor to pin 11 on my MCU and use software serial.

    • @IndrekL
      @IndrekL  4 года назад

      ​@@ArcanePath360 Thank you! I checked and you are correct. It is not actually stereo. I got the schematic somewhere from the internet but didn't validate it with a stereo MP3. I will fix my schematics in the article.
      I also took a closer look at the DfPlayerMini board. The chip may have separate grounds, but the PCB connects them together so it doesn't matter which GND you use. You can see it clearly that the SD card casing is soldered to both of the ground pins. It probably has also a connection on the PCB level.
      I use a voltage divider since the input pins on the DFPlayerMini board are not 5V tolerant. It may be that a 1k resistor limits the current enough that it won't damage it, but with a voltage divider, I can be sure it's safe.
      (I had a problem with a small screen, where 1k resistors on the signal wires caused faint ghosting lines to appear on the screen, but with voltage dividers it was OK)

    • @IndrekL
      @IndrekL  4 года назад

      @@ArcanePath360 Now it is clear to me how the "playFolder" works.
      If you use the "play(fileNumber)", then the "fileNumber" is in the order the files are physically saved onto the SD card. It includes all the files in the root directory and from sub-directories.
      Filenames don't matter.
      If you want to use "playFolder(folderNumber, fileNumber)" then the folders have to be named "01", "02", "03", ... and the files inside the folder have to be named "001.mp3", "002.mp3", "003.mp3", ...
      Then playFolder(1, 2) will play the file "01/002.mp3"

    • @ArcanePath360
      @ArcanePath360 4 года назад

      @@IndrekL Thanks. I tried using different GND for the speakers, and it didn't make a difference. As long as I don't connect the two GND pins together it's fine, otherwise I get horrible noise like feedback.
      I am using a single 1k resistor without dividing it, and it's been fine so far.

  • @SLemmink
    @SLemmink 4 года назад +2

    Worked perfect thank you!!!!

  • @lordmega544
    @lordmega544 5 лет назад

    I want to connect headphones to play the audio will I use DAC_I and DAC_R pins on the module?

    • @IndrekL
      @IndrekL  5 лет назад

      I think you should use both. DAC_L is for left ear and DAC_R is for right ear. So in total you should have three wires to the headphone connector GND, DAC_L and DAC_R to get stereo sound.

    • @lordmega544
      @lordmega544 5 лет назад

      Indrek thank you so much!

    • @lordmega544
      @lordmega544 5 лет назад

      @@IndrekL I am using 5V from the arduino to power the Df player, but it doesn't turn on. Do I need an extra power supply? and how?

  • @saffanhal-turki6522
    @saffanhal-turki6522 4 года назад

    i need help with adding an ultrasonic sensor
    how can i code it ?

    • @toster1024
      @toster1024 4 года назад

      Use this:
      github.com/hshshv/UltrasonicSensor

  • @hisense123456789
    @hisense123456789 4 года назад

    If i upload 5 tracks, can i make the code pick one randomly ?

    • @IndrekL
      @IndrekL  4 года назад +3

      Hey!
      You have to init random in setup with
      randomSeed(analogRead(0));
      Then you can call player.play(random(1, 5));

    • @shrigmian
      @shrigmian Год назад

      @@IndrekL Thank you!

  • @rodrigodonascimentohenriqu2872
    @rodrigodonascimentohenriqu2872 3 года назад

    it says that it failed to connect to dfplayer mini,

    • @IndrekL
      @IndrekL  3 года назад

      Check the wiring. Did you cross the RXTX wires? RX of Arduino needs to go to TX of the DFPlayer Mini moudle.

  • @cenevspeed_CARS
    @cenevspeed_CARS 3 года назад

    Only Useful Video on YTBE! Just helped me complete my project. Thank You A Lot!!

  • @ibrahimasaad4998
    @ibrahimasaad4998 4 года назад

    this is good. Can I add music control buttons?

    • @IndrekL
      @IndrekL  4 года назад +1

      Yes, you can add buttons to Arduino and then Arduino can send play/stop/volume controls to the module if you press a button

  • @andinugroho6876
    @andinugroho6876 3 года назад

    thank you sir you solved 1 of my problems :)

  • @thedementor3496
    @thedementor3496 5 лет назад +2

    Nice video sir ... I'll be trying this when I'll complete my current project.

  • @adrianobarbosa-buenosaires2789
    @adrianobarbosa-buenosaires2789 3 года назад

    So good... tkank so much

  • @johnkoester7795
    @johnkoester7795 4 года назад +2

    I’m going to use an MP3 voice module to make my voice box it’s for my woody doll

  • @idallkeybachdar7463
    @idallkeybachdar7463 5 лет назад

    This is good.. truly..

  • @valenmosquera1999
    @valenmosquera1999 3 года назад

    THANK YOUUUUUU!!

  • @shiv_gupta1
    @shiv_gupta1 5 лет назад

    can i get the code

    • @IndrekL
      @IndrekL  5 лет назад

      Hey!
      You have to download the "DFRobotDFPlayerMini" library:
      github.com/DFRobot/DFRobotDFPlayerMini
      The code I used here is very simple, it just starts playing mp3 file number 5:
      #include "SoftwareSerial.h"
      #include "DFRobotDFPlayerMini.h"
      static const uint8_t PIN_MP3_TX = 2;
      static const uint8_t PIN_MP3_RX = 3;
      SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX);
      DFRobotDFPlayerMini player;
      void setup() {
      Serial.begin(9600);
      softwareSerial.begin(9600);
      if (player.begin(softwareSerial)) {
      Serial.println("OK");
      } else {
      Serial.println("FAIL!");
      }
      player.volume(30); //Set volume value. From 0 to 30
      player.play(5);
      }
      void loop() {
      }

  • @jesus_malik
    @jesus_malik Год назад

    ajjajas that ringtone epic!

  • @idallkeybachdar7463
    @idallkeybachdar7463 5 лет назад +1

    Thanks

  • @Raj-dz4jd
    @Raj-dz4jd 3 года назад

    Hey I want to make Audio book ... With physical buttons for Blind people. Can you suggest me the requirements. Can you share email id so I can send requirement.

  • @stevenverhoef2713
    @stevenverhoef2713 4 года назад

    You lucky ... mostly this configuration gives problems. Due to very sensible powersuply problems. You MUST use a seperate powersupply. Don't use the power from the processor-module !

    • @IndrekL
      @IndrekL  4 года назад

      Hey!
      Do you mean that the processor module will cause problems for the MP3 player board, or the MP3 player board will cause problems for the processor module?
      I can imagine that if the amplifier suddenly needs a lot of current, it may cause the processor module to starve for electricity and reset. Do you mean that? So far, the USB's power from the PC seems strong enough to cause any issues.
      I understand that there also the issue of noise. It would be better to have a separate clean power to the MP3 player module to reduce the audio noise.

  • @yupingliao4078
    @yupingliao4078 5 лет назад +1

    good

  • @FranciscoTrevino
    @FranciscoTrevino 4 года назад +1

    it did make me laugh... hiop hiop hiop...

  • @m.taufiqrahmatulloh4081
    @m.taufiqrahmatulloh4081 4 года назад +2

    1:49 awokawokwokwok

  • @JeamesJoyce-u4t
    @JeamesJoyce-u4t Месяц назад

    Cielo Vista

  • @ThomasThomas89Gonzalez-z3m
    @ThomasThomas89Gonzalez-z3m Месяц назад

    Maggio Place

  • @MadgeMerle-x5l
    @MadgeMerle-x5l 3 дня назад

    Yesenia Mall

  • @DoraDevore-j9w
    @DoraDevore-j9w Месяц назад

    Jairo Inlet