ESPCam reboots on WiFi.begin(). Power issue?

Hello,

Had anybody experienced the ESPCam strange rebooting behaviour? It reboots silently after call to WiFi.begin(). (CameraWebServer example sketch )

With no extra messages (other debug/verbose messages are there and all looks good, core debug level was set to "verbose").

Commenting out calls to WiFi library helped, camera was initialized. Setting flash speed to 40Mhz made no difference.

So it reboots in a loop and the reset cause is SW_RESET:

...
[  1440][V][NetworkEvents.cpp:119] checkForEvent(): Network Event: 9 - WIFI_READY
ets Jun  8 2016 00:22:57

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
...

If, however, i disable the brownout detector then it still reboots in a loop but the reboot cause is TG1WDT_SYS_RESET:

...
[  1440][V][NetworkEvents.cpp:119] checkForEvent(): Network Event: 9 - WIFI_READY
ets Jun  8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_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
...

Power issue? Known WiFi bug?

PS:
I don't need a WiFi there but just curious if it is a common bug.
Powered my ESPCam via ESP-CAM-MB adapter module (CH340C converter).

Lots of people, for various reasons.

In this case, it is a clear indication of an inadequate power supply. Use a 3.3V or 5V power supply capable of providing over 300 mA current.

1 Like