Ledstrip freaks out on nodemcu when powered over usb
First of all, thank you for this lovely project! I really enjoy it.
I encounter some problems though; In my test case i use ws2812B leds and a 5volt 20 amps power supply. The leds are connected on D4 pinout and the nodemcu is powered by the same powersupply as for the leds. I use pins vv and ground. WLED 0.8.5 is online and i can set the lights, but when i do around 70% of brightness in a setting with effect alle the leds on, i can see the little blue led on de nodemcu is almost off (dim) and WLED is slow or just crashes. I tried 3 different power supplies, all the same problem.
Is there a special connection of the nodemcu to your leds and powersupply that i'm missing?
Also i tried to powered up the nodemcu by usb (tried a couple) but then wled just freaks out, all the leds will start to flicker and i can not control wled. Why is this?
I tried wemos D1 mini's, but wled will start up, but than it will freaks out also ( on 5 volt and powered by usb)
Can you give me some hands up here please?
- do you have a ground running directly from the nodemcu to the LED ground?
- how many LEDs did you connect?
- what is 'vv'?
- sorry for maybe asking the obvious, but you do send in the data on the right side of the LED-strip?
- do you have a ground running directly from the nodemcu to the LED ground?
- how many LEDs did you connect?
- what is 'vv'?
- sorry for maybe asking the obvious, but you do send in the data on the right side of the LED-strip?
Powersupply
- (plus) -->nodemcu (5vin/vv) and ledstrip
- (min) --> nodemcu (Ground) and min to ledstrip vv is 5v in on the nodemcu
I use 5 meters 60 leds, so 300 leds are connected. The green (data) is set on the right side
Just checking (and if you have wired it differently, could you do it like this as a test): is it like in https://www.reddit.com/r/arduino/comments/bzv5tx/does_this_wiring_look_correct_for_a_nodemcu/ , with the exception that the green data wire is running from D4 on the NodeMCU to the LED data cable? Can you share a picture?
Yes, it is connected just like the picture shown in your link! The problem with the the wemos d1 mini and the overall problem with powered over the usb connection, is strange, but why the nodemcu is struggling on 5volt ( as i can see when the blue light of the esp chip will fade out) when the brightness increase. the powersupply have enough spare amps for the strip so i don't get it
Do you have a strip with fewer LEDs to test with?
Do you have a strip with fewer LEDs to test with?
Yes, and it then i have no problems when test it with a 24 leds ring. Also the leds of the led ring is much brighter when brightness is set on full (i can not look straight in the led).
Again, my powersupply is a 5volt 20 amps. the 60 led p/m draws 18 watts
Based on what you shared, i would say either the strip is drawing to much power (maybe more than specified) and/or your power supplies deliver less than spec'd. I would not know how to measure nor what equipment that would take. I always read that when you increase the nr of LED's and length, the chance increases that you will need to inject power at more points in the strip (more with 5V strips, less with 12V strips). I'm pretty sure it's not a WLED thing.
Based on what you shared, i would say either the strip is drawing to much power (maybe more than specified) and/or your power supplies deliver less than spec'd. I would not know how to measure nor what equipment that would take. I always read that when you increase the nr of LED's and length, the chance increases that you will need to inject power at more points in the strip (more with 5V strips, less with 12V strips). I'm pretty sure it's not a WLED thing.
Okay, but why de nodemcu is affected when i pull up the brightness? You can see the blue led of the esp8266 on the nodemcu fade out.
also on a wemos d1 mini, with the same power supply and a 24 led ring, i only get flickering of all the leds, i can't controll the WLED at all (it is online though)
I hope someone else will reply to the info above ... i'm not an electrical engineer, but that's why i wanted to make sure you have the ground running correctly. Not sure whether all connections are sound? I have a NodeMCU with 120 LEDs running fine, and based on this forum i would say there are hundreds of people using NodeMCU and Wemos D1 with WLED, so the only thing i can think of is something with wiring or power (either supply or usage). But maybe someone else has another idea of what could be wrong...
If you have a multimeter you can check to see if your getting a significant voltage drop from your power supply.
As for the flickering, if you power the node mcu with usb and the strips with your separate power supply, make sure the grounds are connected between the two different power sources.
If you have a multimeter you can check to see if your getting a significant voltage drop from your power supply.
As for the flickering, if you power the node mcu with usb and the strips with your separate power supply, make sure the grounds are connected between the two different power sources.
I measured the power supply when connected the nodemcu and 300 leds running, power supply stays steady on 5 volt
So, when connected a wemos (or nodemcu) with USB, you also have to connect ground to it from your power supply?
When using multiple power sources, you still want to have everything on the same common ground. Otherwise there may be voltage difference relative to the other supply, or other weird stuff.
Try powering the nodemcu via usb, and the strip with the 5v power supply. Then connect the grounds together (strip gnd to mcu gnd).
If you have a multimeter you can check to see if your getting a significant voltage drop from your power supply. As for the flickering, if you power the node mcu with usb and the strips with your separate power supply, make sure the grounds are connected between the two different power sources.
I measured the power supply when connected the nodemcu and 300 leds running, power supply stays steady on 5 volt
### So, when connected a wemos (or nodemcu) with USB, you also have to connect ground to it from your power supply?
Yes.
Try to modify the amps power supply in the settings, lower it, I have the sk6812 RGBW strip with 300 leds/5 meter and sometimes I have the same problem with nodemcu blue led shutting down and wled stopped working. Butt this problem was resolved when Aircoookie added the amps calculation in wled. I have a 10 amps power supply and I think in settings i putt only 8 amps or lower. Hope this is useful.
@vwtune have you resolved your issue?
I powered the nodemcu apart (by usb) and the leds by powersupply, only the ground is connected together from the powersupply to the leds and nodemcu, now i don't have the problems anymore.