Maker Pro
Maker Pro

4017 ?

bigkim100

Apr 17, 2013
270
Joined
Apr 17, 2013
Messages
270
Is there a way to have a 4017 (driven by an oscillator) to illuminate LEDs from 1-10, or the same LEDs from 10-1 depending on the hi-low output of a 555 timer?.
So if a 555 is timing, the leds from the output of a 4017 are illuminating in sequence from 1 to 10
If the 555 is in standby, the same leds are illuminated in sequence from 10 to 1
The expalianation of ths s difficult, but I can answer further questions.
Thanks
 

crutschow

May 7, 2021
786
Joined
May 7, 2021
Messages
786
You could use four CD4053 triple two-input analog multiplexer switches at the 4017 outputs.
Connect all the mux "x" inputs in 1-10 sequence and the mux "y" inputs in 10-1 sequence.
Then use the 555 output to select either the "x" inputs or the "y" inputs to invert the sequence at the mux outputs.
 

crutschow

May 7, 2021
786
Joined
May 7, 2021
Messages
786
You might be able to save a chip if you instead use three quad CD4019 AND/OR select gates instead of the CD4053 mux, but it does require both the 555 output and it's inverted output to control which input is selected, which may require an inversion gate.
 

bigkim100

Apr 17, 2013
270
Joined
Apr 17, 2013
Messages
270
You might be able to save a chip if you instead use three quad CD4019 AND/OR select gates instead of the CD4053 mux, but it does require both the 555 output and it's inverted output to control which input is selected, which may require an inversion gate.
I would like to thank EVERYONE for their useful help. I have decided just to use steering diodes to do the job, as its quick and easy.
 

danadak

Feb 19, 2021
673
Joined
Feb 19, 2021
Messages
673
If you do not know how to program consider getting into block programming.

Here you could use a Nano Board, 2-3 dollars, to do the design.

1667952849208.png


Here is the block [programming. Right hand window you drag and drop blocks into it and
configure them, like what pin to set / clr, mBlock is the free program to do this. Once you'
config mBlock converts this to Arduino code and programs the board. Lots of fun. If you have
been using a 4 function calculator in your life you have actually been doing programming
basics. Kids in 6'th grade programming robots with this.

1667952795554.png

If you want I can add more comments to the blocks so you can follow what is going on.

So just the board, resistors for leds, leds and you are in business. Note I made one pin
the input pin to control direction of leds being lit, left to right or right to left.

Regards, Dana.
 
Last edited:

bigkim100

Apr 17, 2013
270
Joined
Apr 17, 2013
Messages
270
OK4017 up.jpg4017 down.jpg I did get my 4017 ripple travelling up and down, as per the pics
Ok, Ok, its a bit of a cheat, but one of the things that I have learned is that 30 years in the film business....cheats are the best!!
 

bigkim100

Apr 17, 2013
270
Joined
Apr 17, 2013
Messages
270
So what's the cheat, and how does it work?
Oh, Didnt think of that , while I was taking a victory lap, naked, around the block (I have VERY understanding Neighbors!).
all I did was, instead of having 10 leds doing 0 to 10, I have 2 sets of 5. the one set of 5 does 1 to 5, the second set does 10 to 6, simply by wiring the second set of outputs 10 to 6, 9 to 7, 8 to 6, and so on.
Its kinda hard to explain, but thats it.
Stick that in your microcontroller and smoke it!! (that wasnt as logical a burn as I wanted it to be, but you get the inference)
Thanks for the interest!
 

danadak

Feb 19, 2021
673
Joined
Feb 19, 2021
Messages
673
The micro suggestion is just that, a suggestion, not your enemy. I encourage people
to work at their own pace, from their own experiences, for their own joy. Especially
if its a one off hobby activity.

Forum contributors have an implied responsibility, to show current technology and
whats possible. To do otherwise is, in my opinion, a dereliction of duty, especially at
the professional level. We also are biased, there are some that use 30+ year old micro
technology and wont part with it, does not make them bad people. I work with people
that wont/cant part with vacuum tubes as solutions, the earth will not stop rotating because
of it. Life is short, enjoy your approach and know that there is almost always better
technology and solutions, which makes education (one of the best & cheapest pastimes)
a continuing and enjoyable experience.

In closing if you are asked to make that a multiple pattern solution, in a handful of minutes
code changes make that possible, or if you want the blink rate not to vary all over the map,
or you want rate/pattern controlled by a sensor micros make that a snap. And for those
who are new to programming block languages excellent first touch method, thats why
kids in school these days started with that.

This is not a burn, its an invitation to get in the game, its awesome fun.


Regards, Dana.

PS : By the way, if you do a lot of multiple LED builds, get some SIP packaged resistor arrays,
cut your wiring time down significantly. I keep 220 ohm arrays on hand for that purpose.
For 10 - 20 ma led applications, driven by micro.
 

bigkim100

Apr 17, 2013
270
Joined
Apr 17, 2013
Messages
270
The micro suggestion is just that, a suggestion, not your enemy. I encourage people
to work at their own pace, from their own experiences, for their own joy. Especially
if its a one off hobby activity.

Forum contributors have an implied responsibility, to show current technology and
whats possible. To do otherwise is, in my opinion, a dereliction of duty, especially at
the professional level. We also are biased, there are some that use 30+ year old micro
technology and wont part with it, does not make them bad people. I work with people
that wont/cant part with vacuum tubes as solutions, the earth will not stop rotating because
of it. Life is short, enjoy your approach and know that there is almost always better
technology and solutions, which makes education (one of the best & cheapest pastimes)
a continuing and enjoyable experience.

In closing if you are asked to make that a multiple pattern solution, in a handful of minutes
code changes make that possible, or if you want the blink rate not to vary all over the map,
or you want rate/pattern controlled by a sensor micros make that a snap. And for those
who are new to programming block languages excellent first touch method, thats why
kids in school these days started with that.

This is not a burn, its an invitation to get in the game, its awesome fun.


Regards, Dana.

PS : By the way, if you do a lot of multiple LED builds, get some SIP packaged resistor arrays,
cut your wiring time down significantly. I keep 220 ohm arrays on hand for that purpose.
For 10 - 20 ma led applications, driven by micro.
Again, you have a 1 way of doing things. and obviously your mind is closed. All you need is a protoboard to change your circuit quite quickly. With simple wiring changes you can get a astable, monostable, frequency generator, missing pulse monitor...the list goes on and on, with only a handful of components wire, and a protoboard. Its you that honestly must open your mind.
 

danadak

Feb 19, 2021
673
Joined
Feb 19, 2021
Messages
673
Again, you have a 1 way of doing things. and obviously your mind is closed. All you need is a protoboard to change your circuit quite quickly. With simple wiring changes you can get a astable, monostable, frequency generator, missing pulse monitor...the list goes on and on, with only a handful of components wire, and a protoboard. Its you that honestly must open your mind.

With the zest you have for more knowledge I know of a chip that is effectively its own
protoboard.

Here is whats in it (for open minds) :

1668112645947.png

In many cases multiple copies of them. And you can wire it up internally and or out to pins.

Enjoy.


Regards, Dana.

PS : Whats that old accurate phrase it takes one to know one all about ?
 
Last edited:

danadak

Feb 19, 2021
673
Joined
Feb 19, 2021
Messages
673
The closed mind thing you like accusing me of, if I recall I gave you in another post
several docs on the 555 Timer to add to your library.

That must be the act of a closed minded person apparently in your
world. I stand corrected, I am guilty as charged.


Regards, Dana.
 
Top