How To Build A Sequential Timer Using A Cmos 4017

12,282

How To Build A Sequential Timer Using A Cmos 4017
How To Build A Sequential Timer Using A Cmos 4017

This circuit utilizes a CMOS 4017 decade counter to generate a sequence of four distinct events, with the capability to expand the sequence to nine or ten events. Each event's duration is independently controlled. The inclusion of D13 allows the sequence to repeat continuously; omitting D13 will result in a single run of the sequence. A 12-volt supply is indicated in the diagram, but the circuit can operate within a voltage range of 5 to 15 volts. The four outputs are sourced from pins 3, 2, 4, and 7, respectively. The current available from each output pin is regulated by resistors R1, R2, R3, and R4, which provide sufficient current to drive a transistor switch, enabling the activation of a relay, buzzer, or similar devices. The circuit allows for more complex sequences beyond simple linear events, including overlapping and repeating actions. Additionally, it is possible to define the total number of repetitions for the sequence and the specific point at which the repetition ceases. The timing of individual outputs is determined by the capacitance value of C5 and the resistance values of R5, R6, R7, and R8, respectively. At the start of each event, Q1 discharges C5, after which the associated timing resistor charges C5 again. A 470µF capacitor was used in the prototype, yielding event durations of 38 seconds, 67 seconds, 49 seconds, and 9 minutes, respectively. Each of these durations includes an initial delay of approximately 14 seconds while Q1 discharges C5. Until Q1 is turned off, the timing resistors cannot commence charging C5. Variations in manufacturing tolerances may lead to different outcomes; however, using the same capacitor to activate the same input pin should yield predictable event lengths. A practical observation indicated that approximately 12 seconds correspond to every 100kΩ/100µF combination. Thus, employing a 1MΩ resistor with a 100µF capacitor would result in about 120 seconds (or two minutes), plus the initial 14 seconds for the discharge phase. To reduce the discharge time, the value of R11 can be decreased. There is no theoretical limit to the size of C5. With a 470µF capacitor and a 1MΩ resistor, an output duration of just under 9 minutes was achieved. Using a 4700µF capacitor with a 1MΩ resistor should extend the output duration to nearly 90 minutes, and increasing the resistor to 4.7MΩ could yield an output lasting around 7 hours.

The circuit design leverages the CMOS 4017 decade counter, which features ten output pins capable of sequentially activating devices based on a clock input. Each output pin can be connected to a different load, allowing for diverse applications such as lighting sequences, sound generation, or relay control. The use of resistors (R1 to R4) ensures that the output current remains within safe limits for the connected devices, while also providing the necessary base current to drive the transistor switch effectively.

The timing aspect of the circuit is crucial for controlling the duration of each event. The capacitor C5 serves as the timing element, with its charge and discharge cycles dictating the length of each output pulse. By selecting appropriate resistor values (R5 to R8) in conjunction with the capacitor, precise timing intervals can be achieved. The initial delay introduced by Q1 discharging C5 can be adjusted by modifying the resistance of R11, thus allowing for greater flexibility in the timing sequence.

For applications requiring longer durations, the choice of larger capacitors or higher resistor values can be implemented, but care must be taken to ensure that the circuit components can handle the increased load and timing requirements. The design is versatile, making it suitable for various electronic projects where sequential control is required.This circuit uses a Cmos 4017 decade counter to create a sequence of four separate events. The number of events in the sequence may be increased to nine or ten. And the length of each event is controlled independently. D13 causes the sequence to repeat continuously. If you leave out D13 - the sequence will run only once. I`ve used a 12-volt supply in the diagram - but the circuit will work at anything from 5 to 15-volts. The four outputs are taken from pins 3, 2, 4 & 7 - in that order. The current available from each output pin is controlled by R1, R2, R3 & R4. Each resistor will supply more than enough current to operate a transistor switch. And the switch can be used to energize a relay - sound a buzzer etc. You`re not limited to a series of - "one after the other" - events. You can produce More Complex Sequences - with overlapping and repeating events. You can also fix the total number of times your sequence will repeat - as well as the point in the sequence where the repetition will stop. The individual output times are controlled by the value of C5 - and the values of R5, R6, R7 & R8 respectively.

At the beginning of each event - Q1 discharges C5. Then the relevant timing resistor takes over - and charges C5 up again. I used a 470uF capacitor in the prototype. And with the resistor values shown in the diagram - the events lasted 38 seconds, 67 seconds, 49 seconds and 9 minutes - respectively. These times each include an initial delay of about 14 seconds - while Q1 discharges C5. Until Q1 switches off - the timing resistors cannot begin to charge C5. Manufacturing tolerances mean that your results are likely to be different from mine. However - because you`re always using the same capacitor to activate the same input pin - the length of each step in your sequence should be fairly predictable.

All you need is one reliable practical observation. Then you can calculate the rest. I got roughly 12 seconds for every 100k/100uF combination. So a 1M resistor and a 100uF capacitor will give about 120 seconds - or two minutes. To this must be added the initial 14 seconds - while Q1 discharges C5. If you want to shorten this discharge time - reduce the value of R11. There`s no theoretical limit on the size of C5. With the 470uF capacitor and the 1M resistor I got just under 9 minutes. So - with a 4700uF capacitor - the 1M resistor should give me just under 90 minutes. And if I increase the resistor to 4M7 - the output should last for around 7 hours. 🔗 External reference