1 hour timer circuit with 4011 and 4020 ICs

23,492

Circuit Image

This circuit utilizes two CMOS ICs: a 4011 quad 2-input NAND gate and a 4020 14-stage ripple binary counter. Upon powering on, resistors R2 and capacitor C2 generate a brief reset pulse, ensuring that the output pin Q1 of the 4020 is high. Gates U1 and U2 create a simple astable multivibrator, with R1 and C1 determining the timing period. Due to the wide variation in capacitor tolerances, a 470nF capacitor can be used for C1, along with a fixed 3.3MΩ resistor in series with a 250kΩ preset for R1. The required timing period is just under 1.76 seconds. The oscillator output from U2 drives the input of the 14-stage ripple counter, U3, which divides the output sequentially by two, with the output signal taken from Q13, requiring 2048 input pulses before it goes high. When Q13 is high, the output sounder is activated. Gate U4 of the 4011 modulates the output sounder, which turns on and off at the same rate as the oscillator due to its connection to U2's output. Suitable sounders can be sourced from Maplin Electronics with part codes KU56L or CR34M; these are self-contained DC piezo buzzers that require 10mA at 12V DC but can operate with supply voltages ranging from 3 to 15 Volts DC. A downloadable simulation version is available, tested with LT Spice version IV. For versions 4.05 and later, transient simulation may take a long time, so initial conditions on the circuit node connected to gate U1 are set to zero to expedite simulation time. LT Spice is a freely available schematic capture and spice simulator program developed by Linear Technology. An active Yahoo group for LT Spice is also available. The simulation graph illustrates the circuit's behavior, tapping the output of the CMOS4020 at Q5, requiring only 8 input pulses from the oscillator (green trace) before Q5 switches high (blue trace). The top waveform in red represents the output across the sounder, which is activated as long as Q5 is high. A fixed resistor simulates the sounder. The calculations indicate that one hour or 3600 seconds divided by 2048 pulses (Q13) yields a timing period of 1.7578 seconds. The timing for a CMOS oscillator varies with supply voltage, approximately 1.1 RC. To achieve the desired timing, C1 is set to 0.47µF, and R1 consists of a fixed 3.3MΩ resistor in series with a 250kΩ preset. To fine-tune this value, a low current LED with a fixed 2.2kΩ resistor can be connected to the output of IC2, illuminating on each pulse. The 250kΩ preset should be adjusted until the LED flashes approximately 34 times per minute (60/34 = 1.76s). This setup can be utilized as a parking meter timer by triggering the unit before the hour is up or starting the timer before inserting coins to allow for additional time.

The schematic for this circuit consists of two primary sections: the astable multivibrator and the 14-stage ripple counter. The astable multivibrator formed by gates U1 and U2 operates based on the resistor-capacitor (RC) time constant, which determines how quickly the output toggles between high and low states. The timing components are critical; the resistor R1, which includes a variable preset resistor, allows for fine adjustments to the timing period, while C1's value influences the frequency of oscillation.

The output from the astable multivibrator feeds into the clock input of the 4020 binary counter (U3), which counts the incoming pulses and divides them down. The Q13 output pin of the counter acts as a signal that indicates when the counter has received 2048 pulses, activating the sounder connected to it.

Gate U4 modulates the sounder by controlling its on/off state in synchronization with the oscillator's output, thus producing a sound pattern that corresponds to the timing interval set by the astable multivibrator. This modulation can be adjusted by varying the input to U4.

The circuit's design allows for versatile applications, including timing mechanisms for parking meters or other timing-related functions, with the ability to customize timing intervals through the selection of resistors and capacitors. The use of CMOS technology ensures low power consumption, making this circuit suitable for battery-operated devices.

For simulation purposes, LT Spice provides an effective platform to visualize the circuit behavior, allowing for adjustments and optimizations before physical implementation. The graphical output from the simulation can guide further refinements to the timing and modulation characteristics of the circuit, ensuring reliable operation in practical applications.This circuit uses just two CMOS IC`s, a 4011 quad 2 input NAND gate, and a 4020 14-stage ripple binary counter. At switch on R2 and C2 provide a brief reset pulse, which will ensure the output pin Q1 of the 4020 is high.

Gates U1 and U2 form a simple astable R1 and C1 determining the timing period. The tolerances of capacitors vary widely, so for more control, you may use a 470n capacitor for C1 and use a fixed 3. 3M resistor in series with a 250k preset for R1. A timing period of just less than 1. 76seconds is required. The output of the oscillator at U2 drives the input of the 14-stage ripple counter, U3. The outputs divide sequentially by two and the output signal is taken from Q13, requiring 2048 input pulses before the signal becomes high. When the output Q13 goes high, the output sounder will become active. Gate U4 of the 4011 is used to "modulate" the output sounder. As U4 is also connected to the output of U2, the output sounder will turn on and off at the same rate as the oscillator.

Suitable output sounders can be found at Maplin Electronics part code KU56L or CR34M. These are self contained DC piezo buzzers, requiring 10mA at 12V DC but work with supply voltages from 3 to 15 Volts DC. A downloadable simulation version is available here. This has been tested with LT Spice version IV. From version 4. 05 onwards, transient simulation can take a long time. To speed up simulation, I have set initial conditions on the circuit node connected to gate U1 to zero.

This speeds up simulation time to a matter of seconds. LT Spice is a freely available schematic capture and spice simulator program made by Linear Technology. The link to their software page is here. There is also an active yahoo group available for LT Spice which you can find here. The graph below is from the simulation version of this circuit. In the simulated version I have tapped the output of the CMOS4020 at Q5, therefore only 8 input pulses from the oscillator (shown in green trace) are required before theQ5 output switches to high (shown as blue trace).

The top waveform in red, is the output across the output sounder. As can be seen, this output is switched on and off as long as the output pin, Q5 is active. To simulate the sounder, I have used a fixed resistor. Here comes the maths. One hour or 3600 seconds divided by 2048 pulses (Q13) requires a timed period of 1. 7578 seconds. The timing for a CMOS oscillator, varies with supply voltage, but is approximately 1. 1 RC. To achieve the timed period, C1 is 0. 47u and R1 is made from a fixed 3. 3M resistor in series with a 250k preset. To adjust this value, connect a low current LED and fixed 2. 2k resistor to the output of IC2. The LED should illuminate on each pulse. Adjust the 250k preset until the LED flashes about 34 times per minute (60/34 = 1. 76s). If you would like to use this a parking meter timer, then set the unit to trigger before the hour is up or start the timer before you feed the meter to allow extra time. 🔗 External reference




Warning: include(partials/cookie-banner.php): Failed to open stream: Permission denied in /var/www/html/nextgr/view-circuit.php on line 713

Warning: include(): Failed opening 'partials/cookie-banner.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/nextgr/view-circuit.php on line 713