#### CaptainPrice

Joined Aug 12, 2009
49
So heres what I want:

When output 1 goes high LED1 goes on.
When output 2 goes high both LED1 and LED2 goes on.
When output 3 goes high LED1 & LED2 & LED3 goes on.

what Im stumped on is that output2 would short with output1 (cause when output2 is hi all other are low (right?)).
How can I wire this up?

Thanks. Ive been puzzling with this for hours...

#### SgtWookie

Joined Jul 17, 2007
22,210
Unfortunately, steering diodes don't work so well with this problem, as the voltage drop across the diodes is cumulative, and the current requirement exceeds the capacity of a 4017 to supply it.

I came up with a solution using AND gates awhile back... now to track down where I put it...

[eta]
Oh yeah, here:

Bernard came up with this circuit:

It will work OK if you just have a few LEDs to light and are running from 12v. The ULN2004 has a pretty high input resistance (~10.7k Ohms), but even then after cascading three or so you'll be about out of current to supply the inputs.

Last edited: