APA102s are really bright! Even on the lowest setting (brightness 1 out of 255). Anyway to make them dim even further? I need a dim setting for an alarm clock.
Thanks!
Are you currently displaying white? Maybe try just red or a reddish color?
Are you going to diffuse the pixels at all? If so that will cut the amount of light down further, perhaps a lot depending on what you choose.
Thanks @marmil . I will be putting some darker acrylic over the top and can use other colors. Just wondering if I could digitally dim them.
I don’t think there is a way to go below brightness value of 1. My suggestion would be to darken things with diffusion.
Gotcha. Thanks again.
Apa102 LEDs have a global brightness control setting you can use to reduce brightness by another 5 bits. I talk about it a bit in this long thread and have some code. Also look for the cpldcpu link for more in depth details.
I’m a backer of your matrix panels by the way, cool design! http://community.particle.io - SmartMatrix APA102 Library / Open Hardware Photon APA102 Shield - Libraries - Particle
I’ll throw one other thought out here. I’ve found that some patterns/animations tend to start pulsing/stuttering/having very apparent brightness stepping at very low brightness values. For this reason I prefer to use higher brightness values and darken if needed with diffusion, so when I do darken things down I still get smooth animations.
@Louis_Beaudoin , Hey!! Thanks for your support! I’ll definitely check out your brightness control. Do you think it could be used in conjunction with FastLED?
You can’t use GBC without modifying the FastLED library code. I’m not exactly sure where in the FastLED code to change it, but you need to change the first 0xFF byte shifted out per LED to be (0xE0 | your_gbc_value). It’s a bit of a hack for now.
It’s likely this line of code or somewhere slighly below:
More details here: control global brightness on APA102 (and other chip supporting it) · Issue #91 · FastLED/FastLED · GitHub
@Justin_Shaw If you want to overload FastLEDs colour system have a look at my color rendering system https://github.com/leonyuhanov/rpi_apa102driver/blob/master/spi.cpp Look specifically at the getColour() Function. It allows you to set a maximum byte value and returns a color based on a scale form 0 to 6XmaxVlaue as represented by a rainbow
Thanks @Leon_Yuhanov and @Louis_Beaudoin . I’ll let you know any progress I make on this.
@Justin_Shaw - I’m super familiar with the APA102 FastLED code. @Louis_Beaudoin 's hack should be easy enough and I’ll help you.
Also… what voltage are you running the LEDs at? You can always just run at 3.5v or something.
Sweet. This is for a sunrise clock, so need full brightness too.
