WLED icon indicating copy to clipboard operation
WLED copied to clipboard

Not displaying proper amount of pixels.

Open jaywehner opened this issue 2 years ago • 11 comments

What happened?

I have WLED latest running on a wemos D1. I have three ws2815b strips connected end to end. 12V strips with a buck converter for the 5v wemos D1. Running on a 3 Amp 12v powersupply.

When I set the amount to the actual number of leds 446 it turns them all on. I save the settings and when the unit power up's it still shows 446 led's but only two strips light up and one more led on the third strip.

If I change the number of LED's to 200 then back to 446 everything works fine. Until I unplug the power. It reverts to not working again and have to do the same trick again.

I tried changing it to 445 then back to 446 and that doesn't work. It's odd that a lower number works (200). I have not tested it with different lower values. But higher values do not work (447, 500, etc..)

To Reproduce Bug

I tested on other strips with the same result.

Expected Behavior

I expected the lights to light up with the requires amount.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.13.1

Which microcontroller/board are you seeing the problem on?

ESP8266

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

jaywehner avatar Jun 20 '22 21:06 jaywehner

Have you ruled out a power issue? A 3amp power supply is very small for all those leds. Make sure in the wled setup to set the brightness limiter to like 2.5 amps. Where are you injecting power on the strips? (only at the beginning of the line? or other places as well? ) Do you have a voltmeter? If so what voltage are you seeing at the end of the strips between gnd and +v ? What color are you setting the leds to ? Is it a solid or pattern?

On Mon, Jun 20, 2022 at 5:40 PM jaywehner @.***> wrote:

What happened?

I have WLED latest running on a wemos D1. I have three ws2815b strips connected end to end. 12V strips with a buck converter for the 5v wemos D1. Running on a 3 Amp 12v powersupply.

When I set the amount to the actual number of leds 446 it turns them all on. I save the settings and when the unit power up's it still shows 446 led's but only two strips light up and one more led on the third strip.

If I change the number of LED's to 200 then back to 446 everything works fine. Until I unplug the power. It reverts to not working again and have to do the same trick again.

I tried changing it to 445 then back to 446 and that doesn't work. It's odd that a lower number works (200). I have not tested it with different lower values. But higher values do not work (447, 500, etc..) To Reproduce Bug

I tested on other strips with the same result. Expected Behavior

I expected the lights to light up with the requires amount. Install Method

Binary from WLED.me What version of WLED?

WLED 0.13.1 Which microcontroller/board are you seeing the problem on?

ESP8266 Relevant log/trace output

No response Anything else?

No response Code of Conduct

  • I agree to follow this project's Code of Conduct

— Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/issues/2694, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGIOVJVVXELIGJ6WMUND3VQDQNJANCNFSM5ZKFA7VQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

devoh747 avatar Jun 21 '22 00:06 devoh747

Have you checked how your segments are set up?

blazoncek avatar Jun 21 '22 06:06 blazoncek

Single segment. Set the amps to 3.0 I will try 2.5 and test. Power is at beginning and end. But I had the issue with power only one end or both ends. It happens on any brightness, color or pattern. I'll report back voltage measurements later today.

jaywehner avatar Jun 21 '22 12:06 jaywehner

One segment or many it may not matter, but how many LEDs are in (each) segment is important. You may have 445 LEDs set up in LED settings, but have segment with 300 so only 300 will light up. Segments are stored (in preset) independently of number of physical LEDs.

blazoncek avatar Jun 21 '22 17:06 blazoncek

Another idea would be to power the WEMOS from a different source, like USB. If this improves stability of your strip, then it's an issue with the buck converter or weak power supply.

Also do you have

  • a supporting capacitor (1000 uF or more) on the strip power supply, between Vcc and GND?
  • a resistor (150-500 ohms) between ESP data pin and strip data input? If not, please try adding both.

BTW, do you use a level shifter?

As Blaz says, this looks more like a hardware (wiring, or power, or single broken LED) problem than a software error. We have a lot of users with many LEDs connected, it seems unlikely to me that the number of LEDs causes the problem.

softhack007 avatar Jun 21 '22 17:06 softhack007

I am also running into this issue. Using an ESP 32 and 184 WS2811 LED's on GPIO 4. After a reboot only the first 100 LEDs light up. Changing the number of LEDs to a number of 100 or less and then back to 184 is the only way to fix it for me. It is clear that this is not a power issue as the effects such as wipe immediately begin again on the first LED after ending on the 100th LED. Screenshot_20220717-205117

CollinNHays avatar Jul 18 '22 01:07 CollinNHays

Check what is saved in your preset.

blazoncek avatar Jul 18 '22 08:07 blazoncek

Same problem on Wemos d1 v3 The tape has 118 LEDs, the first 60 are lit, if you change the length in the parameters to 30 and save, then return 118 and save, then the entire tape is lit and the effects all work without problems. If you turn off the power and turn it on, then only the first 60 are lit again.

max-xface avatar Jul 18 '22 14:07 max-xface

I solved my problem, I made a preset (when there were 60 LEDs on the tape in total) and the preset was assigned when turned on, and in its settings it’s worth just turning on the first 60 I recreated the preset and everything began to work well, as an option, turn on the default preset and check Or check in preset this params "start": 0, "stop": 60,

max-xface avatar Jul 18 '22 14:07 max-xface

I solved my problem, I made a preset (when there were 60 LEDs on the tape in total) and the preset was assigned when turned on, and in its settings it’s worth just turning on the first 60 I recreated the preset and everything began to work well, as an option, turn on the default preset and check Or check in preset this params "start": 0, "stop": 60,

Creating a new preset solved my issue as well. I did not expect this to be something stored in a present as I have never used segments.

CollinNHays avatar Jul 18 '22 14:07 CollinNHays

When you are presented with preset save dialog it has an option for "Save segment bounds". If you uncheck it segment size (start and stop) is not saved into preset.

Otherwise it clearly states: "Use current state".

blazoncek avatar Jul 18 '22 15:07 blazoncek