NodeMCU and WLED Issues with Powering via Mains Adapter

Hii , I'm reaching out to try and find a solution to my problem. I built a setup with a NodeMCU and WLED. Everything works fine as long as it's connected to the computer via USB, but when I disconnect it from the computer and power it with 5V through a mains adapter to the Vin pin and the two wires of the LED strip (USB disconnected), I have to press the reset (RST) button for the setup to start. I can turn the application on and off via the phone. However, if I cut the 12V power, I absolutely have to press the RST button to restart the setup. I hope to get some advice or even a solution to finish my setup.
Solution:
Make sure the 5v supply is stable enough not to fluctuate, which is bad to the MCU. Also ensure the LED is not consuming too much current, this can cause the MCU to trip off and enter a reset state...
Jump to solution
2 Replies
aymen ammari
aymen ammari2mo ago
When powering the NodeMCU through the 5V mains adapter (Vin pin), the board doesn't start properly without pressing the RST button. This is likely due to power instability during startup or improper boot mode caused by voltage drops or fluctuations. I suggest 1. Add a 1000 µF capacitor between Vin and GND to stabilize the voltage. 2. Ensure your power supply provides sufficient and stable current.
Solution
Joseph Ogbonna
Joseph Ogbonna2mo ago
Make sure the 5v supply is stable enough not to fluctuate, which is bad to the MCU. Also ensure the LED is not consuming too much current, this can cause the MCU to trip off and enter a reset state
Want results from more Discord servers?
Add your server