Edzelf / ESP32Radio-V2

New version of the well known ESP32 Radio. Now optional I2S output!
Apache License 2.0
183 stars 45 forks source link

Problem with Sd Card Modul #55

Open Helmi345 opened 2 years ago

Helmi345 commented 2 years ago

Hello Ed, first great job, the radio works fine. The problems begin if i connect the Sd Card Modul to the ESP. First i tried the ESP 32 and the VS 1053. Great sound. But if i connect the Sd Modul the VS 1053 could not initialize correct and no sound is to hear. The display shows the right station, the Web Interface works but no soung. Then i read about the problems with the Mosi or Miso Pins that is high every time. Then i tried the version with internal DAC output. Everthing works fine but if i connect the SD Card Modul the system hangs. Is there a Solution for this or has somebody the radio working with SD Card ?? Here my Logfile:

D: Starting ESP32-radio running on CPU 1 at 240 MHz. D: Version Sun, 15 May 2022 10:30:00 GMT. Free memory 113792 D: Display type is LCD1602 D: SPIFFS is okay, space 1378241, used 33634 D: Found partition 'nvs ' at offset 0x009000 with size 20480 D: Found partition 'otadata ' at offset 0x00E000 with size 8192 D: Found partition 'spiffs ' at offset 0x290000 with size 1507328 D: Read 14 keys from NVS D: pin_tft_scl set to 22 D: pin_tft_sda set to 21 D: pin_sd_cs set to 5 D: pin_spi_sck set to 18 D: pin_spi_miso set to 19 D: pin_spi_mosi set to 23 D: GPIO0 is HIGH D: GPIO2 is LOW, probably no PULL-UP D: GPIO4 is HIGH D: GPIO5 is HIGH D: GPIO12 is HIGH D: GPIO13 is HIGH D: GPIO14 is HIGH D: GPIO15 is HIGH D: GPIO16 is HIGH D: GPIO17 is HIGH D: GPIO18 is HIGH D: GPIO19 is HIGH D: GPIO21 is HIGH D: GPIO22 is HIGH D: GPIO23 is HIGH D: GPIO25 is HIGH D: GPIO26 is HIGH D: GPIO27 is HIGH D: GPIO32 is HIGH D: GPIO33 is HIGH D: GPIO34 is LOW, probably no PULL-UP D: GPIO35 is LOW, probably no PULL-UP D: GPIO39 is LOW, probably no PULL-UP D: Start LCD1602 display D: Init LCD1602, I2C pins 21,22 D: Create list with acceptable WiFi networks D: Added Brillkamp to list of networks D: Added Brillkamp to list of networks D: Added Brillkamp to list of networks D: Scan Networks D: Scan completed D: Number of available networks: 2 D: 1 - Brillkamp Signal: -60 dBm, Encryption WPA2_PSK, Acceptable D: 2 - Brillkamp Signal: -82 dBm, Encryption WPA2_PSK, Acceptable D: End of list D: updateNr 0 <= 0 to 0, relative is 0 D: updateNr result is 0 D: nextPreset is 0 D: Starting I2S playtask.. D: Output to internal DAC D: Connect to network D: SSID = Brillkamp D: IP = 192.168.178.44 D: Start web server D: Network found. Starting mp3 client, mqtt and OTA D: MDNS responder started D: Rotary encoder is disabled (-1/-1/-1) D: Sync TOD D: Sync TOD, new value is 09:25:35 D: SD okay, start scan D: Locate mp3 files on SD, may take a while... D: Space 65136 D: 37 tracks on SD D: updateNr 0 <= 3 to 0, relative is 0 D: updateNr result is 0 D: nextPreset is 0 D: Radiofuncs cmd is 1 D: SDfuncs cmd is 2 D: D: Connect to host streams.radiobob.de/bob-80srock/mp3-192/streams.radiobob.de Connect streams.radiobob.de/bob-80srock/mp3-192/streams.radiobob.de failed!D: Request streams.radiobob.de/bob-80srock/mp3-192/streams.radiobob.de failed!

Thanks, Helmi345