I would like to use a Basic Micro to turn on and off 51 LED's in sequence.

J

joe dokes

Jan 1, 1970
0
I would like to use a Basic Micro to turn on and off 51 LED's in sequence.

I need to control the on time from one to 4 seconds can any of the
sequencers published for use as clocks be adapted for this project. I
already use a Basic Micro to control a camera and another micro computer
interface which turns on photo strobes via a computerized controller which I
would like to replace with the LED's meaning the high voltage strobes will
be replaced by LED's. Safety is my goal for easy operation.
Any and all thoughts needed and wanted
Thanks for any input
Dave Belgard

[email protected]
 
B

BobG

Jan 1, 1970
0
joe said:
I would like to use a Basic Micro to turn on and off 51 LED's in sequence.
==============================================
7 HC595s in series on an SPI bus or just 2 outputs would do it. $3.50
solution.
 
J

Joerg

Jan 1, 1970
0
Hello Bob,
==============================================
7 HC595s in series on an SPI bus or just 2 outputs would do it. $3.50
solution.

Or use seven 74HC164 and save a buck ;-)
 
B

BobG

Jan 1, 1970
0
Joerg said:
Hello Bob,
Or use seven 74HC164 and save a buck ;-)
========================================
Possible downside to 164s... no output enable, so you can see the data
shifting in as dim lighting. Solution.... shift real fast, to minimize
effect
 
B

Bill Bowden

Jan 1, 1970
0
BobG said:
========================================
Possible downside to 164s... no output enable, so you can see the data
shifting in as dim lighting. Solution.... shift real fast, to minimize
effect

Another idea is to use two 4017 decade counters in a matrix
arrangement. That will sequence up to 100 LEDs with 2 chips plus
oscillator. LED current would be low at 3 or 4 milliamps, so you might
add a few buffer transistors for more brightness.

-Bill
 
C

Chris

Jan 1, 1970
0
BobG said:
==============================================
7 HC595s in series on an SPI bus or just 2 outputs would do it. $3.50
solution.

If you're talking about a BASIC Stamp 2, SHIFTOUT is made specifically
to shift serial data out, using the clocking capabilities of the '595.
It's so easy to do -- just a few instructions, and you're done. Other
BASICs also have similar instructions.

Good luck
Chris
 
J

Joerg

Jan 1, 1970
0
Hello Bob,

Possible downside to 164s... no output enable, so you can see the data
shifting in as dim lighting. Solution.... shift real fast, to minimize
effect

Yes, you have to shift fast. However, with modern uC it should be no
problem to serially blast out seven bytes at a few hundred kbit/sec. Or
even a cool Mbit/sec.
 
Top