Skip to main manual content
Circuit Manual
Absolute BeginnerESP323.3V / 5V DC

Fixing ESP32 Brownout Detector Triggered Errors on Breadboard Builds

Solve ESP32 Brownout detector was triggered reset loops by testing USB cables, checking 5V power current limits, and adding decoupling capacitors.

By Chathura PrabashanaUpdated Nov 21, 2026
Difficulty
Absolute Beginner
Build / Read Time
15 mins fix
Operating Voltage
3.3V / 5V DC
Hardware Platform
ESP32
Est. Parts Cost
Free Reference
Direct Summary / Key Takeaway

The ESP32 message Brownout detector was triggered means the 3.3V supply rail dipped below roughly 2.43V during a brief WiFi transmission spike. Fix it permanently by swapping thin charging cables for a thick short USB data cable, using a 5V 1A+ port or external supply, and placing a 470 uF electrolytic capacitor across 3V3 and GND.

You upload your first WiFi sketch, open the Serial Monitor, and watch your ESP32 reboot endlessly with this exact message:

rst:0xf (BROWNOUT_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
Brownout detector was triggered

Good news: your ESP32 is not broken. Its built in is doing its job by protecting the chip from a sudden voltage dip.

01. Why Voltage Dips Happen During WiFi Startup

While blinking an LED, an ESP32 sips around 50 mA. The moment your code calls WiFi.begin(), the radio power amplifier calibrates and pulls short current bursts between 300 mA and 500 mA lasting a few milliseconds.

By Ohms Law (V_drop = I x R), if your USB cable uses ultra thin 28 AWG copper strands with 2 Ohms of round trip resistance, a 0.45 A current spike drops almost 0.9V inside the cable before electricity even reaches your board. The onboard 3.3V starves, the 3.3V rail sags below 2.43V, and the board immediately resets.

02. Step by Step Hardware Fixes (Ordered Fastest to Most Thorough)

Fix 1: Swap to a Short, Thick USB Data Cable

Ninety percent of beginner brownout loops vanish the instant you replace a thin freebie USB cable with a short (under 1 meter) 24 AWG or 22 AWG data cable. Unpowered USB hubs and monitor USB ports also sag easily; plug directly into a rear desktop USB port or a powered hub.

Fix 2: Unplug High Draw Peripherals From the 3V3 Pin

The onboard AMS1117 voltage regulator on a DevKit V1 is designed to power the ESP32 plus small low current sensors (like an OLED or DHT22). Never power servos, relays, motors, or bright LED strips from the ESP32 3V3 pin. Give those loads their own external 5V power supply with a shared GND wire.

Fix 3: Add a Local Bulk Decoupling Capacitor

Place a 100 uF to 470 uF electrolytic capacitor (rated 10V or 16V) directly across the 3V3 and GND pins on your breadboard right beside the ESP32 header. Think of this capacitor as a tiny local water reservoir that absorbs millisecond WiFi current spikes before the voltage rail can sag.

Fix 4: Check Your Board With a Multimeter

If the loop persists, set a digital multimeter to DC Volts (20V range) and place the black probe on GND:

Test Point Healthy Reading Problem Indicator
VIN / 5V pin 4.75V to 5.15V Below 4.5V confirms a weak USB cable or overloaded USB port
3V3 pin 3.25V to 3.35V Below 3.1V indicates an overloaded regulator or partial short on the breadboard

03. Optional Software Check: Verify WiFi TX Power Limit

While hardware power fixes are always primary, you can also verify whether your board stays rock solid at slightly reduced WiFi transmit power during desk testing when your router sits in the same room:

brownout_diagnostic_wifi.inocpp
Library Note:Diagnostic sketch using built in WiFi.h to test stability at moderate TX power
#include <WiFi.h>

const char* SSID = "YOUR_WIFI_NAME";
const char* PASS = "YOUR_WIFI_PASSWORD";

void setup() {
Serial.begin(115200);
delay(300);

WiFi.mode(WIFI_STA);
// Step down slightly from max 19.5 dBm to 15 dBm for desk testing
WiFi.setTxPower(WIFI_POWER_15dBm);
WiFi.begin(SSID, PASS);

Serial.print("Testing WiFi link at 15 dBm");
while (WiFi.status() != WL_CONNECTED) {
  delay(400);
  Serial.print(".");
}
Serial.println();
Serial.print("Stable connection! IP: ");
Serial.println(WiFi.localIP());
}

void loop() {
delay(5000);
}

If the diagnostic sketch connects cleanly at 15 dBm while full power resets, that proves with 100% certainty that your power rail or USB cable cannot handle peak current surges. Upgrade the cable and add the 470 uF capacitor so your board runs reliably at full power.

Diagnostics & Common Questions

Testing and Troubleshooting FAQ

Should I disable the brownout detector in software to make the error disappear?+

No. Disabling the brownout register hides the warning while leaving the power rail unstable, which causes silent WiFi dropouts, corrupted flash memory, and random crashes. Always fix the physical power delivery instead.

Why does the error happen only when WiFi.begin() runs?+

Idle ESP32 code draws around 40 mA to 60 mA, which even a poor cable can deliver. The instant the WiFi radio calibrates and transmits, current spikes briefly to 300 mA to 450 mA. Thin wire resistance causes a sudden voltage drop (V = I x R) that trips the brownout reset.

Where exactly should I place the 470 uF capacitor?+

Plug the positive long leg into the breadboard 3.3V rail (or 5V VIN rail) and the negative leg marked with the white stripe into GND, physically as close to the ESP32 3V3 and GND header pins as possible.

Chathura Prabashana
Verified Author / Bench Tester

Chathura Prabashana

Embedded Systems Builder and IT Undergraduate

Chathura Prabashana builds, tests, and documents beginner friendly ESP32 circuits, microcontroller firmware, and practical electronics prototypes from scratch.

About the Author & Verification Standards →