Skip to content

New DFPlayer hardware needed code change #71

Description

@WoodyPilot

Hello. I’m a very basic level ArduinoUno/ DF Player Mini user/ programer, most of what I read here is way over my head! But I thought I would share my recent experience, maybe it will help someone.
For the last 3 years I have been using the DFRobot Library with an Arduino Uno and a DFPlayerMini, I have built 20 of the exact same circuit, all using the exact same code, they have all worked as expected, no problem.
Recently I purchased more DFPlayerMini’s for some new circuits I’m building (circuits exactly the same as the previous 20), but these new DFPlayerMini’s were not working, even when placed into an older working circuit.
What was puzzling, is that the new Players DID work if the Arduino was connected to a computer (USB), but as soon as went to stand-alone operation (no USB), the Player would not initialize. Every one of the new Players behaved the same.
I started looking at my code related to the DFRobot Library, and changing what I could to see if it had any affect on this problem. One setting did it, “ myDFPlayer.setTimeOut(500); “ was the code I was using, which was the default value given when I first started using the DFRobot Library. I changed this to “ myDFPlayer.setTimeOut(1000); “, and the new DFPlayerMini hardware now works as expected. There you go!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions