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.
Comments
No comments yet. Share your experience or ask a question.