IC 4017 – Pin Configuration & Application

An Introduction to IC4017

Most of us are more comfortable with 1, 2, 3, 4… rather than 001, 010, 011, 100. We mean to say that we will need a decimal coded output in many cases rather than a raw binary output. We have many counter ICs available but most of them produce binary data as an output. We will again need to process that output by using decoders or any other circuitry to make it usable for our application in most of the cases.

Let us now introduce you a new IC named IC 4017. It is a CMOS decade counter cum decoder circuit which can work out of the box for most of our low range counting applications. It can count from zero to ten and its outputs are decoded. This saves a lot of board space and time required to build our circuits when our application demands using a counter followed by a decoder IC. This IC also simplifies the design and makes debugging easy.

 

IC 4017 Pin Diagram
IC 4017 Pin Diagram

It has 16 pins and the functionality of each pin is explained as follows:

  • Pin-1: It is the output 5. It goes high when the counter reads 5 counts.
  • Pin-2: It is the output 1. It goes high when the counter reads 0 counts.
  • Pin-3: It is the output 0. It goes high when the counter reads 0 counts.
  • Pin-4: It is the output 2. It goes high when the counter reads 2 counts.
  • Pin-5: It is the output 6. It goes high when the counter reads 6 counts.
  • Pin-6: It is the output 7. It goes high when the counter reads 7 counts.
  • Pin-7: It is the output 3. It goes high when the counter reads 3 counts.
  • Pin-8: It is the Ground pin which should be connected to a LOW voltage (0V).
  • Pin-9: It is the output 8. It goes high when the counter reads 8 counts.
  • Pin-10: It is the output 4. It goes high when the counter reads 4 counts.
  • Pin-11: It is the output 9. It goes high when the counter reads 9 counts.
  • Pin-12: This is divided by 10 output which is used to cascade the IC with another counter so as to enable counting greater than the range supported by a single IC 4017. By cascading with another 4017 IC, we can count up to 20 numbers. We can increase and increase the range of counting by cascading it with more and more IC 4017s. Each additional cascaded IC will increase the counting range by 10. However, it is not advisable to cascade more than 3 ICs as it may reduce the reliability of the count due to the occurrence glitches. If you need a counting range more than twenty or thirty, I advise you to go with conventional procedure of using a binary counter followed by a corresponding decoder.
  • Pin-13: This pin is the disable pin. In normal mode of operation, this is connected to ground or logic LOW voltage. If this pin is connected to logic HIGH voltage, then the circuit will stop receiving pulses and so it will not advance the count irrespective of number of pulses received from the clock.
  • Pin-14: This pin is the clock input. This is the pin from where we need to give the input clock pulses to the IC in order to advance the count. The count advances on the rising edge of the clock.
  • Pin-15: This is the reset pin which should be kept LOW for normal operation. If you need to reset the IC, then you can connect this pin to HIGH voltage.
  • Pin-16: This is the power supply (Vcc) pin. This should be given a HIGH voltage of 3V to 15V for the IC to function.

This IC is very useful and also user friendly. To use the IC, just connect it according the specifications described above in the pin configuration and give the pulses you need to count to the pin-14 of the IC. Then you can collect the outputs at the output pins. When the count is zero, Pin-3 is HIGH. When the count is 1, Pin-2 is HIGH and so on as described above.

2 Application circuits of IC4017

1. Circling LEDs effect

In this, we have eight LEDs which glow one after the other to form a circling effect. My intention in publishing this circuit is not just to make some art work with electronics but also to illustrate the working principle and circuit design using IC 555 in astable mode, 4017 counter and to explain the related concepts.

circling LEDs
Circuit Diagram of Circling LEDs effect involving IC4017

Circuit Explanation

The 555 IC will operate in astable mode with a frequency of 14Hz. The 555 IC in the circuit is used as a clock pulse generator to provide input clock pulses to the counter IC 4017. The IC 555 in the circuit operates at a frequency of 14Hz, which means that it produces about 14 clock pulses every second to the IC 4017.

