Shift Register w/Driver

--- That won't work because if you use "4" to both reset the counter and pull the serial input of the shift register high, "4" will go low as soon as the counter is reset and there won't be anything to clock into the shift register when the next 555 clock comes along. :-(

What _will_ work is if you connect the counter's "0" output to the shift register's serial input and reset the counter with one of the other counter outputs.

For instance, if you wanted to have every 4th LED lit, you'd connect "0" to the shift register's input and "3" to the counter's RESET pin.

Want every third one lit? Connect "2" to RESET, and so forth.

Here's the timing for every fifth LED lit. (3 unlit LEDs between the lit ones. View in Courier)

_ _ _ _ _ _ _ _ _ _ _ _ CLK _| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| | ___ ___ ___ "0" _| |___________| |___________| |_________ ___ ___ ___ "1" _____| |___________| |___________| |_____ ___ ___ ___ "2" _________| |___________| |___________| |_ ___ ___ _ "3" _____________| |___________| |___________|

"4" _________________|_______________|_____________

_ _ _ _ _ _ _ _ _ _ _ _ CLK _| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| | ___ ___ ___ SIN _| |___________| |___________| |_________ ___ ___ ___ QA_______| |___________| A |___________| A |_____ ___ ___ ___ QB___________| |___________| B |___________| |_ ___ ___ _ QC_______________| |___________| |___________| ___ ___ QD___________________| |___________| |_________ ___ ___ QE_______________________| E |___________| E |_____ ___ ___ QF___________________________| F |___________| |_

CLK is the 555 clock; I've just shown it twice to make it easier to see the timing.

--- JF

Reply to
John Fields
Loading thread data ...

Ok. The 4017 would have been fine for the single pattern, but with multiple patterns you need more, or different, than just it alone. John Fields will probably post a full schematic, once the requirements are clear. :-) I see where he has already mentioned one possible chip.

As to your question about the Panasonic LN21CPH LED at 20 mA, that's the test current. It will work over a wide range of current, from around 1 mA to a maximum of 25 mA, per the datasheet. The more current a LED gets, the brighter it is. I usually run LEDs a lot lower than maximum. Likely less than 10 mA would be plenty bright enough for me using that LED. YMMV

Ed

Reply to
ehsjr

it

I

of

or

d a

...

...

at

er.

o.

Sorry for being slow on this reply.

Supply Voltage: 12v LED: LN21CPH Resistance 1200 - 1500 ohms (~6 - ~8 mA w/1 LED per leg) Shift Register: TPIC6B595 Timer: 555 Counter: 4017 (need recommendation)

I know I originally stated the I wanted 2 LEDs per leg and still do, preferably in parallel (So I don't have to run a lot of wires to make them series). But I can solve that after I get the first part bread-boarded and working. Probably still need to run the LED(s) from driver ?

Thanks

Reply to
sid

d it

; I

he

h of

for

ind a

_2...

_2...

that

ster.

do.

or

nt

e

John, Thanks for pointing out that issue with the timing, I did not foresee it.

Reply to
sid

--
You're welcome; my pleasure. :-)
Reply to
John Fields

:

ade

feed it

n.

hip; I

t the

unch of

er

for

ind a

001_2...
001_2...

that

set

it,

ster.

3

it

ply

do.

or

o

ts

nt

the

I wanted to thank everyone that posted. I ordered the parts and will get it wired up and post back.

Thanks for the help.

Reply to
sid

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.