# Can a transistor array supply current to a single LED using multiple outputs pins?

Can a transistor array supply current to a single LED using multiple outputs pins? In the following 5 volt circuit, an LED is connected to two outputs of a M54561P current supply transistor array. The configuration is intended to render two different brightness levels from the LED (1 triggered, or 1 & 2 triggered). Will this circuit function, or will current flow back into the array (through the output clamping diodes maybe) if only input 1 is triggered? simulate this circuit – Schematic created using CircuitLab

• Looks like it will work. – mkeith Apr 12 '16 at 6:01
• By the way, thank you for including a schematic with reference designators and part numbers. – mkeith Apr 12 '16 at 6:02
• I suggest using different resistor values. Power dissipation will be different on each resistor, but then you have way more brightness levels. – Wesley Lee Apr 12 '16 at 6:04

Yes. You have a proper understanding of how it will work. When both outputs are enabled, the two 500 ohm resistors will be in parallel, working like a single 250 ohm resistor, and the current will increase appropriately.

• No, the U-I curve is not linear, so the current is not proportional to the voltage. – Simon Richter Apr 12 '16 at 6:07
• @SimonRichter: This is nitpicking. Given the example in your own answer the voltage over any resistor will only change by 1.5% to 3% depending whether you half or double the nominal current of 20 mA. So the current is in a close linear relationship to the effective conductance of the used resistors. – Ariser Apr 12 '16 at 10:57

May I suggest the following? simulate this circuit – Schematic created using CircuitLab

Then instead of 2 levels: 250R and 500R

You get 3: ~260R, 430R, 670R

Of course you'd have to adjust the resistors for the respective power ratings of the components and the brightnesses you want but.. This way you get a bit more versatility for "free".

• Although my example was valid, I agree that your design describes a more effective system. – Hoytman Apr 12 '16 at 16:12

You'd essentially only create a switch between two different resistor values.

If full brightness is 20mA at 2V, this means 500 Ohms is correct for a supply voltage of 12V, and R1 drops 10V. If you'd switch R1 and R2 in parallel, you'd end up with 250 Ohms, which is way too small, and the magic smoke will escape.

If you increase the resistor values, e.g to 1kOhm, full brightness would work, but with only one of the outputs active, the LED would be rather dim, because the U-I curve is not exactly linear.

You can use two different resistor values to try to reach a sensible setting, but that doesn't address manufacture tolerances, and values that work for one LED may not even lead to discernible differences in brightness for another.

Ideally, you'd try to pulse the LED to dim it. If the control is set by a microcontroller, it may have PWM logic that can generate pulses on its own already.

• You are right, U-I curve is far from being linear. But this does not mean, you cannot control the output power approximately linear. In fact, if you reduce the current through the LED by 50%, output radiation will drop by nearly 50%, deviations depending on droop and TDP of the die. – Ariser Apr 12 '16 at 8:18
• Right, so the resistor values need to be chosen so that one of them can be used for 50% current, and both together for 100%. – Simon Richter Apr 12 '16 at 10:35
• This will be achieved with a close approximation with 1 kOhms for both. – Ariser Apr 12 '16 at 10:58
• I edited the question to focus on a 5 volt system – Hoytman Apr 12 '16 at 17:13
• In a 5V system, you need smaller resistors. – Simon Richter Apr 12 '16 at 19:04