# Help with ESP32 random reboots

**URL:** <https://wled.discourse.group/t/help-with-esp32-random-reboots/11638>\
**Category:** Issues\
**Created:** [April 18, 2024, 4:59am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638 "2024-04-18T04:59:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rokstarx](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rokstarx/32/7542_2.png) [@Rokstarx](https://wled.discourse.group/u/Rokstarx)\
**Post date:** [April 18, 2024, 4:59am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/1 "2024-04-18T04:59:36Z")

</div>

So about three weeks ago I purchased two ready to go WLED controllers on amazon, one with a ESP32 and the other with a ESP8266. The one with the ESP32 sometimes does a random reboot/reset meaning it goes to the default orange color. I when to the settings and toggled the “Turn LEDs on after power up/reset:”, it still does the reboot but now instead of turning on its turning off. I purchased another controller to see if maybe I received a faulty one but the new one its doing the same thing. Now I decided to build my own controller with a new ESP32 hoping that the controllers are the ones with the issue, but even with the ESP32 that I flashed its doing the same thing. I think it might have something to do with my router since they all seem to reboot around the same time. Any ideas on what I might be doing wrong?

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [April 18, 2024, 6:05am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/2 "2024-04-18T06:05:38Z")

</div>

Post a diagram of your setup:

1. General layout with distances
2. Power supply(s)
3. LED type and total count
4. ESP32 GPIOs used
5. Levelshifter and type
6. Version of WLED

---

<div class="post-metadata">

**Author:** ![Magig\_Wled](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Magig\_Wled](https://wled.discourse.group/u/Magig_Wled)\
**Post date:** [April 18, 2024, 6:27am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/3 "2024-04-18T06:27:46Z")

</div>

@Rokstarx Welcome you might flash via [https://install.wled.me/](https://install.wled.me/)  
Direct from Browser a Fresh ESP Version  
Orange means there is no PRESET Did you make a PLAYLIST  
You can set the STURTUP indey to a Playlist or Preset in the CONFIG LED Prederences section  
 ![0Default_preset](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/2/2e4585a8448b222bdd5c611dc83cb5673a3cc585.jpeg)

---

<div class="post-metadata">

**Author:** ![kilrah](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/kilrah/32/5927_2.png) [@kilrah](https://wled.discourse.group/u/kilrah)\
**Post date:** [April 18, 2024, 6:31am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/4 "2024-04-18T06:31:51Z")

</div>

> [@Magig\_Wled](#):
>
> Orange means there is no PRESET Did you make a PLAYLIST  
> You can set the STURTUP indey to a Playlist or Preset in the CONFIG LED Prederences section

The problem is that it reboots, not what gets displayed when it does…

---

<div class="post-metadata">

**Author:** ![Magig\_Wled](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Magig\_Wled](https://wled.discourse.group/u/Magig_Wled)\
**Post date:** [April 18, 2024, 6:37am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/5 "2024-04-18T06:37:10Z")

</div>

He shoudt provide a Screenshot from the INFO screen on browser lockin  
to get better background info

---

<div class="post-metadata">

**Author:** ![Cyberdine](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/cyberdine/32/6687_2.png) [@Cyberdine](https://wled.discourse.group/u/Cyberdine)\
**Post date:** [April 18, 2024, 7:21am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/6 "2024-04-18T07:21:52Z")

</div>

Mine does that… glitch reboot…

Im assuming its a memory and power issue for me.

2000 od leds 5v 30a psu. When them leds get rowdy im assuming leds are taking the currant from the esp32 dropping it below its sensitive operating voltage. Its on the same power line as the leds.

Then reboots a preset i had to create that was low in brightness and a simple preset otherwise id expext a loop glitch.

Im umming about increasing potential currant…40a or 50a psu methinks… not that id expect to run it hard but i think more head room is needed for the currant drops on a 48x48 matrix

---

<div class="post-metadata">

**Author:** ![Magig\_Wled](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Magig\_Wled](https://wled.discourse.group/u/Magig_Wled)\
**Post date:** [April 18, 2024, 11:11am UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/7 "2024-04-18T11:11:58Z")

</div>

@Cyberdine put a Capaciter at least 2200uF 16V (5Vpsu) or 35V(12Vpsu) on the ESP Vin GND  
this might help the ESP over the Glitch

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [April 18, 2024, 1:46pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/8 "2024-04-18T13:46:04Z")

</div>

Using a separate 5V 2A supply for the ESP is a simple way of isolating out power issues.  
Make sure to use a dedicated ground and data line from the ESP32 to the LEDs.

---

<div class="post-metadata">

**Author:** ![Rokstarx](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rokstarx/32/7542_2.png) [@Rokstarx](https://wled.discourse.group/u/Rokstarx)\
**Post date:** [April 18, 2024, 4:11pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/9 "2024-04-18T16:11:27Z")

</div>

The first initial ones i purchased was this plug and play amazon controller.

 ![IMG_3535](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/5daf3d32e32b670acdd4b35ab8f1c71141750c54.jpeg)

---

<div class="post-metadata">

**Author:** ![Rokstarx](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rokstarx/32/7542_2.png) [@Rokstarx](https://wled.discourse.group/u/Rokstarx)\
**Post date:** [April 18, 2024, 4:18pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/10 "2024-04-18T16:18:13Z")

</div>

The first one i have it controlling the Govee outdoor lights for a little project inside my house, they come with a 36v power supply but i use a 36v to 12v converter since the controller takes 24v max. The second one I purchased i have no LEDs plugged in, I basically just got it to see if it the first controller was faulty, that one i just have it to a 12v power supply. And lastly for my DIY ESP32 i am using the usb C port to turn it on, that one also doesn’t have any LED’s connected i just been monitoring through the WLED app and its also doing the reeboot.

---

<div class="post-metadata">

**Author:** ![Cyberdine](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/cyberdine/32/6687_2.png) [@Cyberdine](https://wled.discourse.group/u/Cyberdine)\
**Post date:** [April 18, 2024, 4:51pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/11 "2024-04-18T16:51:22Z")

</div>

![20240418_173747](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/c/c055cb347549ff8d28d5577b984fc8e61ae8a006.jpeg)

It was suggested by another mentor… to get these…

 ![20240418_174202](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/a/abf9e4612fec91768407c9a462eba3aa84098b17.jpeg)

So got a few… but i wasnt so clear on how to “wire” them in… apart from him saying to put one on the back of each panel… didnt say how… or maybe he did… and i didnt understand.

But to be fair i have 2 16x16 panels esp32 sharing 10a 5v power supply… and when adjusting brightness up will crash esp…as panels do that stary night thing with randon bright white leds lit. So have to reduce limiter to just 3000. Defo gets dimmer in performance but less crashy  
Would this capacitor thing sort this on both? Or is it more complex than that .

Respect for your replies by the way. … appreciate the insight.

---

<div class="post-metadata">

**Author:** ![Cyberdine](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/cyberdine/32/6687_2.png) [@Cyberdine](https://wled.discourse.group/u/Cyberdine)\
**Post date:** [April 18, 2024, 4:57pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/12 "2024-04-18T16:57:26Z")

</div>

Hi, do you mean inline with its ground? Im assuming theres a "polarity " to this capacitor… assuming the side with the giant MINUS(lol) symbol is negative.

So in series?

 ![20240418_175602](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/c/c84d61b658abeef96345d8847bcee0d72dd6b9f2.jpeg)

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [April 18, 2024, 5:02pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/13 "2024-04-18T17:02:26Z")

</div>

If you’re getting random reboots without LEDs attached, that points to a software/version/configuration issue.

The other possibility is a bad ESP board or a bad flash of the chip.

---

<div class="post-metadata">

**Author:** ![Cyberdine](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/cyberdine/32/6687_2.png) [@Cyberdine](https://wled.discourse.group/u/Cyberdine)\
**Post date:** [April 18, 2024, 5:06pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/14 "2024-04-18T17:06:41Z")

</div>

Thanks for that.

When you mean dedicated .

I have 9 panels…  
1 pin to each set from esp pins.

Becouse its all wire together. And the grounds tied

So the data lines off the board go to the first panels in the set of 3

Are you saying to also another ground from esp to each panel? Thats gonna look like a massive cobweb…lol

Isnt it getting that from the ground from the power negative that the same thats going to panels…?

---

<div class="post-metadata">

**Author:** ![Cyberdine](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/cyberdine/32/6687_2.png) [@Cyberdine](https://wled.discourse.group/u/Cyberdine)\
**Post date:** [April 18, 2024, 5:07pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/15 "2024-04-18T17:07:26Z")

</div>

15 on aliexpress

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [April 18, 2024, 5:25pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/16 "2024-04-18T17:25:21Z")

</div>

The dedicated data ground will eliminate noise/sags/fluctuations that appear on the ground lines due to rapid switching of LEDs.

The data wires can be much lighter wiring than your power connections.  
Typical data lines need only be 26AWG wire, so a dedicated data ground can be quite small.

---

<div class="post-metadata">

**Author:** ![Cyberdine](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/cyberdine/32/6687_2.png) [@Cyberdine](https://wled.discourse.group/u/Cyberdine)\
**Post date:** [April 18, 2024, 5:56pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/17 "2024-04-18T17:56:17Z")

</div>

Thanks for that .

So … to impliment…

If i spliced a ground from esp grounds… .then 9 fingers from that to the power negs on each panelnthat will do?..

And the capacitors?

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [April 18, 2024, 6:06pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/18 "2024-04-18T18:06:29Z")

</div>

You may be able to get away with a single data ground line.

As far as capacitors, that’s not a particularly good solution for power issues.  
You’ll get far better results with proper power wiring to make sure you can get sufficient power to all parts of your setup.

---

<div class="post-metadata">

**Author:** ![Cyberdine](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/cyberdine/32/6687_2.png) [@Cyberdine](https://wled.discourse.group/u/Cyberdine)\
**Post date:** [April 18, 2024, 6:30pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/19 "2024-04-18T18:30:57Z")

</div>

Lol  
Its like we’re talking down t’ pub

By saying what your saying… im thinking …

running one from the esp and trying it on the ground on each panel… to possibly see where the “noise” is or more stability… is that wled “logic” ?

I’m learning Obey Wan …I’m learning lol

---

<div class="post-metadata">

**Author:** ![Rokstarx](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/rokstarx/32/7542_2.png) [@Rokstarx](https://wled.discourse.group/u/Rokstarx)\
**Post date:** [April 18, 2024, 7:11pm UTC](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638/20 "2024-04-18T19:11:34Z")

</div>

Ok but what are the chances of me getting two pre installed WLED controllers and a ESP32 flashed by me to have the same issue? The controllers came with WLED version 0.13.3, i updated the first one to 0.14.3, but when I started having issues and ordered the second one i kept that one on 0.13.3 to see if maybe it was a firmware issue, and the problem still persist.

[Next page](https://wled.discourse.group/t/help-with-esp32-random-reboots/11638.md?page=2)
