LED flasher with transistors and capacitors - explaination

Thread Starter

k1mzz

Joined Jul 31, 2016
16
Hi

I have a circuit diagram consisting of LEDs, capacitors and transistors as shown in the image below:
t-flash2.gif
I built this and the LEDs successfully flash between each other. I am struggling to understand what exactly is going on here though... I understand the basics of transistors and capacitors, but don't understand what is happening here to cause the flashing.
Is anyone able to explain this in a simple way?
Also, based on this, is it possible to make a version of this with a single transistor and capacitor that flashes just one LED (if I omit one LED and connect a capacitor to 5v through a 220R resistor, this works, but surely I would be able to remove a capacitor and a transistor too)?
Thanks :)
 

Thread Starter

k1mzz

Joined Jul 31, 2016
16
That link is very confusing - I'm not sure where to begin... Is there a variant of the above that can be built with a single transistor, capacitor and resistors that works on 5V? Starting simpler would be best for me!

There are a few circuits that do incorporate the above, however, they all require a 12V supply. I only have 5V available.

Thanks
 

Thread Starter

k1mzz

Joined Jul 31, 2016
16
Thanks; I've seen this one, but it only works at 12V. Why doesn't this work at 5V when the circuit shown in my first post does? (capacitor and transistor substituted)
 

ericgibbs

Joined Jan 29, 2010
18,848
It works by using the transistors Base Emitter reverse breakdown voltage.
The breakdown voltage needs to be greater than 5v for it to breakdown.
 

Thread Starter

k1mzz

Joined Jul 31, 2016
16
It works by using the transistors Base Emitter reverse breakdown voltage.
The breakdown voltage needs to be greater than 5v for it to breakdown.
Does this apply to the PN2222? I just built the circuit on that page and gave it 12V, however, the LED stays on constantly... I used a 220R resistor in series with the 100uF capacitor...
 

Thread Starter

k1mzz

Joined Jul 31, 2016
16
Thanks for that - that's what I have built initially, but couldn't understand how it worked. It doesn't look like there are any simple explanations of how this operates anywhere!

With regards to post #4, the idea makes sense, although the circuit doesn't work when built - the LED stays on (I replaced the transistor in their diagram with a PN2222 and the capacitor with a 100uF one...)
 

Thread Starter

k1mzz

Joined Jul 31, 2016
16
Thanks for that and your assistance throughout. I will check these out.

In general, this seems to be a poorly explained topic - a guide that expresses these concepts simply would be great!

Cheers :)
 

MrChips

Joined Oct 2, 2009
30,806
Look at the original two-transistor circuit and you will notice that it is symmetrical. So we have a see-saw type circuit that is called an astable oscillator. When one transistor is ON, the other transistor is OFF.

There is another way of drawing that circuit which might help you to understand what is going on.
Oscillator.png

The circuit consists of two identical common emitter transistor stages cascaded. Each common emitter stage is an inverter, i.e. the output at Q1 collector is 180° out of phase from the input at the base of Q1. The output from the first stage is coupled to the second stage via a coupling capacitor C1. Since the second stage is also an inverter, the output of the second stage Q2 is now back in phase with the signal at the base of the first transistor Q1. The output of Q2 is connected back to the base of Q1 via coupling capacitor C2. This creates a positive feedback loop.

With positive feedback in an amplifier, the output would hit either one of the power rails and stay there. Now, if we introduce a time delay in the feedback loop, the two transistors will flip-flop back and forth, hence creating an astable circuit. The time delay is created by the C1-R3 and C2-R1 coupling between the two stages.

Hope this helps.
 

Thread Starter

k1mzz

Joined Jul 31, 2016
16
Thanks for that MrChips. Set out like that makes it easier to "read".

I understand how this circuit works (yours without the capacitors):

t-flash2.gif

However, I can't see how adding those would make each one flash on/off. I thought as the capacitors charged, the current they passed dropped off to zero...
 

MrChips

Joined Oct 2, 2009
30,806
As shown, both transistors would be conducting and both LEDs would be lit.
This is where the capacitors come into play. On first POWER ON, both capacitors are discharged and will start charging through its pull up resistor R1 or R3. Now, no two components are identical and hence one capacitor will charge faster than the other. Hence one transistor (let's assume Q1) is going to start conducting before the other. The slow transistor circuit Q2 will be pushed harder into the OFF state while the first transistor Q1 is turned ON.

Now C1 starts to charge up and switches Q2 ON. This pulls the base of Q1 to a low voltage and turns Q1 OFF.

The cycle repeats indefinitely.

The answer you are seeking is, there are very few one-transistor circuits that will self oscillate. These are:

1. Relaxation oscillator
2. Uni-junction transistor
3. Circuit with feedback such as Joule Thief or RF oscillator circuits.
 

Jony130

Joined Feb 17, 2009
5,488

Thread Starter

k1mzz

Joined Jul 31, 2016
16
Thanks for sharing this - I missed this initially! I will have a read through this before posting back.
 

AnalogKid

Joined Aug 1, 2013
11,043
Does this apply to the PN2222? I just built the circuit on that page and gave it 12V, however, the LED stays on constantly... I used a 220R resistor in series with the 100uF capacitor...
Both the resistor and the capacitor are way too small. Your time constant is R x C = 220 x .0001 = 0.022, or about 45 Hz. Your LED might be flashing too quickly to see.

In the original circuit the time constant is 1000 x .0033 = 3.3, or one flash every 3 seconds.

ak
 
Top