Avatar for misaalanshori

misaalanshori

Member since Aug 2021 • Last active Aug 2021
  • 1 conversations
  • 4 comments

jello

Most recent activity

  • in ESP32
    Avatar for misaalanshori

    Is it possible to disable wifi at boot? And what does espruino do differently that causes wifi to use so much power that it triggers the brownout detector? As I said before, I have used this same setup before with Arduino and Micropython and never had problems with power, even with a high load as I mentioned in my previous reply.

  • in ESP32
    Avatar for misaalanshori

    I know about those posts, but did you read my post? I have not had any power problem with this board running Micropython and regular Arduino code with the OLED Screen fully on and while connected to a WiFi Access Point. Meanwhile, with Espruino, I flash the firmware, without any of my code running, no displays, no wireless connections, it triggers the brownout detector. Is Espruino really that power-hungry? Just running the Espruino console requires more power than running a bunch of Micropython code, a display, and wifi at the same time?

  • in ESP32
    Avatar for misaalanshori

    I'm trying to use Espruino on the ESP32 Heltec WiFI Kit 32 Board. But after flashing the board, the board keeps restarting, saying brownout detector was triggered.
    Usually when I plug the board in the console would show up and work, but after a few seconds, the brownout detector would get triggered and start boot looping.

    Here is a snippet of the serial console output:

    E (551) spiram: SPI RAM enabled but initialization failed. Bailing out.
    WARNING: check error not implemented yet:0
    
    
     ____                 _ 
    |  __|___ ___ ___ _ _|_|___ ___ 
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v10 (c) 2021 G.Williams
    
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    
    >console.log("hello") 
    hello
    =undefined
    >2+2
    =4
    >       
    Brownout detector was triggered
    
    ets Jun  8 2016 00:22:57
    
    rst:0xc (SW_CPU_RESET),boot:0x17 (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:2668
    load:0x40078000,len:7304
    load:0x40080000,len:5312
    entry 0x40080274
    E (551) spiram: SPI RAM enabled but initialization failed. Bailing out.
    WARNING: check error not implemented yet:0
    
    
     ____                 _ 
    |  __|___ ___ ___ _ _|_|___ ___ 
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v10 (c) 2021 G.Williams
    
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    
    
    Brownout detector was triggered
    
    ets Jun  8 2016 00:22:57
    
    rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
    
    
    

    The thing is I never had this problem before. Previously, I was using Micropython and was able to run the OLED display and connect to a wifi network simultaneously with no power problems. What could be causing this?

Actions