Source code coming soon. The GitHub repository is private for now and opens to everyone very soon.
BetterSPICE Beta 0.8.1 Join the beta Download soon

Calculators Parts

555 timer calculator (astable and monostable)

In astable mode the frequency is f = 1.44 / ((RA + 2RB) C), with a high time of 0.693 (RA + RB) C and a low time of 0.693 RB C, so the duty cycle is always over 50 %. Enter a frequency and a duty instead and the calculator finds the resistors.

For a duty under 50 %, pick Diode across RB: the capacitor then charges through RA and the diode, and the calculator takes the diode forward voltage into account. In monostable mode the pulse is t = 1.1 R C. The formulas are those of the NE555 datasheet (TI SLFS022).

The calculator

The app's own calculator window, built from the BetterSPICE 0.8.1 source. What needs a schematic is greyed out here: placing the circuit, running it, applying values to parts and picking parts from the library. Open it in its own window.

The formulas it uses

These are the formulas the calculator shows, copied from its source code. The results in the window above come from the same code as the app.

Astable

  • f = 1.44 / ((RA + 2 · RB) · C)
  • t high = 0.693 · (RA + RB) · C
  • t low = 0.693 · RB · C
  • duty = (RA + RB) / (RA + 2 · RB)

Monostable

  • t = 1.1 · R · C
  • R = t / (1.1 · C)
  • The output goes high at the trigger and low again when the capacitor reaches 2/3 of the supply.

Astable with a diode across RB

  • f = 1.44 / ((RA + 2 · RB) · C)
  • t high = 0.693 · (RA + RB) · C
  • t low = 0.693 · RB · C
  • duty = (RA + RB) / (RA + 2 · RB)
  • t high (diode) = ln((2/3 Vcc − VD) / (1/3 Vcc − VD)) · RA · C
  • duty (diode) = RA / (RA + RB)

Sources. NE555 datasheet (TI SLFS022): astable f = 1.44 / ((RA + 2 RB) C), monostable t = 1.1 R C. The diode across RB is the usual way to a duty under 50 %.

Simple and Advanced

Simple is the main values, one set of results and a plot. Advanced is the full design view: the operating range with its corners, tolerance and temperature, checks with their margin (a green tick, an amber warning or a red cross), the parts to order with the ratings they need, warnings that give the fact, the number and the fix, and plots over the whole range. A value typed in one view is the same in the other.

In the app it also places the circuit and checks it

In the app, the buttons under the result act on your circuit: Place and run a transient. The circuit is drawn with library symbols, wires, a source and probes, placed at a free spot in the view, and the analysis that checks it runs at once. With parts selected, Apply to the selected parts writes the result into them, as one undo step.

The last tab of the Advanced view, Verify in simulation, places the calculator's circuit and runs it, with measurements whose pass limits are the calculator's own numbers. A row the simulator cannot check says so and why. More in the manual: 555 timer.