Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Understanding Decade Counter CD4017

By Ashutosh Bhatt May 17, 2013

CD4017 is a 16 pin CMOS decade counter/ Divider.  It takes clock signal from the clock input and turns on the 10 output in sequence, each time when it receives clock input pulses. A popular IC, CD4017 is extremely useful in various projects like Light Chaser, Matrix Die. It is also useful in many applications like Binary counter/decoder, frequency division, divide by N counting, Alarm system etc. 

[[wysiwyg_imageupload:8571:]]

Fig. 1: Prototype Of Decade Counter CD4017 Circuit On Breadboard


 

In order to understand the working of IC CD4017, one must know about its individual pins. It has 3 input pin and 10 output pin and one is ground pin and another is used for power supply and one is Carry out pin. Pin diagram of CD4017 is shown below-

 Pin Diagram OF CD4017 Ic

Fig. 2: Pin Diagram OF CD4017 IC

1. Input pin-

a. Reset pin (pin 15) – It is used to reset the counter to zero. For instance, if you want the counter to count up to third output then connect the fourth output to pin 15. Now after every third output, it will automatically starts counting from zero.

b. Clock pin (pin14)- Whenever pin 14 goes high, it provides the output. Like, for first clock pulse pin 3 will provide you output; for next pulse pin 2 will provide output and so on. After 10 pulse it will again start from Q0 output.

c. Clock Inhibit pin (pin 13)- It is used to switch the counter “on” and “off”. When you want to switch off the counter, then pin 13 should be high. If it is high, it will ignore the clock pulse no matter how many times you press the switch meaning the counter will not advance. In this circuit, we have grounded the pin 13.

2. Output pin (pin Q0- Q9)- It is used  to receive the output in sequential manner. Like for first pulse pin 3 will provide you the output and so on.

3. Ground pin (pin 8) and Supply pin (pin 16)- It is used to provide ground and power supply to the IC for its working.

4. Carry out pin (pin 12)- It is used to connect one or more CD4017 IC’s. The carry pin of first CD4017 is connected to clock input of second and the carry pin of second is connected to the clock input of third and so on. In our circuit we have used only one IC that’s why we have left this pin.

Working of Circuit

When you press the switch counter starts from zero and it advances one each time whenever pin 14 receives a positive pulse. When you press the switch for first time LED2 will glow. Then you again press the switch LED1 will glow, giving you second output. In similar manner LED 3 and LED 4 will glow.  After that when you press the switch none of the LED will glow because it will count up to Q9 output then it will reset (As we have connected pin 11 to reset pin 15). 

We have connected C2 and R3 with Reset pin 15 so that whenever you switch ON the circuit, it will start counting from zero. For resetting the counter to zero, pin 15 must be taken high and then taken low again. To make the pin 15 high, we are using C2 and to again make it low we are using R3. And a diode is used between pin 11 and 15 to make pin 11 low and pin 15 high to restart the counter.

CMOS ICs are very fast they can switch millions of time in a second. Contact bounce could cause the switch to deliver several pulses in rapid succession. But we want just one clock pulse at a time. Therefore we have used C3, R4 which create a short delay. Hence when we press switch it will provide high to pin 14 and hold it until switch is again pressed.

Circuit Diagrams

Circuit-Diagram-Understanding-Decade-Counter-CD4017

Project Components

  • Capacitor
  • Diode 1N4001
  • LED
  • Resistor

Project Video


Filed Under: Electronic Projects
Tagged With: cd4017, counter, decade counter, ic
 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • 12VAC to 12VDC 5A on 250ft 12AWG
  • Engineer's own PCB layout software guide?
  • Zeropole...
  • I think i have devised a new type of "super_transformer" for the Electricity grid?
  • Does mobility carrier ratio changes with Wn? (0.18um) inverter design

RSS Electro-Tech-Online.com Discussions

  • Lightbox circuit
  • I want to make a CRT with some modifications But i have no Idea where to start
  • Kawai KDP 80 Electronic Piano Dead
  • LT3511 Isolated Flyback Converter
  • Funny Images Thread!

Featured – Designing of Audio Amplifiers part 9 series

  • Basics of Audio Amplifier – 1/9
  • Designing 250 Milli Watt Audio Power Amplifier – 2/9
  • Designing 1 Watt Audio Power Amplifier – 3/9
  • Designing a Bass Boost Amplifier – 4/9
  • Designing a 6 Watt Car Audio Amplifier – 5/9
  • Design a low power amplifier for headphones- 6/9

Recent Articles

  • ITG Electronics releases gate drive transformers with 200 – 450 V DC capability
  • Stackpole introduces HCJ jumpers with 70.7 amp continuous current capability
  • Infineon releases MCU with 128K flash and multi-sense capabilities
  • ST introduces 600V GaN gate drivers with 300 ns start-up time
  • ABLIC releases S-19116 automotive voltage detector with 6.8ÎĽs response time

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe