espressif / esp-adf

Espressif Audio Development Framework
Other
1.53k stars 672 forks source link

ESP32-LyraT battery issues #9

Closed glennhuber closed 6 years ago

glennhuber commented 6 years ago

My ESP32-LyraT board does not work from a battery. It will not charge nor run. Anyone else having this problem?

mlongo95 commented 6 years ago

You need to make sure you're connecting the power pins appropriately, my battery JST connector pins did not match the pin layout on the board.

glennhuber commented 6 years ago

Oh wow. This board has an atypical battery polarity layout! I'm wondering if my plugging in a battery with wrong polarity has permanently damage the board? Did you discover this issue before connecting a battery? Is your board(s) working with the battery?

mlongo95 commented 6 years ago

Luckily the AP5056 & AMS1117 have reverse polarity protection. I discovered this when trying to connect a Lipo but it would not boot. I checked the pin out and came to find out it was reversed. No damage was done to the board, using Dupont connectors i was able to power the board from a power supply/battery.

glennhuber commented 6 years ago

I have two (2) boards and neither work. The battery leds are not illuminating. Trace.... MONITOR ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3f (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:5580 load:0x40078000,len:0 load:0x40078000,len:13764 entry 0x40078fb4 I (28) boot: ESP-IDF v3.0-rc1-257-g489e98cf 2nd stage bootloader I (28) boot: compile time 17:01:52 I (34) boot: Enabling RNG early entropy source... I (34) boot: SPI Speed : 40MHz I (39) boot: SPI Mode : DIO I (43) boot: SPI Flash Size : 4MB I (47) boot: Partition Table: I (50) boot: ## Label Usage Type ST Offset Length I (57) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (72) boot: 2 factory factory app 00 00 00010000 00100000 I (80) boot: End of partition table I (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x25dc0 (155072) map I (147) esp_image: segment 1: paddr=0x00035de8 vaddr=0x3ffb0000 size=0x0356c ( 13676) load I (153) esp_image: segment 2: paddr=0x0003935c vaddr=0x40080000 size=0x00400 ( 1024) load I (154) esp_image: segment 3: paddr=0x00039764 vaddr=0x40080400 size=0x068ac ( 26796) load I (174) esp_image: segment 4: paddr=0x00040018 vaddr=0x400d0018 size=0x96320 (615200) map I (390) esp_image: segment 5: paddr=0x000d6340 vaddr=0x40086cac size=0x12868 ( 75880) load I (422) esp_image: segment 6: paddr=0x000e8bb0 vaddr=0x400c0000 size=0x00000 ( 0) load I (436) boot: Loaded app from partition at offset 0x10000 I (436) boot: Disabling RNG early entropy source... I (438) spiram: SPI RAM mode: flash 40m sram 40m I (442) spiram: PSRAM initialized, cache is in low/high (2-core) mode. I (449) cpu_start: Pro cpu up. I (453) cpu_start: Starting app cpu, entry point is 0x400813b0 I (0) cpu_start: App cpu up. I (1352) spiram: SPI SRAM memory test OK I (1352) heap_init: Initializing. RAM available for dynamic allocation: I (1353) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (1359) heap_init: At 3FFB95F8 len 00026A08 (154 KiB): DRAM I (1365) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM I (1371) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (1378) heap_init: At 40099514 len 00006AEC (26 KiB): IRAM I (1384) cpu_start: Pro cpu start user code I (1389) spiram: Adding pool of 4096K of external SPI memory to heap allocator I (1397) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations I (77) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (139) HTTP_MP3_EXAMPLE: [ 1 ] Start audio codec chip I (159) HTTP_MP3_EXAMPLE: [2.0] Create audio pipeline for playback I (159) HTTP_MP3_EXAMPLE: [2.1] Create http stream to read data I (159) HTTP_MP3_EXAMPLE: [2.2] Create i2s stream to write data to codec chip I (169) HTTP_MP3_EXAMPLE: [2.3] Create mp3 decoder to decode mp3 file I (169) HTTP_MP3_EXAMPLE: [2.4] Register all elements to audio pipeline I (179) HTTP_MP3_EXAMPLE: [2.5] Link it together http_stream-->mp3_decoder-->i2s_stream-->[codec_chip] I (189) HTTP_MP3_EXAMPLE: [2.6] Setup uri (http as http_stream, mp3 as mp3 decoder, and default output is i2s) I (199) HTTP_MP3_EXAMPLE: [ 3 ] Start and wait for Wi-Fi network ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3f (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:5580 load:0x40078000,len:0 load:0x40078000,len:13764 entry 0x40078fb4 I (28) boot: ESP-IDF v3.0-rc1-257-g489e98cf 2nd stage bootloader I (28) boot: compile time 17:01:52 I (34) boot: Enabling RNG early entropy source... I (34) boot: SPI Speed : 40MHz I (39) boot: SPI Mode : DIO I (43) boot: SPI Flash Size : 4MB I (47) boot: Partition Table: I (50) boot: ## Label Usage Type ST O

krzychb commented 6 years ago

Hi @glennhuber

I have two (2) boards and neither work.

From the log it looks like you are running pipeline_http_mp3 example. What do you mean the boards do not work?

�[0;32mI (199) HTTP_MP3_EXAMPLE: [ 3 ] Start and wait for Wi-Fi network�[0m ets Jun 8 2016 00:22:57

The last log line before reset indicates the example is waiting for Wi-Fi. It will not play anything before connecting to a Wi-Fi access point and retrieving http://dl.espressif.com/dl/audio/adf_music.mp3file.

Have you setup the Wi-Fi connection as suggested in README.md ?

glennhuber commented 6 years ago

Defective boards. Returning them. Thanks.

theronic commented 5 years ago

@glennhuber did you discover any other wiring issues? I'm having a hard time with the DSP chip on the LyraTD, and very few of the examples seem to be compatible. And can you advise on how you went about returning them / getting a refund?