Go Down

Topic: Drive 16 LEDs with one I/O line (Read 977 times) previous topic - next topic

Graynomad

Here's an interesting circuit.

http://www.edn.com/design/power-management/4368093/Drive-16-LEDs-with-one-I-O-line

Given that we're always being asked how to control the world with the only remaining pin on a processor. Of course the title should say "Drive 16 LEDs with one I/O line and two chips".

Personally I'd rather use three pins and drive SRs in the normal manner, as this seems to rely on the capacitance of the inputs and the PCB, but it's interesting none the less.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

dhenry

It is an old trick, from 1950s as far as I can tell. It relies on the capacitance on the line to hold the data bit while changing the clock bit.

For more reliable operations, you may want to increase the capacitance.

Docedison

It's hard following an act like our resident expert's babbling but the other similar applications as well as that one are most interesting... Now I hope for *dhenry* to tell us how he PWM'd them ... on the same wire, all 64 cascaded...

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Docedison

What I 'think' is, he was trying to point out that other clocking rates might be used and if so it would be necessary to 'scale' the reset capacitor by the proportionate difference in clocking rates... keeping the basic protocol identical. Poor little Guy, I guess he got tongue tied.

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

dhenry

By the way, you can stack multiple r/c filters together to drive multiple lines with one pin, using this approach. It is just the transmission times becomes exponentially longer.

Go Up