[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Plum Geek Forum • Power use of LEDs - some observations
Page 1 of 1

Power use of LEDs - some observations

Posted: Mon Feb 12, 2018 1:58 am
by gpvillamil

Re: Power use of LEDs - some observations

Posted: Mon Feb 12, 2018 2:02 am
by esba1ley
Very astute observation. For power consumption purposes, capping the values of the NeoPixels to 127 is a really good idea. I'm not sure if it quite cuts power consumption in half... but it gets close. There may be some color shifting, though, because our eyes are more sensitive to some colors (greens and yellows, in particular). At some point if we REALLY want to get anal about this, we should do some sort of perception/calibration on only using half of the range... and we may want to cap reds and blues at a higher number than the greens, since our eyes are more sensitive to the green hues.

Re: Power use of LEDs - some observations

Posted: Mon Feb 12, 2018 2:31 am
by gpvillamil
I’m thinking of modifying SetPixelRGB to map incoming values to a range set by a constant somewhere, so that you can manage overall brightness for all sketches in one place.

Good point about calibrating the color channels to different values, though the rainbow chase does look plenty vibrant!