BysMax

555 Timer Calculator — Astable & Monostable Frequency, Period & Duty Cycle

14 min

This 555 timer calculator computes the oscillation frequency, duty cycle, and high/low time intervals for the NE555 in both astable (oscillator) and monostable (one-shot) modes.


What Is the 555 Timer?

The NE555 (commonly called the "555 timer") is one of the most produced integrated circuits in history. It generates precise timing pulses, square wave oscillations, and PWM signals. It operates in two main modes:

  1. Astable mode: The output continuously alternates between HIGH and LOW, producing a square wave. No external trigger needed. Used for oscillators, LED flashers, tone generators, and PWM.
  2. Monostable mode: The output stays LOW until a trigger pulse arrives at pin 2. Then it goes HIGH for a fixed time determined by one resistor and one capacitor, then returns to LOW automatically. Used for debouncing, delay timers, and pulse stretching.

555 Timer Formulas

Astable Mode (Oscillator)

Components needed: resistors R1, R2, and capacitor C.

ParameterFormula
Time HIGHthigh=0.693×(R1+R2)×Ct_{high} = 0.693 \times (R_1 + R_2) \times C
Time LOWtlow=0.693×R2×Ct_{low} = 0.693 \times R_2 \times C
PeriodT=0.693×(R1+2R2)×CT = 0.693 \times (R_1 + 2R_2) \times C
Frequencyf=1.44(R1+2R2)×Cf = \dfrac{1.44}{(R_1 + 2R_2) \times C}
Duty cycleD=R1+R2R1+2R2×100%D = \dfrac{R_1 + R_2}{R_1 + 2R_2} \times 100\%

Monostable Mode (One-Shot Timer)

Components needed: resistor R1, capacitor C.

T=1.1×R1×CT = 1.1 \times R_1 \times C

The output stays HIGH for time TT after each trigger.


Step-by-Step Example

Goal: Astable oscillator near 1 kHz using standard component values.

  • R1 = 1 kΩ, R2 = 10 kΩ, C = 100 nF (0.1 µF)

Calculate:

thigh=0.693×(1,000+10,000)×100×109=0.762mst_{high} = 0.693 \times (1{,}000 + 10{,}000) \times 100 \times 10^{-9} = 0.762\,\text{ms}

tlow=0.693×10,000×100×109=0.693mst_{low} = 0.693 \times 10{,}000 \times 100 \times 10^{-9} = 0.693\,\text{ms}

f=1.44(1,000+20,000)×100×109=1.440.0021686Hzf = \frac{1.44}{(1{,}000 + 20{,}000) \times 100 \times 10^{-9}} = \frac{1.44}{0.0021} \approx 686\,\text{Hz}

D=1,000+10,0001,000+20,000×100%52.4%D = \frac{1{,}000 + 10{,}000}{1{,}000 + 20{,}000} \times 100\% \approx 52.4\%

To get closer to 1 kHz: use R1 = 1 kΩ, R2 = 68 kΩ, C = 10 nF → f1,052Hzf \approx 1{,}052\,\text{Hz}.


Monostable Example

Goal: Pulse that stays HIGH for exactly 5 seconds.

T=1.1×R1×C=5sT = 1.1 \times R_1 \times C = 5\,\text{s}

With C = 100 µF:

R1=51.1×0.0001=45,455Ωuse 47kΩR_1 = \frac{5}{1.1 \times 0.0001} = 45{,}455\,\Omega \rightarrow \text{use } 47\,\text{k}\Omega

Result: T=1.1×47,000×0.0001=5.17sT = 1.1 \times 47{,}000 \times 0.0001 = 5.17\,\text{s}


Component Value Guidelines

ParameterRecommended Range
R1 minimum1 kΩ (prevents pin 7 overcurrent)
R1 + R2 maximum10 MΩ (leakage current limit)
C typical1 nF to 1000 µF
Frequency max (NE555)~500 kHz
Frequency max (CMOS TLC555)~2 MHz

Frequently Asked Questions

Can the 555 astable mode produce a duty cycle below 50%?

Not with the standard topology. The formula R1+R2R1+2R2\frac{R_1 + R_2}{R_1 + 2R_2} always gives a result above 50%. To get below 50%, add a fast signal diode (1N4148) in parallel with R2 (anode to pin 7, cathode to pin 6). This bypasses R2 during the charging phase, separating thight_{high} and tlowt_{low} control.

What is pin 5 (CTRL) used for?

Pin 5 is the control voltage input connected internally to 2/3 VCC. Connecting a 10 nF capacitor between pin 5 and GND filters high-frequency noise that could cause false triggering. If you're not using pin 5 for external voltage control, always add this capacitor.

What is the difference between NE555 and CMOS TLC555?

The NE555 is a bipolar IC requiring 4.5V–16V and can source/sink 200 mA. The TLC555 is CMOS, works from 2V–15V (compatible with 3.3V systems like ESP32), draws only 0.17 mA quiescent current, and reaches higher frequencies (~2 MHz). Both are pin-compatible.

Why does the 555 get warm during operation?

The bipolar NE555 draws 6–15 mA quiescent current. At 12V supply, that's 72–180 mW — warm but normal. Use the CMOS TLC555 for battery-powered designs where heat and current consumption matter.

Comentarios (0) /en/blog/temporizador-555