Adafruit VS1053 breakout board

Hello,

I searched a long time to find out if it is possible to make a MP3 player on the Adruino Giga R1 wifi with a Adafruit VS1053 breakout board.

I can’t really find a usefull sketch.

Is this even possible?

Orly?

Everything about the VS1053: Overview | Adafruit VS1053 MP3/AAC/Ogg/MIDI/WAV Codec Breakout Tutorial | Adafruit Learning System

Examples in the library under "examples": GitHub - adafruit/Adafruit_VS1053_Library: This is a Arduino library for the Adafruit VS1053 Codec Breakout and Music Maker Shields

#include <SPI.h>
#include <SD.h>
#include <Adafruit_VS1053.h>

// Pin definitions
#define VS1053_CS  10
#define VS1053_DCS  9
#define VS1053_DREQ 3
#define VS1053_RST  8
#define SD_CS       4 // breakout SDCS

Adafruit_VS1053_FilePlayer musicPlayer = 
  Adafruit_VS1053_FilePlayer(VS1053_RST, VS1053_CS, VS1053_DCS, VS1053_DREQ, SD_CS);

void setup() {
  Serial.begin(115200);
  while (!Serial) delay(10);

  if (!musicPlayer.begin()) {
    Serial.println("Couldn't find VS1053");
  } else {
  Serial.println("VS1053 found");
  }

  if (!SD.begin(SD_CS)) {
    Serial.println("SD failed or not present");
    while (1);
  }
  Serial.println("SD OK");
}

void loop() {
  // put your main code here, to run repeatedly:

}

I tried to start with this code.

On the Arduino Giga is also a Arduino Giga displayshield connected.

The used Adafruit VS1053 breakout board works on my Arduino mega 2560.

When I upload it and the serial monitor start it gives the message: Couldn’t find VS1053.

I believe the logic level for Mega is 5v, and Giga is 3.3v. Does the VS1053 operate with 3
3v and 5v? Does the shield and VS1053 allow selecting which level is used?

Mega https://docs.arduino.cc/hardware/mega-2560/#tech-specs

Giga https://docs.arduino.cc/hardware/giga-r1-wifi/#tech-specs

On the Mega the VCC-pin of the VS1053 is connected to the 5V.

So I connected the VCC-pin of the VS1053 to the 5V of the Giga.

Now I also tried with the 3.3V-pin of the VS1053 connected to the 3.3V of the Giga.

(Ofcourse I disconnected the 5V.)

The VS1053 board should be possible to handle 3.3V and 5V, because it says 5V SAFE.

Now connected to 3.3V I still getting the message “Couldn't find VS1053”, but now also “SD failed or not present”.