I'm Using an ESP32 - NodeMCU. One of the MCU's is acting weird upon boot, while at start I thought it was something to do with its sleep cycle. But, it seems that even on a minimal code as shown below, I get this message at the Serial output: Brownout detector was triggered

void setup()

  WiFi.begin("Xiaomi", "guy");

  while (WiFi.status() != WL_CONNECTED && millis())

Edit 1: attaching MCU picture.

ESP32 NodeMCUCan someone please explain ?

Edit 2: A workaround stop alerting

  • Can you link to the actual board you are using? – Majenko Jul 5 at 8:36
  • @Majenko See edit 1 – Guy . D Jul 5 at 10:29

Those boards have an inherent weakness in that they don't provide enough decoupling capacitance for the module.

Not all modules are quite the same, and some have more internal decoupling than others (not by design, just due to component tolerances).

I have found that unless you provide adequate decoupling of your own some modules work just fine and some don't. Some brown-out and some fail to flash.

For all my designs now I always provide both a 100nF and an 10uF capacitor right at the power pins of the module. However those boards don't provide anything like that.

You need to modify the board to add a capacitor (about 10uF) directly across the power and ground pins (pins 1[ground]-2 [3.3v]) of the ESP32 module. I like to use an 0805 MLCC capacitor as they fit nicely across the pins and are discrete, but they can be tricky for a novice to solder. So an electrolytic through-hole capacitor can be a simpler proposition (make sure you get the polarity right).

| improve this answer | |
  • Since I was it with solar panel and a battery, those RTC variables are vital to survive a proper boot. Can you please add a diagram foradding capacitors? – Guy . D Jul 5 at 12:11
  • Not really. You just connect one side to the GND pin (pin 1) and the other to the 3.3V pin (pin 2). – Majenko Jul 5 at 12:18
  • 10uF and 100 nF in parallel ? – Guy . D Jul 5 at 12:39
  • No, you just need the 10uF. – Majenko Jul 5 at 12:51
  • 1
    I always add a cap when designing an ESP32 board. Adding it to all development boards can't hurt, that's for sure. For USB the on-board regulator may be a little weak, or your USB voltage may be a little reduced, maybe from a USB cable with too-thin wires. – Majenko Jul 5 at 18:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.