It is about an arduino uno driven binary clock.
The LEDs in question are 1W, 350ma, 3.2V forward-voltage high power LEDs. They are driven by arduino output pins using 2N2222 NPN transistors.
I am using a 5V external power supply to power those LEDs. The biggest number of LEDs which turn on at once is 9 LEDs. So, 9 x 350ma=3.15 amp. The power supply is capable of putting out 4 amps. I tested the power supply by putting load on it and it was putting out approximately 4 amps. So, it should be OK.
I realize that these LEDs require a constant current source. So, I have connected them according to the following diagram:
I am using 2 transistors to allow for constant current. The right transistor is the main transistor through which the main current passes and lights up the LED. When the current rises, some of the current is diverted to the base of the left transistor which in turn takes away some current from the base of the right transistor thus creating a feedback loop.
I am using 5V because I have had more success with it. In my previous project, I was using 3.45 V, but I was getting some flickering. So, I am using 5V this time to eliminate the possibility of thermal runaway. I think 0.7 V gets used up by the right transistor and the remaining 1.1 V is used for the current limiting circuit. Or the other way around.
Anyway, the issue is that, despite my efforts to level out the brightness of LEDs, some of the LEDs are brighter than others. The difference is NOT like 200% but it is quite noticeable. So, I was thinking may be, the power supply is not providing enough current, but the thing is that, even when I have 1 or 2 LEDs on, the brightness does not change for those weaker LEDs. I am not sure why it is the way it is.
Isn't the constant current setup supposed to level out the brightness? Additionally, how would this type of circuit behave if there was not enough current for the system? Would it divide the current equally between the LEDs or would it supply some of them at maximum output and leave the others running at half power?
Additionally, in the process of painting my project, I had masked one of the LEDs with a small piece of duct tape and when I was done with painting, I started to remove those duct tapes. But for one of the LEDs, the little transparent plastic cover came off with the duct tape. I pushed it back in. Would that cause a problem in the long run?
Any input will be highly appreciated.
Cheers.