adafruit / adafruit/Adafruit_VS1053_Library
Doesn't work with all memory cards
- Dominant language
- C++
- Stars
- 152
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I have these memory cards:

Also, I tried different libraries. This and [this](https://github.com/mpflaga/Arduino_Library-vs1053_for_SdFat). Memory cards of 1GB and 256MB do not work on both libraries. At the same time, SdFat initializes these memory cards and works successfully with them, which suggests that the problem is in the VS1053 library itself. Any ideas on how to make everything work?
Code for SdFat version:
```
#include
#include
#include
SdFat sd;
vs1053 MP3player;
void setup() {
Serial.begin(9600);
sd.begin(SdSpiConfig(9, SPI_HALF_SPEED));
MP3player.begin();
MP3player.setVolume(10, 10);
MP3player.playMP3("001.mp3");
}
void loop() {
delay(1000);
}
```
Code for this library from **player_simple.ino** example.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the player_simple.ino example and compare its memory-card initialization with the working SdFat setup shown in the issue. Reproduce the failure with the 256MB and 1GB cards, then trace the VS1053 library's card initialization; done means those cards initialize and play 001.mp3 successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100