karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
515 stars 155 forks source link

Doesn't work without a computer #277

Open MrGlebs opened 1 year ago

MrGlebs commented 1 year ago

So, I've assembled the scheme, loaded the sketch and everything works greatly but only via cable to computer. I use internal dac on nodemcu on esp-wroom-32. So, the idea that as soon I plug off the usb cable from computer - it immideatly stops playing. All the settings as wlan password and so on I've off course done. Debugging information from port monitor in arduino ide is below

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:4532 load:0x40078000,len:10724 ho 0 tail 12 room 4 load:0x40080400,len:5600 entry 0x400806b4 E (589) psram: PSRAM ID read error: 0xffffffff E (589) spiram: SPI RAM enabled but initialization failed. Bailing out. E (590) spiram: SPI RAM not initialized I (159) main: starting app_main() I (159) main: RAM left: 200736, Internal 217080 E (159) main: Running partition type 0 subtype 16 (offset 0x00010000) I (179) main: Partition init done... D (249) GPIO: gpio_get_pinDeepSleep err 0x1102 Log level is now ESP_LOG_ERROR E (1499) vs1053: NO VS1053 detected WIFI TRYING TO CONNECT TO SSID 2 E (5369) event: invalid static ip DNS: 192.168.0.1
IP: 192.168.0.106

READY. Type help for a list of commands

CLI.ICY0#: at IP 192.168.0.106

autostart: playing:1, currentstation:0

CLI.NAMESET#: 0 1

CLI.URLSET#: http://prmstrm.1.fm

CLI.PATHSET#: /ajazz

CLI.PORTSET#: 8000

CLI.OVOLSET#: 0

CLI.VOL#: 254

CLI.ICY0#: Adore Jazz

CLI.ICY3#: http:\/\/www.1.fm

CLI.ICY4#: Vocal Jazz

CLI.ICY5#: 192

CLI.ICY6#: Adore Jazz

CLI.META#: Ranee Lee - Them There Eyes

CLI.PLAYING

HomeACcessoryKid commented 1 year ago

Just curious, is the computer the de-facto power supply?
And did you connect another power supply after disconnecting the computer USB?