# Reducing WS2812B power consumption

**URL:** <https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007>\
**Category:** LEDs and Multiplexing\
**Created:** [July 4, 2015, 2:36pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007 "2015-07-04T14:36:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sn4k3](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sn4k3](https://forum.arduino.cc/u/sn4k3)\
**Post date:** [July 4, 2015, 2:36pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/1 "2015-07-04T14:36:05Z")

</div>

Hello,

I found WS2812B amazing, i use 72 of them in my project.  
But they consume lots of current.

60mA \* 72 = 4320 mA @ Max bright

Currently i only use pure green, pure blue and pure red to lower the power consumption to 20ma each led

20mA \* 72 = 1440 mA @ Max bright (A lot better!)

I'm using a photocell to adjust the brightness so they never work at max power, and at full dark/night they consume about 144mA.

Still i want to reduce it more...  
There are any tricks or ways to improve the power consumption on this LEDs? Like multiplexing with the software?

NOTE: I'm Using FastLED

Thanks

---

<div class="post-metadata">

**Author:** ![CrossRoads](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/crossroads/32/214033_2.png) [@CrossRoads](https://forum.arduino.cc/u/CrossRoads)\
**Post date:** [July 4, 2015, 2:53pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/2 "2015-07-04T14:53:02Z")

</div>

Why doesn't pure white draw 60mA? That typically requires all 3 LEDs to be on. You have the PWM level for each color set lower when all 3 are on?

---

<div class="post-metadata">

**Author:** ![sn4k3](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sn4k3](https://forum.arduino.cc/u/sn4k3)\
**Post date:** [July 4, 2015, 2:54pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/3 "2015-07-04T14:54:39Z")

</div>

> CrossRoads:  
> Why doesn't pure white draw 60mA? That typically requires all 3 LEDs to be on. You have the PWM level for each color set lower when all 3 are on?

You right, that was my bad. I have fixed the main post. White i mean Green, Sorry 🙂

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [July 4, 2015, 4:52pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/4 "2015-07-04T16:52:43Z")

</div>

> sn4k3:  
> There are any tricks or ways to improve the power consumption on this LEDs? Like multiplexing with the software?

Easy. Just use 127 instead of 255 as the maximum pwm value for red, green & blue. That will halve the current to 30mA. Or max of 63 for max 15mA per led. The downside is you can mix fewer colours.

Doing any "multiplexing" in software would reduce the current by reducing the % of time that the leds are on. This is the same effect as using lower pwm values as I just suggested,

Paul

---

<div class="post-metadata">

**Author:** ![sn4k3](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sn4k3](https://forum.arduino.cc/u/sn4k3)\
**Post date:** [July 4, 2015, 7:26pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/5 "2015-07-04T19:26:59Z")

</div>

> PaulRB:  
> Easy. Just use 127 instead of 255 as the maximum pwm value for red, green & blue. That will halve the current to 30mA. Or max of 63 for max 15mA per led. The downside is you can mix fewer colours.
> 
> Doing any "multiplexing" in software would reduce the current by reducing the % of time that the leds are on. This is the same effect as using lower pwm values as I just suggested,
> 
> Paul

I already do that, but not with PWM, i set LED brightness to half, i suppose it do same effect cutting power to half?

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [July 4, 2015, 10:47pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/6 "2015-07-04T22:47:14Z")

</div>

> sn4k3:  
> I already do that, but not with PWM, i set LED brightness to half, i suppose it do same effect cutting power to half?

Yes you were using pwm. That is how ws2812 leds work. Their built-in chips are doing the pwm, not the Arduino. The Arduino is just sending the instruction/data.

PWM of 50% or 127/255 means the full 20mA flows to the led (the red, green or blue one) for half the time, so the average is 10mA.

---

<div class="post-metadata">

**Author:** ![CrossRoads](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/crossroads/32/214033_2.png) [@CrossRoads](https://forum.arduino.cc/u/CrossRoads)\
**Post date:** [July 5, 2015, 6:28am UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/7 "2015-07-05T06:28:08Z")

</div>

You can't "cut the power in half" , the WS2812s need 5V, you can't reduce that. If you try externally limit the current on the 5V supply line, the voltage will drop, and the parts will reset or who knows what.  
The best you can do is send a lower PWM value to each LED as has been suggested.

Read the datasheet - all operations are characterized from 4.5V to 5.5V.  
You can try dropping VCC down, to as low as 3.5V, but the input signals should not be allowed to exceed Vcc + 0.5V, same as for the Arduino uCs.

[WS2812B\_preliminary.pdf](https://forum.arduino.cc/uploads/short-url/lBenlJtlNvfKugaGuCBckMyRlWk.pdf) (347 KB)

---

<div class="post-metadata">

**Author:** ![dgarcia42](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@dgarcia42](https://forum.arduino.cc/u/dgarcia42)\
**Post date:** [July 6, 2015, 9:10pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/8 "2015-07-06T21:10:43Z")

</div>

You can also use fastled's power management code - some notes on it here [FastLED: power\_mgt.h Source File](http://fastled.io/docs/3.1/power__mgt_8h_source.html) - then you can set the maximum current that you want used and the library will dynamically adjust the brightness to keep you below that power maximum.

---

<div class="post-metadata">

**Author:** ![Pajik](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Pajik](https://forum.arduino.cc/u/Pajik)\
**Post date:** [August 27, 2016, 9:04pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/9 "2016-08-27T21:04:43Z")

</div>

Dear all.  
I have to say that the way you suggest to reduce current is not the best one.

The main issue is the same I have in my project. It is not important to redce brightness or some max brightness on each leds, but to reduce mian power source.

If you reduce max brightness to 127(or any lower value) you still have to count numbr of leds \* LED current as theoretical maximum of power consumption. What Sn4k3 wants(or I want) is to run it with 500mA power source 1000 of them. Means some has to be surrelly OFF and only some ON.

Therefor we are talking about multiplexing. This you can not do with simply reducing brightness....

I did some projects with MAX7219 and this device is ding exactly what we wants, only not with WS2812b ...

Any ideas now?  
Thanks Pavel

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [August 27, 2016, 11:01pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/10 "2016-08-27T23:01:58Z")

</div>

> Pajik:  
> Any ideas now?

Hi Pavel. You must understand that multiplexing and PWM both have the same effect, from the point of view of a single led. They both reduce the % of time that the current flows. Therefore the average current falls and the led is less bright. There is no magic that can keep an led as bright while the average current is less.

The PWM of many leds in a strip is not synchronised. They do not switch on and off together, so the power supply does not have to supply the full current at any point. Also you should always add a large value capacitor to a strip. The power supply will also have large capacitors. These caps can smooth the demand on the power supply itself by fulfilling any short term peaks in demand for current.

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [August 28, 2016, 2:24am UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/11 "2016-08-28T02:24:15Z")

</div>

> Therefor we are talking about multiplexing.

Do you mean having separate strips and show the pattern on only one strip at a time, but change what strip is showing quickly so as though it appears that all the strips are on?  
There are two things wrong with this:-

1. The PWM rate in the strips are slow so you can not turn them on an off that quickly. So you will see flicker on the strips.

2. The strips still end up being dimmer and use exactly the same amount of current on average as if you just reduced the brightness.

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [August 28, 2016, 6:27pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/12 "2016-08-28T18:27:13Z")

</div>

The drivers on these addressable LEDs are drawing current even when the LEDs are off. It's not so much compared to the current when they're active but certainly a major concern for a battery powered device that will sleep. You need to consider a way to cut power to the LEDs when not in use.

---

<div class="post-metadata">

**Author:** ![vinaruino](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@vinaruino](https://forum.arduino.cc/u/vinaruino)\
**Post date:** [November 18, 2016, 1:46pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/13 "2016-11-18T13:46:06Z")

</div>

hi,  
regarding ws2812b power consumption, i see on datasheed should be ~20mA/chan (R, G, B).  
But measuring with my multimeter, i see 1 led full brightness (R or G or B) is ~90/100mA.  
10 leds full brightness (single color) are just little more than 105mA.  
10 leds full white is less than 200mA.

i'm confused, can someone explain that?

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 18, 2016, 2:13pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/14 "2016-11-18T14:13:08Z")

</div>

What voltage are you running at?  
If there is any PWM going on then your simple meter will not give you an accurate reading. It is possible that even at "full" brightness the LEDs are not on continuously.

---

<div class="post-metadata">

**Author:** ![INTP](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@INTP](https://forum.arduino.cc/u/INTP)\
**Post date:** [November 18, 2016, 3:24pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/15 "2016-11-18T15:24:54Z")

</div>

There is no multiplexing in the conversation when talking about WS2812B addressable LEDs in a strip.

---

<div class="post-metadata">

**Author:** ![vinaruino](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@vinaruino](https://forum.arduino.cc/u/vinaruino)\
**Post date:** [November 18, 2016, 3:42pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/16 "2016-11-18T15:42:51Z")

</div>

i'm using 5V Vcc and Adafruit\_NeoPixel library, with simple example provided.  
Arduino Uno, separate 2A supply to drive LEDs.

---

<div class="post-metadata">

**Author:** ![CrossRoads](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/crossroads/32/214033_2.png) [@CrossRoads](https://forum.arduino.cc/u/CrossRoads)\
**Post date:** [November 18, 2016, 3:44pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/17 "2016-11-18T15:44:27Z")

</div>

There could be - you could send data so that only every third WS2812B was for example.  
So for a string of 12 for example:  
127,127,0 - this has 2 LEDs 1/2 on, say Red & Blue, so looks like dimmer purple  
0,0,0  
0,0,0  
127,127,0 - this has 2 LEDs 1/2 on, say Red & Blue, so looks like dimmer purple  
0,0,0  
0,0,0  
127,127,0 - this has 2 LEDs 1/2 on, say Red & Blue, so looks like dimmer purple  
0,0,0  
0,0,0  
127,127,0 - this has 2 LEDs 1/2 on, say Red & Blue, so looks like dimmer purple  
0,0,0  
0,0,0

Leave them on for a couple milliseconds, then do the same for the 2nd set, then the 3rd set.  
That'd cut the power by a bunch, and also the brightness.

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 18, 2016, 4:28pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/18 "2016-11-18T16:28:31Z")

</div>

> There is no multiplexing in the conversation

I don't think anyone said there was.

---

<div class="post-metadata">

**Author:** ![INTP](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@INTP](https://forum.arduino.cc/u/INTP)\
**Post date:** [November 18, 2016, 6:27pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/19 "2016-11-18T18:27:18Z")

</div>

Very first post, he asked if multiplexing was an option. I am answering part of his inquiry with an answer.

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 18, 2016, 7:28pm UTC](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007/20 "2016-11-18T19:28:46Z")

</div>

> INTP:  
> Very first post, he asked if multiplexing was an option. I am answering part of his inquiry with an answer.

The very first post was made on 04-07-2015, - the thread has currently been hijacked by vinaruino today.

[Next page](https://forum.arduino.cc/t/reducing-ws2812b-power-consumption/322007.md?page=2)
