EL-81AdvancedPremiumOp-amp circuits

Op-Amp Flasher: Two LEDs Lighting in Turn with the LM358

With a single LM358, a few resistors and one capacitor, you make your own clock signal: the red and green LEDs light in turn about 1.5 times a second. R3, fed back from the output to the + input, sets two separate thresholds, and C1 charges and discharges between them. You learn about the relaxation oscillator, hysteresis and how the output limits of an op-amp on a single supply affect the speed.

0.0(0)
Op-Amp Flasher: Two LEDs Lighting in Turn with the LM358
It is built with a 9 V battery, one LM358, six resistors, two capacitors, a red LED and a green LED. R1 and R2 set the + input (pin 3) to 4.5 V, and R3 feeds back from the output and creates two thresholds: 5.5 V and 3.2 V. C1 charges and discharges at the − input (pin 2) through R4. The output (pin 1) stays high for about 0.36 s and low for 0.30 s; LED1 and LED2 light in turn 1.5 times a second. What you learn: relaxation oscillator, Schmitt trigger, hysteresis, the period formula.

Premium Content

This circuit's build steps, how-it-works guide and FAQ are open to Premium members.

  • Build Steps
  • How It Works
  • Frequently Asked Questions