Arduino-Based MP3 Player via DFPlayer Mini Module

Поделиться
HTML-код
  • Опубликовано: 21 июл 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

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

  • @-MrDontCare-
    @-MrDontCare- Год назад

    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 11 месяцев назад

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

  • @mike1648
    @mike1648 2 года назад +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  2 года назад

      Thanks for your feedback. Yes, in my part 2 video I connected o/p audio to an external speaker via 3.5 mm jack. ruclips.net/video/6j1Tl5JYyGQ/видео.html

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

    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 2 года назад

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

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

    Thanks!

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

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

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

    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?

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

    Cool

  • @Delorean29
    @Delorean29 Год назад +1

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

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

    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  2 года назад

      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 Год назад

      @@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  Год назад

      @@ceptimus thanks for the feedback

  • @tomatkinson421
    @tomatkinson421 2 года назад +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  2 года назад +1

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

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

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

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

      @@tomatkinson421 Arduino

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

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

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

    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  10 месяцев назад +1

      Same supply that feeds the Arduino.

  • @luigiaiello9607
    @luigiaiello9607 Год назад +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 7 месяцев назад

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

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

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

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

      Thanks. I didn’t have that issue.

    • @bhargavaithal
      @bhargavaithal 2 года назад +2

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

  • @HilarioMauricio-bc6ut
    @HilarioMauricio-bc6ut 3 месяца назад

    Nice Video
    where can I find de Software Serial library?

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

    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.

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

    How to change between folderS?

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

    What did you use to draw the circuit diagram?

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

    how to add df mini player library for proteus

  • @stefanb.933
    @stefanb.933 Год назад

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

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

    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  3 года назад

      Yes. Watch my video: ruclips.net/video/-HJLTUxJ0Fc/видео.html

  • @clydealcott3379
    @clydealcott3379 2 года назад +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 Год назад

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

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

      @@MohamedWaheedAtef what other devices are required?

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

      @@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.

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

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

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

    hello good morning you do projects

  • @zoubirabbes3551
    @zoubirabbes3551 2 месяца назад

    Which software you use to design this schematic

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

    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.