Analog Step Sequencer
Lesson 4: Creating a Sequence with the 4017 IC
Agenda
Part 1: (20 min)
Part 2: (Rest of the time)
The 4017 IC
Counting
This gif provides a nice visual of how the counter works. Note that this chip is driven by a clock (we will use the clock circuit we built from lesson 2!)
Pinout
As we did with the 555 IC let's distinguish the significant pins from the insignificant pins so that we can understand how the chip works.
Insignificant Pins
Significant Pins
Pins 1-7 and 10: Output pins. These are the counter outputs and will output sequentially from Q0 - Q7. Note that Qi is not connected to pin i so we need to make sure we are looking at the pin for which a given Qi is connected. For example, Q0, the first output is at pin 3.
Pin 14: Clock. This pin drives the counter and will cause the next output to go high at each rising edge of the clock. Essentially, when are clock goes high, the next output goes high. We connect the output of our 555 clock circuit (pin3) to the clock pin of the 4017 (pin 14). If we speed up or slow down our clock using the potentiometer, the counter will count faster or slower as we will see. This will enable us to control the speed at which our sequence plays
Pin 9 and 15: Q8 and reset. When the reset pin goes high, the counter goes back to its initial state which is Q0 goes high. We will connect the ninth output (Q8) to the reset so that once our counter reaches Q8 it will reset. So what will happen is our count goes 0 --> 1 --> 2 --> 3 --> 4 --> 5 --> 6 --> 7 --> 8 (trigger reset so pin 0 actually goes high) --> 1 ...
Circuit Diagram
Checkpoint. Check if LED flashes (twist potentiometer to reduce delay)