Go Down

Topic: Transistor not fully turning off. (Read 2738 times) previous topic - next topic

pYro_65


Hi, I have a slight problem I have traced down to a transistor not turning off fully. It is a 2n3906.

I control two 'common cathode RGB led' cathodes with a 2n3904 and 2n3906, the base resistors go to the same digital pin. Effectively when HIGH, the 3904 side is active, LOW the 3906.

I have tried pulling various things HIGH & LOW but I still can't get the 3906 to fully turn off. Is there some sort of de-coupling needed? Or maybe diodes to prevent the 3904 interacting?

I connected another 3904 to the common ground of the two transistors with its base LOW. With this separate transistor off the LED still had a slight illumination which confused me more.

I'm in the middle of spreading my design over a larger breadboard to debug easier, so I will try do up some schematics if I cannot explain clearly enough.

Any insight is appreciated. Cheers.

SurferTim

The output of the digital pin may not be high enough to turn off the PNP transistor. I use a second resistor from the transitor base to the power supply.

V+ -- R1 -- base -- R2 -- digital pin

pYro_65

I just gave that another whirl, equal resistors for R1 & R2 leaves the led illuminated the tiniest amount, but never turns on fully. With R2 = R1 * 1.3 the PNP is clearly open.

I have a spare buffer chip somewhere, I'll wire it up to see if it can turn off the PNP fully.

SurferTim

#3
Sep 26, 2012, 01:40 pm Last Edit: Sep 26, 2012, 01:46 pm by SurferTim Reason: 1
Quote
With R2 = R1 * 1.3 the PNP is clearly open.

Open meaning not conducting and LED is off?

edit: If you have a buffer that is open collector output, that would be best.

pYro_65

No I meant the PNP is allowing current through/closed circuit.
The buffer is a CD4050BE.

With and without a base resistor from buffer to PNP base the LED still lights up. I'll do up a circuit to post soon if more tests fail.

SurferTim

Are you certain you do not have the PNP connected reverse polarity? Emitter to power, collector to load.
http://www.fairchildsemi.com/ds/2N/2N3906.pdf

Grumpy_Mike

You always need a base resistor for what you are doing. A schematic will allow us to see what you are actually doing, your description is very ambiguous.

MarkT

Absolutely we need to see the schematic.
[ I won't respond to messages, use the forum please ]

pYro_65

Yeah I'm doing a schematic up as we speak, its taking a while so I'm going to finish it tomorrow.

Grumpy_Mike

One thing that always puzzled me is how the hell you can make anything without a schematic. I know I can't.

SurferTim

#10
Sep 27, 2012, 01:10 pm Last Edit: Sep 27, 2012, 01:16 pm by SurferTim Reason: 1
@Grumpy_Mike: I normally agree with your statement on more complex circuits, but I would not need a schematic for this.

edit: A picture might help in this case. My concern is the PNP transistor is connected "backwards" (collector to power, emitter to load).

dhenry

Quote
My concern is the PNP transistor is connected "backwards" (collector to power, emitter to load).


That will work too, especially for turning the circuit off.

It just has low beta if wired backwards.

SurferTim

@dhenry: You are probably correct. I just can't remember what happens to the base-emitter current in reverse polarity.

Grumpy_Mike

While we all twiddle our thumbs waiting for this maybe mythical schematic:-

Quote
I just can't remember what happens to the base-emitter current in reverse polarity.

If you swap the collector and emitter round on a transistor it will still work but with a much reduced gain.

Quote
but I would not need a schematic for this.

And how many times do you screw it up? I always draw out something that involves three components or more.


SurferTim

...and what happens to the base-emitter current? The base and collector are at +5v, and the emitter is at ground. Is there no current passing from the base to the emitter in this configuration? I can't remember.

At this level of complexity, not in a long time! This should be three components. Two resistors and a transistor.

And I make as many of these kind of mistakes if I am using a schematic or not. A schematic does not prevent me from installing a transistor incorrectly. I have blown up my share of transistors, and most using a schematic. :)

Go Up