Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD card unable to play. #519

Open
The-Valveman opened this issue Apr 18, 2023 · 6 comments
Open

SD card unable to play. #519

The-Valveman opened this issue Apr 18, 2023 · 6 comments

Comments

@The-Valveman
Copy link

Hi i am having trouble getting the SD card MP3s to show up on the drop down list and am unable to play them.
i have tried various file/folder formats but to no avail the card is being read by the ESP32 as when i use the serial monitor the folder name and track names appear on the serial monitor window when i click the MP3 list button then it states "0 Mp3 tracks on local drive" and the ESP also states "the folder "Live in Australia" is not in the root. but this folder with its tracks are the only thing on the SD card
can you tell me what the folder/file format is needed to work as i cannot find any reference to this in the manual/documentation.

@aly-fly
Copy link

aly-fly commented Apr 19, 2023

To begin with: Place only 1 to 5 .mp3 files in the root. With very simple names, like "one.mp3". No folders. This works for me.
Complex file names with special (especially unicode) characters make a mess.

@Edzelf
Copy link
Owner

Edzelf commented Apr 19, 2023

Please use the V2 version of the radio. See https://github.com/Edzelf/ESP32Radio-V2
Note that the code is still experimental. The memory space for the song list is tight.
Also note that not all types of SD cards will work.

@The-Valveman
Copy link
Author

@aly-fly I have tried that but still no go. I get a message in the serial monitor "SD card mount failed!"

@Edzelf I have looked at the version 2 but I see it is designed to be compiled in the Platformio IDE I have been using the Arduino IDE And being a fairly noobie to programming I really dont wish to take on the steep learning curve to use Platformio. so is there a way to use this in the Arduino IDE? the current set up i have shows an error during boot up "SD card mount failed!"

@Edzelf
Copy link
Owner

Edzelf commented Apr 20, 2023

It is possible to use the Arduino IDE. But installing PlatformIO is much easier. You won't regret it.

@MirceaB07
Copy link

MirceaB07 commented May 24, 2023

For using SD Card to which pin of ESP I have to connect SD-CS from SD connector (TFT display)?
I didn't find it in wiring table in pdf file, but I find a definition as pin 21 in Esp32_radio_init.ino and as pin 14 in exampleconfig.ed.txt. The other 3 pins of SD connector doesn't need to be connected? I'm using Platformio for compiling and uploading code.
Is it necessary to attach pullup resistors for any input pins of ESP?
Thanks a lot.

@Edzelf
Copy link
Owner

Edzelf commented May 24, 2023

All input pins of the ESP32 are initialized using PULL_UP.
For SD card you need Power, ground, MISO, MOSI, CLK and CS. If possible also "card detect". The last 2 pins can be defined in the config page of the webinterface, like:

    pin_sd_cs = 14
    pin_sd_detect = 4

Note that using SD card is still experimental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants