LearnTronics
Dual-LED Transistor Flasher
Recipe #26 — dual-led transistor flasher
Two transistors and two capacitors can form a free-running oscillator. This classic astable multivibrator makes the RC timing action visible by flashing two LEDs alternately.
Why this is called astable
Astable means neither state is permanently stable. The circuit continuously alternates between its two states, so LED1 and LED2 flash back and forth.
Timing is still RC
Each cross-coupling capacitor charges through a base resistor. In a roughly symmetrical circuit, each half-cycle is on the order of 0.69 RBC. Real transistor voltages and capacitor tolerances make this an approximation rather than an exact clock.
Put some numbers on it
For the example shown above, use: 9 V, RB1 = RB2 = 47 kΩ, C1 = C2 = 22 µF, and RC1 = RC2 = 1 kΩ.
Half-cycle ≈ 0.69 × RB × C
≈ 0.69 × 47,000 × 0.000022 ≈ 0.71 second
That is approximately how long one transistor remains in its state before the cross-coupled RC network causes the circuit to flip.
Full cycle ≈ 2 × 0.71 ≈ 1.43 seconds
Frequency ≈ 1 ÷ 1.43 ≈ 0.70 Hz
So each LED lights about once every 1.43 seconds, or roughly 42 flashes per minute. Because the LEDs alternate, there is a visible change from one LED to the other about twice that often.
LED current
For a typical red indicator LED, assume about 2.0 V across the LED and about 0.2 V across a transistor that is fully ON:
I ≈ (9 − 2.0 − 0.2) ÷ 1,000 ≈ 0.0068 A = 6.8 mA
That is a comfortable current for an ordinary indicator LED. The 1 kΩ resistor would dissipate only about 0.046 W, so a common 1/4-watt resistor has plenty of margin.
Changing the flash rate
| RB | C | Approx. half-cycle | Approx. full-cycle frequency |
|---|---|---|---|
| 47 kΩ | 10 µF | 0.32 s | 1.54 Hz |
| 47 kΩ | 22 µF | 0.71 s | 0.70 Hz |
| 47 kΩ | 47 µF | 1.52 s | 0.33 Hz |
Larger resistance or capacitance makes the flashing slower; smaller values make it faster. The actual rate will vary because electrolytic capacitors commonly have fairly wide tolerances and transistor switching voltages are not exact.
Electrolytic capacitor polarity: in this circuit, the positive lead of each timing capacitor goes toward the collector side and the negative lead goes toward the opposite transistor's base.
This is an oscillator made from ordinary transistors
No 555 timer is needed. Positive feedback provides the switching and RC charging provides the delay. The next lessons package related ideas into the very convenient 555 timer IC.