Hi,
I am using a ULN2003A driver chip to power a RGB LED. I am using this chip and not transistors as I will possibly eventually be using more than one RGB LED and wish for the circuit to be able to supply the needed current.
I am using a microcontroller to create the different colours using PWM. I can get this to work correctly, if I connect the RGB LED directly to the microcontroller (obviously with resistors). The RGB LED is very bright as it should be.
To test the design I constructed a simple circuit which has the RGB LED connected to the output of the driver chip, and I then simply used wires to test each input of the driver chip and to see if it would light the LED correctly.
It does light the LED's, but unfortunately not as expected. Instead of nice bright outputs as before they are at least half the brightness (even though I'm using the same resistors, 330 Ohm) and the blue part of the LED instead is a sort of purple/violet colour.
I tried connecting the GND pin of the driver chip to ground, which resulted in the LED not lighting up at all.
Also, if I then connect the output of the microcontroller to the input of the driver chip, there's no sign of life in the LED's at all! How is that possible, even though the driver chip half lights the LED's when I directly connect the inputs to 5v?
The problem is probably because of my lack of understanding of the chip and electronics, and after looking on the internet I am even more confused as to how I should connect it.
Any help or advice would be appreciated!
Thanks,
Lloyd
Here is a picture of the circuit that I have made so far:
http://postimage.org/image/6a4vgdhxl/
And here is a picture of it while I was testing just the driver chip:
http://postimage.org/image/g5mkv1nmv/
I am using a ULN2003A driver chip to power a RGB LED. I am using this chip and not transistors as I will possibly eventually be using more than one RGB LED and wish for the circuit to be able to supply the needed current.
I am using a microcontroller to create the different colours using PWM. I can get this to work correctly, if I connect the RGB LED directly to the microcontroller (obviously with resistors). The RGB LED is very bright as it should be.
To test the design I constructed a simple circuit which has the RGB LED connected to the output of the driver chip, and I then simply used wires to test each input of the driver chip and to see if it would light the LED correctly.
It does light the LED's, but unfortunately not as expected. Instead of nice bright outputs as before they are at least half the brightness (even though I'm using the same resistors, 330 Ohm) and the blue part of the LED instead is a sort of purple/violet colour.
I tried connecting the GND pin of the driver chip to ground, which resulted in the LED not lighting up at all.
Also, if I then connect the output of the microcontroller to the input of the driver chip, there's no sign of life in the LED's at all! How is that possible, even though the driver chip half lights the LED's when I directly connect the inputs to 5v?
The problem is probably because of my lack of understanding of the chip and electronics, and after looking on the internet I am even more confused as to how I should connect it.
Any help or advice would be appreciated!
Thanks,
Lloyd
Here is a picture of the circuit that I have made so far:
And here is a picture of it while I was testing just the driver chip:
http://postimage.org/image/g5mkv1nmv/