Driving and protecting 4 RGB LEDs
Posted: Mon Nov 05, 2018 11:54 am
Hi all,
I have a pretty basic requirement for a small project, but have come across a new problem to me.
I'm using an Adafruit Huzzah32 board, and need to connect up 4x 5mm RGB LEDs. I do not need to control them independently - they will always be the same colour/brightness as each other (so effectively you can treat it as 1 RGB LED that draws up to say 150mA). It will be powered by a 3.7v lithium battery.
The ESP32 isn't capable of driving 150mA, so that's the first problem I need to solve.
However, the main issue I have is that in this specific case I have to assume these LEDs will get physically smashed and short out. So for example, 1 of the 4 LEDs will suffer an impact that shorts one or more of the anodes to the cathode. When this happens, the ESP32 should just carry on as if nothing has happened, continuing to drive the remaining 3 LEDs. The broken LED will then be replaced on the fly.
Has anyone got any suggestions on how to do this?
Thanks,
stooshie45
I have a pretty basic requirement for a small project, but have come across a new problem to me.
I'm using an Adafruit Huzzah32 board, and need to connect up 4x 5mm RGB LEDs. I do not need to control them independently - they will always be the same colour/brightness as each other (so effectively you can treat it as 1 RGB LED that draws up to say 150mA). It will be powered by a 3.7v lithium battery.
The ESP32 isn't capable of driving 150mA, so that's the first problem I need to solve.
However, the main issue I have is that in this specific case I have to assume these LEDs will get physically smashed and short out. So for example, 1 of the 4 LEDs will suffer an impact that shorts one or more of the anodes to the cathode. When this happens, the ESP32 should just carry on as if nothing has happened, continuing to drive the remaining 3 LEDs. The broken LED will then be replaced on the fly.
Has anyone got any suggestions on how to do this?
Thanks,
stooshie45