• Hi,

    When I run the WIFI sample from the documentation my board initially would connect but on subsequent code upload would reset preceded by this message:

    Brownout detector was triggered
    ets Jun  8 2016 00:22:57
    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_d­rv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:2
    load:0x3fff0018,len:4
    load:0x3fff001c,len:2364
    load:0x40078000,len:0
    load:0x40078000,len:10880
    entry 0x40078c4c
    E (28) boot: ota data partition invalid, falling back to factory
    WARNING: has simple connection not implemented yet
    Loading 1566 bytes from flash...
    

    Do I have a bad board?

    Thanks!

  • ESP32 needs a lot power during WiFi.
    Its a ESP32 problem not related to Espruino.
    Check your power supply.
    Search for ESP32 brownout on google, or on the Espressif forum (https://esp32.com/)

  • I use a 1117-series 3.3v regulator (specifically the ZLDO series, since they've got the best specs of the 1117 clones - very low quiescent current, and lowish dropout). I would not try to use any regulator physically smaller than SOT-223 (TO-220 for throughole people is more than sufficient) - they inevitably can't dissipate the heat (that's probably why it worked at first for you - the reg was cold. Then you plugged it in, it started heating up, and shortly after, it started to go into thermal shutdown or folded back the output voltage until it started cooling down, and it stopped working) .

    I've seen people try to use SOT-23 regs, and running off 5v, the one Gordon used on the pico can just barely handle an ESP8266 - but ESP32 is a little more demanding.

  • Are you powering via usb? Try another lead and also a different port on the computer - or try powering directly from a 10w charger

  • Yes was powering via USB. I switched to a NODEMCU ESP32 board and that one seems to handle the power better - no brownouts so far.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Brownout detector was triggered? error on connecting WIFI

Posted by Avatar for n00b @n00b

Actions