Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct mA/LED settings for WS2805 (RGB+WW+CW)? #4132

Open
1 task done
Moonbase59 opened this issue Sep 7, 2024 · 3 comments
Open
1 task done

Correct mA/LED settings for WS2805 (RGB+WW+CW)? #4132

Moonbase59 opened this issue Sep 7, 2024 · 3 comments
Labels
backburner low priority compared to other issues enhancement

Comments

@Moonbase59
Copy link

Moonbase59 commented Sep 7, 2024

What happened?

WS2805 strips typically come as

  • per 1 LED addressable at 5V
  • per 3 LEDs addressable at 12V
  • per 6 LEDs addressable at 24V

1, 3 or 6 LEDs are connected in series to one of the WS2805 outputs, respectively, and—according to the datasheet—the chip drives a typical 12 mA, or max. 14 mA output current on each of the R, G, B, W1 and W2 outputs.

So what is the correct current (mA/LED) to set in WLED for the power calculation/current limiting to function properly?
5 x 12 mA = 60 mA, or 5 x 14 mA = 70 mA?

Could the correct value be added to the selection dropdown for novices?

To Reproduce Bug

Set (and connect) a WS2805 5-channel LED strip in v0.15.0-b4, try to figure out correct power settings.

I am using BTF Lighting WS2805 12V, 5m, 60 LEDs/m and the MagWLED-1 controller.

Expected Behavior

Have a suggestion for novices in the selection dropdown, and possibly document if WLED calculates using "typical" or "maximum" current consumption.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.15.0-b4 (build 2406290)

Which microcontroller/board are you seeing the problem on?

ESP32-C3

Relevant log/trace output

No response

Anything else?

Afterthought: I should maybe have labelled this as a feature request… Sorry for that.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Moonbase59 Moonbase59 added the bug label Sep 7, 2024
@blazoncek
Copy link
Collaborator

ABL (automatic brightness limiter) does not operate on CCT or RGBWWCW LED strips properly as the code internally does not work with 2 whites.
Also W channel is not part of the calculation of used current independently.

So even if one would want to have correct calculation it is currently impossible without complete code rewrite. And even then not all LED strips are made equal and actual used current may differ from calculation.

Adding additional dropdown options adds little value as unavailable current can be added via custom option.

@blazoncek blazoncek added enhancement backburner low priority compared to other issues and removed bug labels Sep 7, 2024
@Moonbase59
Copy link
Author

Hm. Thanks, that is valuable information.

Do you think…

  • this will come in a future version, sometime?
  • I could get by not overdriving my poor little USB-C power supply by "artificially" specifying a higher custom mA/LED, for the time being?

@blazoncek
Copy link
Collaborator

You can disable ABL entirely and use adequate PSU.
Please use on-line calculators to determine maximum current draw.

  • most likely no, unless someone finds interest in doing so
  • just stay safe, whatever you attempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backburner low priority compared to other issues enhancement
Projects
None yet
Development

No branches or pull requests

2 participants