Fix random resets and brownouts

A short power recipe for boards that reboot when Wi-Fi or a relay kicks in: a proper supply, a bulk capacitor, a good cable and where to measure.

Power & batteries Board: ESP32 DevKit V1 (WROOM-32) Level: ●○○ ⏱ 1 h

A one-evening power fix

If the serial monitor shows Brownout detector was triggered, or the board resets whenever Wi-Fi or a relay starts, the cure is rarely software. Work through this short list and test after each step.

  • Swap the USB cable for the shortest one you have. This alone fixes a surprising share of cases.
  • Use a supply that is rated for at least 1 A and does not share a weak USB hub.
  • Solder or clamp a 100–470 µF capacitor close to the board’s power pins, with a 100 nF ceramic next to it.
  • Feed relays, motors and LED strips from their own supply and join only the grounds.
  • Shorten the power wires and use thicker ones, so the voltage does not sag on the way.

Measure the voltage at the board’s 5 V and 3.3 V pins while the radio is active. A multimeter shows a trend, and only an oscilloscope shows the dips. Read the brownout guide for the longer explanation.

Components

  • ESP32 DevKit V1 (30 pin, WROOM-32)
  • Electrolytic capacitors 100-470 uF + ceramic 100 nF
  • DC-DC buck converter (MP1584 / LM2596)
  • USB data cable (Micro-USB / USB-C)

What you need

Buy the parts kit · Estimated total: $8.50

ESP32 DevKit V1 (30 pin, WROOM-32) × 1
$4.00
Buy at AliExpress Buy at Amazon.com
Electrolytic capacitors 100-470 uF + ceramic 100 nF × 1
$1.50
Buy at AliExpress Buy at Amazon.com
DC-DC buck converter (MP1584 / LM2596) × 1
$1.50
Buy at AliExpress Buy at Amazon.com
USB data cable (Micro-USB / USB-C) × 1
$1.50
Buy at AliExpress Buy at Amazon.com
🇺🇦 Ukraine🌍 Other countries

Ukraine: we buy and sell these parts ourselves, order them on this site.

Some links are affiliate links: we may earn a commission at no extra cost to you.

Related ideas

⚠ Caution

Batteries: watch polarity, use protected cells and a charger with protection, never charge damaged cells unattended.

Car and generator starter battery watch

Wakes rarely, measures the 12 V battery at rest and warns before it is too flat to start the engine, with almost no drain of its own.

  • Board ESP32-C3 SuperMini
  • Level ●●○ Intermediate
  • Build time 1–2 h
Pick parts / kit
⛔ High risk

High-current battery: a short circuit can start a fire. Put a fuse next to the battery plus, use thick enough wires and respect the BMS limits.

Hybrid inverter monitor (RS485 / Modbus)

Reads load, grid status, battery and solar data from Deye, Growatt or Voltronic-type inverters through their communication port.

  • Board ESP32 DevKit V1 (WROOM-32)
  • Level ●●● Advanced
  • Build time 3–5 h
Pick parts / kit
⚠ Caution

Batteries: watch polarity, use protected cells and a charger with protection, never charge damaged cells unattended.

Battery voltage via divider

Measures the voltage of a Li-ion / LiFePO4 / 12 V battery through a resistor divider and sleeps to save power.

  • Board ESP32-C3 SuperMini
  • Level ●○○ Beginner
  • Build time 1 h
Pick parts / kit

← All module ideas →

Comments

No comments yet. Share your experience or ask a question.

Comments are moderated.