I’ve 36 leds on my board. I’ll connect dimmer my board. How can i adjust leds brightness with dimmer? Because i need to manage 36 output pins. How can i do it?
I’ve 36 leds on my board. I’ll connect dimmer my board. How can i adjust leds brightness with dimmer? Because i need to manage 36 output pins. How can i do it?
Read less
You can DMA to the io pins (using a indirect buffer, transferring to GPIO output register). I controlled 48 Leds (16 RGB Leds) this way using a STM32L4(100 LQFP package). But this was to give independent brightness situations to each individual Led. But if all Leds are dimmed together (synchronised)Read more
You can DMA to the io pins (using a indirect buffer, transferring to GPIO output register). I controlled 48 Leds (16 RGB Leds) this way using a STM32L4(100 LQFP package). But this was to give independent brightness situations to each individual Led.
But if all Leds are dimmed together (synchronised), also you probably only need a single FET to sink all the Leds current, and use that FET to control the brightness (PWM)
See less