ESP32 : Error when activating Wi-Fi interface

Axok

I recently purchased an ESP-32 that I use with MicroPython for a web server via Wi-Fi. Everything works very well and I decided to buy 4 more. But on none of the 4 works when I enable the Wi-Fi interface.

I get this error everytime :

>>> import network
>>> wifi = network.WLAN(network.STA_IF)
>>> wifi.active(True)

Brownout detector was triggered

ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

I already searched on the web but I found nothing to solve my problem (changing usb cable, switching usb port, resetting and flashing micropython again... nothing works) and that on all of my 4 ESP-32

Do you have any idea of what is the problem and how to solve it ?

Infos:

  • D1 mini ESP-WROOM-32
  • MicroPython version: MicroPython v1.11-580-g973f68780
  • Power : 5V from computer usb
  • rshell
Ma Li

The problem is that the esp32 is drawing to much power during WiFi transmission, and the voltage drops below a threshold causing brownout. If you are not using the 3.3V pin to drive additional components (or the GPIO pins for LEDs), this should not happen and is due to poor board design. To work around, you could try the following things:

  • Add a capacitor between 3.3V and GND (as close to the chip as possible)
  • decrease current draw, e.g. by:

    • powering external components with 5V from USB
    • removing LEDs from the board (desolder)
    • reducing WiFi transmission power (if possible)
    • reducing the chip frequency e.g. to 40 MHz: machine.freq(40000000)
  • reduce/disable the brownout threshold (probably requires compilation of micropython)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

ESP32 heap corruption error when releasing allocated memory

From Dev

Error when activating virtual environment

From Dev

HTML interface for a Autonomus car on ESP32

From Dev

Detect when connected/disconntected to Wi-Fi

From Dev

Wi-Fi network interface - Linux command not working

From Dev

vboxnet0 interface prevents applications to use Wi-Fi

From Dev

How to bring up a wi-fi interface from a command line?

From Dev

Error When Activating Conda Environment Windows 10

From Dev

list all wi-fi name in iphone when wi-fi is OFF

From Dev

ESP32 debugging with only six-pin PROG interface

From Dev

Wi-Fi adapter install error Linux Mint

From Dev

Passing image to next activity when wi-fi is off

From Dev

Can Wi-Fi or the CPU go to sleep when screen is on?

From Dev

Desktop Completely Freezes When Accessing Wi-Fi Hotspot

From Dev

DHCP messages when connecting to home WI-Fi

From Dev

Laptop losing all wi-fi signal when it is physically moved

From Dev

Wi-fi turns off when USB device is plugged in

From Dev

Discord app crashes when connected to Wi-Fi on iOS 9.3.5

From Dev

Cannot use Wi-Fi on wireless devices when PC is on

From Dev

Wi-Fi disabled when I install Ubuntu

From Dev

Arduino, C, Linker error, ESP32 target

From Dev

ESP32 Guru Meditation Error while using .substring method

From Dev

How to fix compilation error for ESP32 in Arduino IDE?

From Dev

I'm getting a Guru Meditation error on an ESP32

From Dev

How to update an already created Wi-Fi configuration (or "UID XXX does not have permission to update [Wi-Fi] configuration error")?

From Dev

Why displays the Esp32 "nan" when using logarithem?

From Dev

Weird behavior when using monitor and analogWrite (ESP32)

From Dev

Error when activating windows from c++ program

From Dev

How to fix 'Class not found' error in PHP when activating plugin in wordpress?

Related Related

  1. 1

    ESP32 heap corruption error when releasing allocated memory

  2. 2

    Error when activating virtual environment

  3. 3

    HTML interface for a Autonomus car on ESP32

  4. 4

    Detect when connected/disconntected to Wi-Fi

  5. 5

    Wi-Fi network interface - Linux command not working

  6. 6

    vboxnet0 interface prevents applications to use Wi-Fi

  7. 7

    How to bring up a wi-fi interface from a command line?

  8. 8

    Error When Activating Conda Environment Windows 10

  9. 9

    list all wi-fi name in iphone when wi-fi is OFF

  10. 10

    ESP32 debugging with only six-pin PROG interface

  11. 11

    Wi-Fi adapter install error Linux Mint

  12. 12

    Passing image to next activity when wi-fi is off

  13. 13

    Can Wi-Fi or the CPU go to sleep when screen is on?

  14. 14

    Desktop Completely Freezes When Accessing Wi-Fi Hotspot

  15. 15

    DHCP messages when connecting to home WI-Fi

  16. 16

    Laptop losing all wi-fi signal when it is physically moved

  17. 17

    Wi-fi turns off when USB device is plugged in

  18. 18

    Discord app crashes when connected to Wi-Fi on iOS 9.3.5

  19. 19

    Cannot use Wi-Fi on wireless devices when PC is on

  20. 20

    Wi-Fi disabled when I install Ubuntu

  21. 21

    Arduino, C, Linker error, ESP32 target

  22. 22

    ESP32 Guru Meditation Error while using .substring method

  23. 23

    How to fix compilation error for ESP32 in Arduino IDE?

  24. 24

    I'm getting a Guru Meditation error on an ESP32

  25. 25

    How to update an already created Wi-Fi configuration (or "UID XXX does not have permission to update [Wi-Fi] configuration error")?

  26. 26

    Why displays the Esp32 "nan" when using logarithem?

  27. 27

    Weird behavior when using monitor and analogWrite (ESP32)

  28. 28

    Error when activating windows from c++ program

  29. 29

    How to fix 'Class not found' error in PHP when activating plugin in wordpress?

HotTag

Archive