Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Complete Sensor Guide
      • Engineering Deep Dives
      • AI
      • ARDUINO Compatible Coding
      • Audio Electronics
      • Battery Management
      • Beginners Electronics Series
      • Brainwave
      • Digital electronics (DE)
      • Electric Vehicles
      • EMI/EMC/RFI
      • EVs
      • Hardware Filters
      • IoT tutorials
      • LoRa/LoRaWAN
      • Power Tutorials
      • Protocol
      • Python
      • RPI Python Programming
      • Sensors
      • USB
      • Thermal management
      • Verilog
      • 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
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Tech Terms
    • Webinars & Digital Events
  • Resources
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • White Papers
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Dancing LED’s

By Ashutosh Bhatt June 12, 2013

This Flashing or Dancing LED circuit is  used for decoration purpose or as an indicator. Flashing or dancing speed of LED's can be varied with the help of variable resistor and various dancing pattern of light can be formed by slight change in the circuit. In this circuit 6 LED's moves in one direction then again flow the opposite direction than previous. The circuit is based on two IC's namely NE555 and CD4017 with few more components. 555 timer IC wired as an astable oscillator. In this circuit NE555 astable generates a clock for the circuit which provide a oscillating wave to the output pin 3 of IC1. You can vary the speed of oscillation with the help of VR1. The frequency of oscillation of 555 timer can be calculated by f=1.44/(R1+2*(VR1)*C1) and CD4017 is a CMOS counter/ divider IC. It take clock signal from the clock input and turn on the 10 output in sequence, each time when it receives clock input pulses. It is the most popular IC and extremely useful in various project like Light Chaser, Matrix Die. In order to understand the working of IC one must know about its individual pin. 

 


This Flashing LED circuit is based on two IC’s namely NE555 and CD4017 with few more components. 555 timer IC wired as an astable oscillator. In this circuit NE555 astable generates a clock for the circuit which provide a oscillating wave to the output pin 3 of IC1. You can vary the speed of oscillation with the help of VR1. The frequency of oscillation of 555 timer can be calculated by f=1.44/(R1+2*(VR1)*C1) and CD4017 is a CMOS counter/ divider IC. It take clock signal from the clock input and turn on the 10 output in sequence, each time when it receives clock input pulses. It is the most popular IC and extremely useful in various project like Light Chaser, Matrix Die. In order to understand the working of IC one must know about its individual pin. 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. Like 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 will provide you the output. Like for first clock pulse pin 3 will provide you output similarly 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 means the count will not advance. In our circuit we have ground 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. Like if you want to add one more CD4017 IC then connect Pin 12 to Clock input of its successor. 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 Flasing LED Circuit-

Now when power supply is given to 555 timer, output from pin 3 of IC1 is provided to CD4017 decade counter pin 14, which provide a clock pulse for the working of IC2. Here after receiving the clock input CD4017 starts its counter from zero (as it has inbuilt counter). And it advances one by one each time pin 14 goes high. Like first we get output from pin 3 that is  Q0 and LED1 will glow and  then from pin 2, LED2 will glow and so on. In this circuit first 6 outputs of the IC are directly connected to 6 LED’s because of this LED’s move in forward direction. And remaining 4 output move the LED’s in backward direction. This cycle is repeated until power supply is provided. You can also connected transistor to produce a large version of display. If you want to change the pattern of how LED’s glow just  interchange the outputs like if you connect the LED1 to pin 2 and LED2 to pin 3 then LED2 will glow first than LED1 will glow. Like vice you can use different combination according to your requirement.

Circuit Diagrams

Circuit-Diagram-Flashing-Dancing-LED-

Project Components

  • 555 Timer IC
  • Capacitor
  • LED
  • Resistor

Project Video


Filed Under: Electronic Projects
Tagged With: 555, cd 4017, dancing led, ic, led
 

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

Log in to leave a comment:

Lost your password?

Don't have an account? Register here

Submit a Guest Post

submit a guest post

EE TECH TOOLBOX

“ee
Tech Toolbox: Wide Bandgap Semiconductors
Moving from silicon to GaN or SiC feels like a whole new ballgame, doesn’t it? It isn’t just about faster switching; it’s about managing the layout parasitics and thermal realities that come with that speed. This month’s Tech Toolbox features a curated eBook that tackles these design hurdles head-on.

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 feed: EDABOARD.com Discussions. EDABOARD.com Discussions.

  • Is my CCD (and unity gain op-amp) compatible with the AD9826?
  • Naming NETs in KICAD?
  • Innovus - Cover IO pins with Metal
  • VNA Measurement Setup for Twisted-Pair Cable S-Parameter Modeling
  • Can you buy e mode GaN FET with an integrated gate driver in a to220 package?

RSS feed: Electro-Tech-Online.com Discussions Electro-Tech-Online.com Discussions

  • How much does generator frequency stability matter for sensitive electrical equipment?
  • Curiosity is difficult.
  • Speed control on power tools...
  • On off switch hack
  • DBT alternative idea

Featured Tutorials

VHDL Series (1-24)

  • VHDL Tutorial 17: Design a JK flip-flop (with preset and clear) using VHDL
    VHDL Tutorial 17: Design a JK flip-flop (with preset and clear) using VHDL
  • VHDL Tutorial 18: Design a T flip-flop (with enable and an active high reset input) using VHDL
    VHDL Tutorial 18: Design a T flip-flop (with enable and an active high reset input) using VHDL
  • VHDL Tutorial – 19: Designing a 4-bit binary counter using VHDL
    VHDL Tutorial – 19: Designing a 4-bit binary counter using VHDL
  • VHDL Tutorial – 20: Designing 4-bit binary-to-gray & gray-to-binary code converters
    VHDL Tutorial – 20: Designing 4-bit binary-to-gray & gray-to-binary code converters
  • VHDL Tutorial – 21: Designing an 8-bit, full-adder circuit using VHDL
    VHDL Tutorial – 21: Designing an 8-bit, full-adder circuit using VHDL
  • VHDL Tutorial – 22: Designing a 1-bit & an 8-bit comparator by using VHDL
    VHDL Tutorial – 22: Designing a 1-bit & an 8-bit comparator by using VHDL
More Tutorials >

Recent Articles

  • Mini-Circuits releases Butler matrices for MIMO testing
  • OMNIVISION introduces 12MP global shutter image sensor
  • OMNIVISION launches 5MP global shutter image sensor
  • TDK expands inductors for automotive PoC circuits
  • Infineon introduces MCU for Full HD dual displays

EE ENGINEERING TRAINING DAYS

engineering
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • 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 © 2026 Arrowfly 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 Arrowfly
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Complete Sensor Guide
      • Engineering Deep Dives
      • AI
      • ARDUINO Compatible Coding
      • Audio Electronics
      • Battery Management
      • Beginners Electronics Series
      • Brainwave
      • Digital electronics (DE)
      • Electric Vehicles
      • EMI/EMC/RFI
      • EVs
      • Hardware Filters
      • IoT tutorials
      • LoRa/LoRaWAN
      • Power Tutorials
      • Protocol
      • Python
      • RPI Python Programming
      • Sensors
      • USB
      • Thermal management
      • Verilog
      • 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
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Tech Terms
    • Webinars & Digital Events
  • Resources
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • White Papers
  • Guest Post Guidelines
  • Advertise
  • Subscribe