**Electronics Components: Control the Time Intervals in an Astable 555 Circuit**

An astable 555 timer circuit in an electronic project works like a metronome: It keeps running until you turn it off. This mode is also called *oscillator mode*, because it uses the 555 as an oscillator, which creates a square wave signal. There are three important time measurements for a square wave:

**T:**The total duration of the wave, measure from the start of one high pulse to the start of the next high pulse.**T**The length of the high portion of the cycle._{high}:**T**The length of the low portion of the cycle._{low}:

Naturally, the total time T is the sum of T_{high} and T_{low}.

The values of these time constants depend on the values for the two resistors (R1 and R2) and the C1.

Here are the formulas for calculating each of these time constants:

T = 0.7 (R1 + 2R2) C1_{}

T_{high}= 0.7 (R1 + R2) C1_{}

T_{low}= 0.7 R2 C1_{}

There’s an interesting fact buried in these calculations that you need to be aware of: C1 charges through both R1 and R2, but it discharges only through R2. That’s why you must add the two resistor values for the T_{high} calculation, but you use only R2 for the T_{low} calculation. It's also why you must double R2 but not R1 for the total time (T) calculation.

Now, plug in some real numbers to see how the equations work out. Suppose both resistors are 100 kΩ and the capacitor is 10 μF. Then, the total length of the cycle is calculated like this:

T = 0.7 (100,000 Ω + 2 100,000 Ω) 0.00001 F

T = 2.1 s

T_{high}= 0.7 (100,000 Ω + 100,000 Ω) 0.00001 F

T_{high}= 1.4 s_{}

T_{low}= 0.7 100,000 Ω 0.00001 Ω

T_{low}= 0.7 s_{}

Thus, the total cycle time will be 2.1 s, with the output high for 1.4 s and low for 0.7 s.

If you want, you can also calculate the frequency of the output signal by dividing the total cycle time into 1. So, for the above calculations, the frequency is 0.47619 Hz.

If you use smaller resistor and capacitor values, you’ll get shorter pulses and higher output frequencies. For example, if you use 1 kΩ resistors and a 0.1 μF capacitor, the output signal will be 48 kHz, and each cycle will last just a few millionths of a second.

You may have also noticed that if the two resistors are the same value, the signal will be high for twice as long as it's off. By using different resistor values, you can vary the difference between the high and low portions of the signal.