Unable to get the DFPlayer Mini to work with a Nano Every

I've been trying to get the Every to work with the DFPlayer Mini without any luck! I've connected the RX of the player to TX of the Every through a voltage divider. The TX of the player is directly connected to RX of the Every.

Using the following code, but the connection to the DFPlayer fails! What am I missing? I recently found out that the RX and TX pins on the Every are infact RX1 and TX1.

#include <Arduino.h>
#include <DFRobotDFPlayerMini.h>

// Create the Player object
DFRobotDFPlayerMini player;

void setup()
{
  // Init USB serial port for debugging
  Serial.begin(9600);
  // Init serial port for DFPlayer Mini
  Serial1.begin(9600);

  // Start communication with DFPlayer Mini
  if (player.begin(Serial1))
  {
    Serial.println("Connected successfully to DFPlayer Mini");

    // Set volume to maximum (0 to 30).
    // player.volume(30);
    // Play the "0001.mp3" in the "mp3" folder on the SD card
    // player.playMp3Folder(1);
  }
  else
  {
    Serial.println("Connection to DFPlayer Mini failed!");
  }
}

void loop()
{
  //
}

What does serial print tell?
How is this powered?

The else loop within the code triggers and says the connection to the DFPlayer failed. The Player is powered through the 5V of the Every.

How is the Every powered?

Computer USB port.

Have you used the player in "I/O mode" (stand alone - Vcc, GND, IO1, IO2)?

Why are the volume and play commands commented out?

Quick update: It seems the module was faulty. I replaced it and now it works! Sorry 'bout all the bother...

I wanted to see if the serial connection works first.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.