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 or a 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.
The 4017 is an Integrated Circuit (IC) which has been designed to count pulses. It has 16 pins and looks like any other 16 pin integrated circuit. The IC 4017 can be considered as one of the most useful and versatile chip having numerous electronic circuit applications.
Technically it is called the Johnsons 10 stage Decade Counter Divider. Has anyone guessed why it is named in that way???
The name suggest two things, it’s something to do with number 10 and counting/dividing. The number 10 is connected with the number of outputs this IC has, and these outputs become high in sequence in response to every high clock pulse applied at its input clock pin out. It means, all its 10 outputs will go through one cycle of high output sequencing from start to finish in response to 10 clocks received at its input. So in a way it is counting and also dividing the input clock by 10 and hence the name.
Simple Working Principle
The 4017 takes a clock pulse in and then steps the output from negative to positive in a series of ten steps, with only one pin being on at a time. Anti-lock gating is provided, thus assuring proper counting sequence. The decoded outputs are normally low and go high only at their respective decoded time slot. It has the unique capability of counting up to a certain number and then restarting the count, counting up to a certain number and halting, or it can be cascaded to more 4017’s for a higher count. The outputs are labeled 0 through 9.
Pin Details
Let’s understand the pin outs of the IC 4017 in details and from a newcomer’s point of view:
Looking at the figure we see that the device is a 16 pin DIL IC, the pin out numbers are indicated in the diagram with their assignment names.
Output Pins-
The pin out which are marked as output are the pins which become logic high one after the other in sequence, meaning the first in the order is 3, so this pin is the one which first becomes high, then it shuts off and simultaneously the next pin #2 becomes, then this pin goes low and simultaneously the preceding pin #4 becomes high and so on until the last pin #11 becomes high and reverts to pin #3 to repeat the cycle.
Please note that the word “high” means a positive voltage that may be equal to the supply voltage of the IC, so when we say the outputs become high in a sequential manner means the outputs produce a positive voltage which shifts in a sequential manner from one output pin to the next, in a “running” DOT manner.
Clock Pin-
Now the above sequencing or shifting of the output logic from zero to high and back to zero happens only when a clock signal is applied to the clock input of the IC which is pin #14. Mind you, if the no clock is applied to this input, it must be assigned either to a positive supply or a negative supply, but should never be kept hanging or unconnected, as per the standard rules for all CMOS inputs.
The clock input pin #14 only responds to positive clocks or a positive signal and with each consequent positive peak signal, the output of the IC shifts or becomes high in sequence, the sequencing of the outputs are in the order of pin outs #3, 2, 4, 7, 10, 1, 5, 6, 9, 11.
Enable Pin-
Pin #13 may be considered as the opposite of pin #14 and this pin out will respond to negative peak signals, if a clock is applied to this pin, producing the same results with the outputs as discussed above. However normally this pin out is never used for applying the clock signals, instead pin #14 is taken as the standard clock input.
However, pin #13 needs to be assigned a ground potential, that means, must be connected to the ground for enabling the IC to function. In case pin #13 is connected to positive, the whole IC will stall and the outputs will stop sequencing and stop responding to any clock signal applied at pin #14.
Reset Pin-
Pin #15 of the IC is the reset pin input. The function of this pin is to revert the sequence back to the initial state in response to a positive potential or supply voltage, meaning the sequencing comes back to pin #3 and begins the cycle afresh, if a momentary positive supply is applied to pin #15.
If the positive supply is held connected to this pin #15, again stalls the output from sequencing and the output clamps to pin #3 making this pin-out high and fixed.
Therefore to make the IC function, pin #15 should always be connected to ground. If this pin out is intended to be used as a reset input, then it may be clamped to ground with a series resistor of 100K or any other high value, so that a positive supply now can be freely introduced to it, whenever the IC is required to be reset.
Ground and Supply pin-
Pin #8 is the ground pin and must be connected to the negative of the supply, while pin #16 is the positive and should be terminated to the positive of the voltage supply.
Carry Out pin-
A CARRY – OUT signal Pin #12 completes one cycle every 10 clock input cycles and is used to ripple-clock the succeeding device in a multi-device counting chain.
Applications
They can be used in timing circuits and are often used to switch on and off LEDs or motors or other circuits. They are versatile and relatively simple to put together. Counters such as the 4017B are cheap and yet surprisingly useful. The 4017B is most useful when combined with a timer such as a 555 based circuit. The pulse from the 555 timer can be used to activate the 4017B circuit.
Thanks for reading this blog,
For more information about the product please visit: http://www.tenettech.com/category/347/ics
For technical queries please drop an e-mail: info@tenettech.com