Now we shall analyze what happens at IC 4017. IC 4017 is a digital counter plus decoder circuit. The clock pulses generated at the output of IC 555 timer (PIN-3) is given as an input to IC 4017 through PIN-14.

Whenever a clock pulse is received at the clock input of IC 4017 counter, the counter increments the count and activates the corresponding output PIN. When count is zero, PIN-3 is HIGH, which means LED-1 will be ON and all the other LEDS are OFF. After the next clock pulse, PIN-2 of IC 4017 is HIGH, which means that LED-2 will glow and all the other LEDs can be turned OFF. This repeats and the LEDs turn ON and OFF successively on each clock pulse thereby producing a circling effect which I have demonstrated in the animation above.

Assembling this Circuit

This circuit can be housed on a general purpose PCB or a stripboard and the LEDs in the circuit are to be arranged in a circular shape. Make sure that you arrange the LEDs in order with LED-1 first, LED-2 second and so on upto LED-8. Arrange the LEDs in a circle and solder it onto a PCB.

Not just a circle! You can experiment with any other shapes and designs and get a beautiful circling effect for your own shape. What Other shapes can you try? Any of course, but here are a few suggestions. You can try to construct the first letter of your name with this circling effect. I made this circuit a few years ago in the shape of my first letter D but I have de soldered it some time ago when I was badly in need of LEDs for some other project.

2. Running Light using IC4017 and IC 555

A 555 timer IC1 is used in astable mode i.e. with free running multi-vibrator condition the frequency of which is to be varied by a variable resistor .This output is used as clock pulses for a decade counter IC2.

Running Light Free Circuit Diagram

The output of the counter drives a set of opto-couplers U1 to U4 which in turn trigger corresponding TRIACs to switch on loads sequentially for the first 3 and then the 4th one stays on for a little longer time as per the circuit configuration. Power supply comprises of a step down transformer TR1 and a bridge rectifier D7 to 10configuration duly filtered by C4.

13 Comments

  1. I’ve never heard of a “cum decoder”. The second sentance in the second paragraph.

    1. Tarun Agarwal says:

      Hi Diana
      Here the cum is nothing but ‘combined with’

  2. tanmayjadhav says:

    can someone tell me conclusion of ic 4017…plzzzz

    1. Tarun Agarwal says:

      HI Tanmay
      The CD4017 is a CMOS Decade counter IC. CD4017 is used for low range counting applications. It can count from 0 to 10 (the decade count). The circuit designed by using this IC will save board space and also the time required to design the circuit. CD4017 is as ‘Johnson 10 stage decade counter
      Thank you so much for your feedback
      And once again please visit our domestic website https://www.elprocus.com

  3. if ic 4017 be is getting severe heat while coneected to Dc supply is it normal in its operation or any wrong in the connection.

  4. I had to make a circuit

    1. Tarun Agarwal says:

      Hi Ayush
      Please be specify in your query so that our technical team can guide you
      And once again please visit our website https://www.elprocus.com

  5. PLEASE CHANGE THE PIN NO 2 OUTPUT ie., 1 ,NOT 0

    1. Tarun Agarwal says:

      Hi Saikiran,
      We suggest you to please go our website once:https://www.elprocus.com
      And also,Could you please share your contact details. So,that our technical team will get back to you regarding your queries.

  6. rever4217 says:

    Is that a mistake saying that pin 2 goes high when it reads 0 counts?

    1. Tarun Agarwal says:

      Hello, No it is not a mistake saying that pin 2 goes high when it reads 0 counts. Please check the user friendly website http://www.efxkits.com for project ideas on all the latest technologies. You can download project abstract and seminar presentation also from the website. Please check the website for complete details in the kit content section: http://www.efxkits.com/kitdetails/ and go through the FAQ: http://www.efxkits.com/contact-us/#faq for details. Further if you have any queries you can mail us at info@edgefxkits.in or please call on +91 9908778000 for clarifications/personal counseling. Niveditha (Contact India: +919959178000, Contact International: +1 201 44 83073)

    2. yes,it is a mistake

Add Comment