Hi
I am using a tri-color LED with 2 anodes and 1 cathode. If both anodes are high , then 3rd color will glow.
This LED must be controlled by a single GPIO or two GPIO pins of Microcontroller card.
But here in this case, the LED operating voltage is 12V DC, but MCU GPIO Pin voltage is 3.3V which cannot drive 12V LED. I used a N-channel FET , NPN transistor for driving the LED by connecting LED to emitter or source pin of transistor.
Below I attached the circuit which I have used, the problem here I have faced is the same base voltage is coming at Emitter pin which acnnot drve the 12V LED.
Can anyone suggest a circuit to drive the 12V Tricolor LED with common cathode which is controlled by a PIC controller.
For driving 12V single color LED, I have used ULN2003 IC as s driver to glow 12V LEDs. But in the case of tricolor LED with common cathode, the connections are different . where I should connect the single cathode for driving tricolor LED. The common cathode cannot be connected to 2 outs of ULN2003. Please suggest me any solution for this.
I am using a tri-color LED with 2 anodes and 1 cathode. If both anodes are high , then 3rd color will glow.
This LED must be controlled by a single GPIO or two GPIO pins of Microcontroller card.
But here in this case, the LED operating voltage is 12V DC, but MCU GPIO Pin voltage is 3.3V which cannot drive 12V LED. I used a N-channel FET , NPN transistor for driving the LED by connecting LED to emitter or source pin of transistor.
Below I attached the circuit which I have used, the problem here I have faced is the same base voltage is coming at Emitter pin which acnnot drve the 12V LED.
Can anyone suggest a circuit to drive the 12V Tricolor LED with common cathode which is controlled by a PIC controller.
For driving 12V single color LED, I have used ULN2003 IC as s driver to glow 12V LEDs. But in the case of tricolor LED with common cathode, the connections are different . where I should connect the single cathode for driving tricolor LED. The common cathode cannot be connected to 2 outs of ULN2003. Please suggest me any solution for this.
Attachments
-
1.9 MB Views: 27