Question:

How do I make A 4017's Sequentially, From 0 to 10, But the leds stay on, then go off.?

by  |  earlier

0 LIKES UnLike

The 4017 is a decoded counter with 10 outputs. Only one output is active at a time. Is there A way with A latch or other ic chip, hooked up to the 4017 outputs, that when the output comes around it would switch on one led at A time (0 to 10 one at A time on and keep on). Then switch them off when it starts at 0 (0 to 10 off one at A time and keep off).

 Tags:

   Report

2 ANSWERS


  1. that is a very complex circuit to design and build. i can tell you how to do it or tell you that is exactly the design and function of the "74164 8-bit serial-in, parallel-out shift register".  you will need to add logic to generate the "overflow bit" that cascades from register to register. 74164 does not store data. it must change every clock pules so only trigger the one with changing data. overflow bit--- use a S-R flip-flop tied to D12 and D13 to  create an overflow bit. every overflow bit, move one register, every 2 jump to the first. to count the overflows-- pulse  a counter that you are familiar with. because it is a 8bit register it will be easier to make it count to 16 than it would to count to 10

    datasheet:

    http://www.alldatasheet.com/datasheet-pd...

    to perform the exact function you described above:

    1)cascade (2) 74164s in parallel. tie Dsa&Dsb together to make D

    2)turn on. set D=1

    3)trigger master reset to set all Qs=0

    4)send ten pulses.

    5)set D=0

    6)send ten pulses

    7) repeat in order of 2,4,5,6 until your heart is content.

    logic table:

    0 0 0 0 0 0 0 0 0 0

    1 0 0 0 0 0 0 0 0 0

    1 1 0 0 0 0 0 0 0 0

    1 1 1 0 0 0 0 0 0 0

    1 1 1 1 0 0 0 0 0 0

    1 1 1 1 1 0 0 0 0 0

    1 1 1 1 1 1 0 0 0 0

    1 1 1 1 1 1 1 0 0 0

    1 1 1 1 1 1 1 1 0 0

    1 1 1 1 1 1 1 1 1 0

    1 1 1 1 1 1 1 1 1 1

    0 1 1 1 1 1 1 1 1 1

    0 0 1 1 1 1 1 1 1 1

    0 0 0 1 1 1 1 1 1 1 ETC.....

    sound a little easier??

    consider buying this book, it is nothing but general data on 74xx, 40xx and linear devices. http://www.alibris.com/search/books/qwor...

    it is $13 and it took me 2 minutes to find out what you needed. once you get used to using it, there is nothing better. beware of typos. once i locate what i need with the general info it supplies i always use the data sheet from the manufacture. i get them here:

    http://alldatasheet.com/

    EDIT: it can be done with the 4017 if you add a D style flip-flop behind the outputs of the counter to act as a data buffer. you will need to store the data for ten clock cycles. the 4017 outputs reset every clock cycle. you will need to build a with a mux that controls which flip-flop is being loaded. that is a minimum of 7+ chips. this is called a serial load logical shifter.


  2. This is a very confused question, and I'm having trouble understanding what your problem is.

    The 4017 is a decoded counter with 10 outputs. Only one output is active at a time. That's the way it works.

    "keep them on, tell the next signal comes by. Then switching them off. When the next signal comes by"

    I really don't have any idea what this means. It seems you want more than one output on at a time, which the 4017 won't do, but exactly what do you want on when? Do you want the inverse, all outputs on but one? then you just want 10 inverters between the 4017 and the LEDs.

    Why don't you try rewriting this in clear english, and I'll be glad to help.

    edit:

    "Is there A way with A latch or other ic chip, hooked up to the 4017 outputs, that when the output comes around it would switch on one led at A time (0 to 10 one at A time on and keep on). Then switch them off when it starts at 0 (0 to 10 off one at A time and keep off)"

    What I think you are saying is: for outputs 0 thru 9:

    0 1 2 3 4 5 6 7 8 9

    1 0 0 0 0 0 0 0 0 0

    1 1 0 0 0 0 0 0 0 0

    1 1 1 0 0 0 0 0 0 0

    1 1 1 1 0 0 0 0 0 0

    1 1 1 1 1 0 0 0 0 0

    1 1 1 1 1 1 0 0 0 0

    1 1 1 1 1 1 1 0 0 0

    1 1 1 1 1 1 1 1 0 0

    1 1 1 1 1 1 1 1 1 0

    1 1 1 1 1 1 1 1 1 1

    0 0 0 0 0 0 0 0 0 0

    1 0 0 0 0 0 0 0 0 0

    etc

    is this the sequence you are after?

    You can't do that with a 4017.

    You can do it with a bunch of SR latches, set by the output of the 4017, and cleared by an all zero state. You need 10 SR latches, and connect the set of each to an output of the 4017. Connect the resets all together and tie that to an output of a 10 input OR gate (actually a low true input AND gate with a low true output), with it's 10 inputs tied to the 10 outputs of the 4017. Or it may be possible to reset the latches from some other signal, and save the large 10 input gate.

    .

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.