16-Stage Decade Counter Chain - Using Two 4017 Chips





Introduction: 16-Stage Decade Counter Chain - Using Two 4017 Chips

I found a way to easily make a decade counter that has more outputs than just 10.

Objective and Motive:
I really like how binary counters can link together in chains. For example, if you have two 8-stage binary counters, you can use them together to easily make a 16-stage binary counter.
I always wanted to do that with decade counters. And today I found a way to do this!

Step 1: Gather the Parts


• lots of jumper wires
• two 4017 decade counters
• one 555 timer
• two 0.1 µF capacitors (#104)
• one 10 µF capacitor
• one 1 nF   capacitor (#102)
• five 10KΩ (or anything between 4.7kΩ and 22kΩ)
• three N-channel mosfets
• one switch
• one or two breadboards
• one 5V power supply

With these in hand, you should be ready to make a 16-stage decade counter!

Step 2: Examine the Schematic

Take a look at this schematic to see how the components fit together.
You can click on the schematic picture to see a full-size version.
The 16 green wires on the right of the schematic are the 16 outputs.
I suggest you put 16 LEDs on those outputs with 1KΩ resistors in series to monitor the outputs of this device.

If you don't know how to read schematics, I suggest following this tutorial:
Collin's Lab: Schematics

Step 3: Build Your Circuit

Now that you have looked over the schematic, you are ready to build the circuit.
Assemble the circuit on a breadboard using jumper wires to connect components.
I recommend referring back to the schematic while building your circuit on your breadboard.

If you can pack your LEDs together tightly, it will save you some breadboard space.
In the end, I had to expand to using a second breadboard because my LEDs took up so much space.
I'm getting some LED bar graphs to fix this problem  :)

Step 4: Expanding the Chain of Decade Counters

I'm fairly sure that it is possible to expand this indefinitely. If you wanted to hook up 3, 4, or 5 4017's together, there is not reason why that shouldn't work.
One limitation is that each decade counter can only contribute 9 states to the overall number of states of the machine.
This is because in order for the device to function, it relies on one state to stop on.
It requires a state to reach and become stuck at until another 4017 resets it.

Keep in mind: whatever state you stop on, only the states before it will be useful.
i.e. If you have your 4017's stop on their 7th state, you would have a total of 6 usable states per chip for a total of 12 states.

For example, the device I built uses the 9th state to stop.
I completely disregard the final 10th state because I only need a total of 16 usable states (8 states utilized per 4017 chip)
However, if you are building a device that needs 36 states, you could use 4 decade counters that use the final 10th state to stop on.
Therefore you have 9 usable states per 4017 chip and have a total of 36 usable states.

Step 5: How the Reset Switch Works

The reset switch works by resetting your first decade counter and advancing the second decade counter up to its 9th position very fast.
It does this by removing capacitance from the 555 circuit with increases the clock frequency a TON.
In the same flip of the switch it also resets the first decade counter, thus stopping it from counting and getting it back to its 1st position.

Simply put, the device resets one 4017, and advances the other to its maximum state.

Step 6: Do Something With Your 16-Stage Decade Counter!

I'm planning on making my 16-stage decade counter into a drum synth.
There will be 16 beats in each measure.
The decade counter will count through all 16 beats and play a rhythm.

Those are my plans for this device, but what are YOURS?
Do you have any ideas that might work with this device?
Let us know below in the comments!
And if you are building your device, don't forget to post a few pictures while you are at it!  :P

Step 7: Wrapping Up

The project has been built! (i hope)
The time has come to put away all the junk that must have accumulated on your bench; we clean our benches so that we might design some other device another day.

If you want to see all of the pictures I have taken of this project, check  this out:
Full imgur Album

Did something go horribly wrong?
Let us know down in the comments!
Hopefully we can get something working for you.  :)

Thanks for reading!
Don't forget to follow me for more articles like this one!




    • Epilog Challenge 9

      Epilog Challenge 9
    • Paper Contest 2018

      Paper Contest 2018
    • Pocket-Sized Contest

      Pocket-Sized Contest

    We have a be nice policy.
    Please be positive and constructive.




    I have a little motor that uses 9 volts and momentarily turns on a micro switch every 3 seconds. Can I use this circuit when the 16th led light lites up to activate an npn transistor and a relay? This relay will turn off the nine volts and the motor.This way there is a 16th counter. Please advise me if it will work.

    PS. If I turn on the 9 volts again will it start counting from one again?

    the th

    This circuit is exactly what I needed. I am also going to use this as a drum machine sequencer. I will just need to adapt a few things and it should work.

    Hi, would this work as a 16 step sequencer to a APC ?I've seen this with 4015 ICs and seen just one 8 step with 4017 . If i wired the ICs as here then add the rest of the circuit would it work?

    If you check the youtube comment discussion we have been having, you will see my response.


    won't let me watch it even when i sign in to either of my youtube accounts


    I had the video set to "Private". Ttry again.


    I just goes blank and says private video as the one on this page does.

    Oh and i'm MRFEENIX i've been chatting on your 8 step sequencer vid on you tube

    Yo! can someone help me convert this into a 12v input? i want to project this to my motorcycle, please help me... sorry I didn't took any electronic course, thanks in advance...

    Hmmm... You shouldn't have to change anything about the circuit. If you look up the 4017 datasheet and the 555 datasheet, you will find that both should work at 12 V.

    most 555 chips work up to 18 V. I'm pretty sure 4017 work up to a similar voltage.

    However, if you want, you could employ a simple voltage regulator to convert 12 V down to 5 V (look into buying a 7805 voltage regulator). Most 7805 voltage regulators will work with inputs of up to 20 V. With one of those, you can be sure that your power supply is pretty close to 5 V and well regulated.

    I hope that was helpful!