Hi all,
I'm using PIC PortB outputs to drive the inputs of a ULN2803A 8-network Darlington array, each output of which is connected to a LED and series resistor to +5V. A simple diagram schematic is attached.
The problem I am having, as you hopefully can see in the animated diagram, is that the brightness level of the LEDs as a group drops slightly for every extra LED that is turned on. This is not normally noticeable to the eye at the full 5V as the brightness level remains sufficiently bright not to notice. However, if you use PWM to reduce the brightness of the bank of LEDs to say the 20% level (via extra circuitry not shown), you can definitely notice the drop in brightness for each extra LED turned on by the PIC. (A similar effect can be noticed when a limiting resistor is inserted after the 5V input, say a value of 1K, to produce a similar dimming level rather than using PWM.)
Could someone please suggest a reason why this might be happening and perhaps offer a solution to this? I've tried replacing the ULN with a bank of BCX38Bs transistors but the same result remains. I've also changed the LED supply voltage from 5V to 9V, again the LEDs all dim as a group when an extra one is lit up.
Puzzled.
Chris
(I've exaggerated the drop in brightness in the diagram for clarity)
**broken link removed**
I'm using PIC PortB outputs to drive the inputs of a ULN2803A 8-network Darlington array, each output of which is connected to a LED and series resistor to +5V. A simple diagram schematic is attached.
The problem I am having, as you hopefully can see in the animated diagram, is that the brightness level of the LEDs as a group drops slightly for every extra LED that is turned on. This is not normally noticeable to the eye at the full 5V as the brightness level remains sufficiently bright not to notice. However, if you use PWM to reduce the brightness of the bank of LEDs to say the 20% level (via extra circuitry not shown), you can definitely notice the drop in brightness for each extra LED turned on by the PIC. (A similar effect can be noticed when a limiting resistor is inserted after the 5V input, say a value of 1K, to produce a similar dimming level rather than using PWM.)
Could someone please suggest a reason why this might be happening and perhaps offer a solution to this? I've tried replacing the ULN with a bank of BCX38Bs transistors but the same result remains. I've also changed the LED supply voltage from 5V to 9V, again the LEDs all dim as a group when an extra one is lit up.
Puzzled.
Chris
(I've exaggerated the drop in brightness in the diagram for clarity)
**broken link removed**