Arduino-Based MP3 Player via DFPlayer Mini Module

Sdílet
Vložit
  • čas přidán 3. 07. 2024
  • Link to code:
    akuzechie.blogspot.com/2021/0...
    Library:
    github.com/DFRobot/DFRobotDFP...
    Contents:
    0:00 Introduction
    0:12 DFPlayer Mini Specs
    1:00 Circuit Diagram
    1:46 Demonstration
    2:33 C++ Sketch
    4:28 Future Project

Komentáře • 47

  • @-MrDontCare-
    @-MrDontCare- Před rokem

    Great video. I have 5 of those DFPlayers lying around for some reason. Think it's time to finally play around with one of them.

  • @Bianchi77
    @Bianchi77 Před 11 měsíci

    Nice video, well done, thank you for sharing it with us :)

  • @tuyen3586
    @tuyen3586 Před 2 lety

    Thanks!

  • @GHILLIESARCADEANDMORE
    @GHILLIESARCADEANDMORE Před 2 lety +1

    Cool

  • @mike1648
    @mike1648 Před 2 lety +1

    Excellent, succinct tutorial. I'd been looking for a while to find an explanation of this caliber. A quick question: are there limitations in the type of speakers that can be used. I wondered if I could connect the system to the auxiliary input of my computer's desktop speakers rather than the type of speaker depicted in your sketch.

    • @AnasKuzechie
      @AnasKuzechie  Před 2 lety

      Thanks for your feedback. Yes, in my part 2 video I connected o/p audio to an external speaker via 3.5 mm jack. czcams.com/video/6j1Tl5JYyGQ/video.html

  • @ashutoshmallik2435
    @ashutoshmallik2435 Před 2 lety

    what about STOP & PLAY (to play the instantly stopped file) button separately ??? How to add them ???????

  • @Delorean29
    @Delorean29 Před rokem +1

    But I need rotary volume control not button. Is it possible & adjust via Arduino DF Player? How?

  • @toastbrot6923
    @toastbrot6923 Před rokem

    Is there a command I can use to make the player play a specific file? Like not the previous or next one, but one specific track?

  • @JoeEvansSound
    @JoeEvansSound Před rokem

    Hi Anas - great video - thanks very much. Can you tell me please, Is there a facility on this MP3 player board to take a LINE OUTPUT rather than a SPEAKER OUTPUT, as I want to take the output to a mixer and then an amplifier. Thank you very much. Great Job!! teşekkürler

  • @ashutoshmallik2435
    @ashutoshmallik2435 Před 2 lety

    Is there any option to introduce a REWIND & FAST FORWARD Button ????

  • @narpat007
    @narpat007 Před 2 lety

    On the push buttons, you are using pulldown resistors and connecting 5V power supply directly to the digital I/O's at the time when button is pressed. The general convention is to use a pullup resistor and switch the GND with the press of the button.
    What is your thinking behind this ?

    • @AnasKuzechie
      @AnasKuzechie  Před 2 lety

      You can either use pull down to input logic 1 when pressed, or pull up to input 0 when pressed. Both conventions work with digital I/Os.

    • @ceptimus
      @ceptimus Před rokem

      @@AnasKuzechie The Arduino has built-in pull up resistors, for inputs, which you can enable by using, for example, pinMode(2, INPUT_PULLUP); instead of pinMode(2, INPUT);
      If you do that, and alter your logic to look for the zero state when the button is pressed, then you don't need the external resistors.
      Some microcontrollers also have built-in pull down resistors, but the ATmega does not.

    • @AnasKuzechie
      @AnasKuzechie  Před rokem

      @@ceptimus thanks for the feedback

  • @welcometosevenworld
    @welcometosevenworld Před rokem

    I just want one song to play again and again in loop how should I code

  • @HilarioMauricio-bc6ut
    @HilarioMauricio-bc6ut Před 3 měsíci

    Nice Video
    where can I find de Software Serial library?

  • @silassamuel4738
    @silassamuel4738 Před 5 měsíci

    What did you use to draw the circuit diagram?

  • @FlyWithSergio
    @FlyWithSergio Před rokem

    How to change between folderS?

  • @tomatkinson421
    @tomatkinson421 Před 2 lety +1

    Amazing video, very professional and informative!
    I want to make a circuit which plays a single track once powered. And then be able to select other tracks to play on start up with 2 buttons, previous and next track. And controll the volume up and down with a long press on the buttons would this be possible?

    • @AnasKuzechie
      @AnasKuzechie  Před 2 lety +1

      Firstly, many thanks for your feedback. Secondly, Yes. As for using 2 buttons to change track or volume control, watch this video czcams.com/video/UTj9krfDwZE/video.html, where I demonstrate how to add several functionalities to button press based on duration of press.

    • @tomatkinson421
      @tomatkinson421 Před 2 lety

      @@AnasKuzechie Did you use the 5v connection from the ardunio to power the mp3 or from an external power supply?

    • @AnasKuzechie
      @AnasKuzechie  Před 2 lety

      @@tomatkinson421 Arduino

  • @IBOFSGUBK
    @IBOFSGUBK Před 9 měsíci

    Hello Anas, I am new to Arduino projects. I have downloaded the sketch to the Arduino so I am pretty proud of myself. But, are the 5 volts and ground in your diagram a separate supply, or are they taken off the Arduino board? Many thanks.

    • @AnasKuzechie
      @AnasKuzechie  Před 9 měsíci +1

      Same supply that feeds the Arduino.

  • @adilabusafa
    @adilabusafa Před 2 lety +1

    شكراً جزيلاً لك-يتعذر التعليق-لا أعلم .

  • @luigiaiello9607
    @luigiaiello9607 Před rokem +1

    In my case with the resistor of 10k between Rx and D11 the setup did not work, the player was shutting off as soon the SD was inserted. Looking at the documentation of DFPlayer, that resistor should be of 1k.

    • @belabertalan
      @belabertalan Před 6 měsíci

      You are right. Didn't work with 10k but did with 1.

  • @ArbJunkAgeG
    @ArbJunkAgeG Před 3 lety

    Awesome video. How do you get rid of the static noise when the speakers idling?

    • @AnasKuzechie
      @AnasKuzechie  Před 3 lety

      Thanks. I didn’t have that issue.

    • @bhargavaithal
      @bhargavaithal Před 2 lety +2

      Bro try using a in5822 diode at the output. It should reduce the noise.

  • @ClaudeDufourmont
    @ClaudeDufourmont Před rokem

    Bonsoir, je place une resistance et une zener de 3.3v depuis le TX MCU vers le RX DFplayer mini pour ecreter le signal au bon niveau.

  • @muhammadsanakulov
    @muhammadsanakulov Před rokem

    how to add df mini player library for proteus

  • @stefanb.933
    @stefanb.933 Před rokem

    Can you stop a song at a given time using delay?...this from the program...

  • @clydealcott3379
    @clydealcott3379 Před 2 lety +1

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

    • @MohamedWaheedAtef
      @MohamedWaheedAtef Před rokem

      No, this can't be done with a single device.

    • @clydealcott3379
      @clydealcott3379 Před rokem

      @@MohamedWaheedAtef what other devices are required?

    • @MohamedWaheedAtef
      @MohamedWaheedAtef Před rokem

      @@clydealcott3379 well it depends on a lot of things as you can change the entire setup to achieve the goal in many ways, but at the least if you are using an Arduino and you want to multiple MP3s playing simultaneously, then you will add a DFPlayer Mini module for each output you want, so for example for 3 songs to play at the same time, you want 1 Arduino and 3 DFPlayer Mini modules, this doesn't scale very nicely, I would change from Arduino to raspberry pi for this and add small usb interfaces if I want the output to be separate. Let me know if you need more details perhaps we can chat somewhere.

  • @josealfonsoargumedo
    @josealfonsoargumedo Před 2 lety

    hello good morning you do projects

  • @dumisandikinda6254
    @dumisandikinda6254 Před 3 lety

    is the anyway to make it play one song over and over again in the loop if the is can you show the code please

    • @AnasKuzechie
      @AnasKuzechie  Před 3 lety

      Yes. Watch my video: czcams.com/video/-HJLTUxJ0Fc/video.html

  • @zoubirabbes3551
    @zoubirabbes3551 Před měsícem

    Which software you use to design this schematic

  • @TheDradge
    @TheDradge Před 11 měsíci

    Can't you save on all those resistors by just using the internal pull-up resistors and using inverted logic in your code? Seems like a waste of components and unnecessary complication.