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()
{
//
}