Author Topic: Understanding transistors  (Read 17755 times)

0 Members and 1 Guest are viewing this topic.

Offline bitmanTopic starter

  • Supporter
  • ****
  • Posts: 299
  • Country: us
  • Open Source Guy jabbing with Electronics
Understanding transistors
« on: May 17, 2017, 10:54:02 pm »
Another newbie question.  I'm running in circles, having tried several different approaches. I have a 12v line that I want a "high" from an arduino to turn on. Simple right? Well, every time I attempt anything with the few transistors I have (getting a better collection by the weekend) I don't see anything remotely as I thought I would.  In particular, as I tried this option https://electronics.stackexchange.com/questions/17581/best-way-to-get-5v-or-12v-or-0v-from-arduino-pin/17584 in particular this circuit:
nothing works.

So I've simplified things things, and I have a single 2N3906 PNP transistor (I know, not the one mentioned in the drawing - it's all I have). I apply 12v to the emitter. NOTHING to the base. And I measure 12v on the Collector. Base isn't even pulled to ground (if I do it short circuits so there's definitely something I don't get). If I measure the base I get about 6v on it? When I build the circuit referred here with a 2222 and 3906 all I get is a constant voltage regardless of applying a voltage to the base of the 2N2222a.

I've read and followed quite a few talks (youtube etc) and well, I thought I understood transistors. Granted, it's much easier for me to understand the NPN than PNP, but still I thought I had the basics down.  Even with 5 volts on the collector on an NPN I don't seem to be able to fully turn off the power. Not sure why - in particular I'm not sure why I see a voltage on the 2N3906 when I have nothing connected to the base, just the emitter (and the collector is going through a 2Kohm resistor to ground to simulate a small load).

My question is very simple. I obviously need a "dummies guide" here. What's a good source to get what's going on here? ALL I really wanted to learn was creating a switch using a transistor that turned on/off a higher voltage. And there in lies one of my issues I think. I'm focused on voltage, not current here. Is that the issue?
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Understanding transistors
« Reply #1 on: May 17, 2017, 11:30:30 pm »
A PNP transistor is exactly the wrong device.  The proper way to interface with voltage limited devices like uC IO pins is to use an NPN transistor - 2N3904

Here is more info but note that down under "gotcha's", you can't have a voltage higher than the uC Vcc.  In general, this is true.  There are exceptions but I won't go down that path.

http://www.w9xt.com/page_microdesign_pt8_pnp_switching.html

You can Google for 'Arduino PNP relay driver' to see what you can find.
 

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1938
  • Country: us
Re: Understanding transistors
« Reply #2 on: May 17, 2017, 11:38:59 pm »
First off, there is no black magic.  The electrons always know what they are doing.  The problem is when we think we have done everything right.  One or more of your transistors is damaged or not hooked up correctly.  Start with the 3906, with a 10K or so resistor connected to common it should be able to turn on and off.  Always have some load on it as just some noise in the air can turn it on somewhat.  Meters can be very sensitive.  Any drawings found on the internet are questionable.  The designs are often not suitable for you application.  Some transistors of relatively the same number can have different pin outs. So start with this simple test first.
 

Offline sokoloff

  • Super Contributor
  • ***
  • Posts: 1799
  • Country: us
Re: Understanding transistors
« Reply #3 on: May 17, 2017, 11:42:02 pm »
You have a 2N2222A in your hand. That's an NPN BJT, exactly what you want for this application, assuming you can "sink" the current from the load through the transistor (rather than "source" the current out of the circuit). If you can switch the low-side, it's a fairly trivial and standard circuit. Try to get that to work first, IMO.

Follow any of the various tutorials, using the 2N2222, and then tell us where/if you get stuck.
Here's one, semi-randomly chosen: https://teachmetomake.wordpress.com/how-to-use-a-transistor-as-a-switch/
« Last Edit: May 17, 2017, 11:44:19 pm by sokoloff »
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: Understanding transistors
« Reply #4 on: May 18, 2017, 12:16:45 am »
You may have blown some of your transistors. Particularly if you connected the base of the PNP transistor to 0v while the emitter is at 12V. If you did put the full current of the 12V supply through the transistor base, and you may have turned it into a lump of shorted metal internally.

Here is how to test the transistors:
https://www.electronics-notes.com/articles/test-methods/meters/multimeter-diode-transistor-test.php
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Understanding transistors
« Reply #5 on: May 18, 2017, 01:05:13 am »
in particular this circuit:
nothing works.

That circuit should work with a 2N2222A substituted for the 2N4401.
Check your pinout...

You will need to be certain that your uC output can get up to 5V or so.  I would put a 330 Ohm resistor in series with the 2N4401 base to limit the current from the uC.

Don't count on this circuit working with a 3.3V uC.  With the 12V and resistors shown, the base needs to get to 4.5V in order to get the transistor to turn on.  It will need more to get the transistor fully saturated (which may not be terribly important).

« Last Edit: May 18, 2017, 01:06:52 am by rstofer »
 

Offline bitmanTopic starter

  • Supporter
  • ****
  • Posts: 299
  • Country: us
  • Open Source Guy jabbing with Electronics
Re: Understanding transistors
« Reply #6 on: May 18, 2017, 01:11:04 am »
You may have blown some of your transistors. Particularly if you connected the base of the PNP transistor to 0v while the emitter is at 12V. If you did put the full current of the 12V supply through the transistor base, and you may have turned it into a lump of shorted metal internally.

I made myself a little gadget a long time ago that I've used to measure transistors, diodes etc. I'm color blind, so I have to measure everything that uses colors - makes me slow as snails doing anything but it's fun none-the-less.  I'm attaching two pictures here showing me testing both the PNP and NPN transistors in the circuit, and they both come up "working". I definitely made them go hot for a few seconds. But I use a current limiting PSU so the through-put is maxed out at 300 mA for this setup. That said, I've tried to replace the NPNs before and found no difference, knowing it came down to how I was using it and not something broken.

I'll check your link out, but so far I don't think that's the issue here.
 

Offline bitmanTopic starter

  • Supporter
  • ****
  • Posts: 299
  • Country: us
  • Open Source Guy jabbing with Electronics
Re: Understanding transistors
« Reply #7 on: May 18, 2017, 02:19:52 am »
Thanks for the advice - I went even further back to basic, recreated stuff I've done before and that worked. I still didn't see 0 volt (more about that in a moment) but I did see the LED go on/off on the collector side when the base got +5v (using 2n222a). So far so good.

Back to the not seeing 0 volts. I think I'm confusing potential with actual voltage. If I put the meter gnd on gnd, and place the plus on the collector pin, there's a voltage potential between that point and ground through the resistor and LED/Diode. However, if I place the meter on the emitter I get the voltage potential of +5v because the emitter is connected straight to ground. So I'm back to a question I've posted about before, on how to actually measure what voltage is being "turned on".  That said, when the transistor is "on", I get a full potential of 5v as there's now a straight line to ground. So I see a difference. I just didn't see 0 volt - again getting the current confused with voltage (potential). At least that's my working theory.

So what's the right way to measure? I took a picture of my setup on a bread board. I added back my booster to so I could get the 12v. I then connected the boosters + to the collector through a load resistor of about 1MOhm. I added a few comments on the picture indicating where I did the measurements, but you probably have to zoom in to see them. I'm absolutely NOT seeing 0v anywhere but that probably is how it should be. So that leads me to the question on how to determine if a basic 2222a transistor is turned on or off? I guess I have to find a way to measure current, and forget all about measuring voltage (potential)?
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: Understanding transistors
« Reply #8 on: May 18, 2017, 02:38:19 am »
Haven't you got the transistor around the wrong way? Looks like you have the emitter connected to the load resistor.
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Understanding transistors
« Reply #9 on: May 18, 2017, 02:58:04 am »
There's no chance of figuring out what that breadboard circuit should do without the corresponding schematic.

That said, why such a high value load resistor?  How about something reasonable like 1k or so?

You meter should probably have the black lead connected to ground or the negative output of the power supply.  Every measurement in a circuit like this is relative to common ground.
 

Offline bitmanTopic starter

  • Supporter
  • ****
  • Posts: 299
  • Country: us
  • Open Source Guy jabbing with Electronics
Re: Understanding transistors
« Reply #10 on: May 18, 2017, 03:46:05 am »
Haven't you got the transistor around the wrong way? Looks like you have the emitter connected to the load resistor.

The flat side is going away from the camera. When I look at the datasheet for the 2222A it seems it's "reverse" order from others I've used, so you have to turn it around from what you expect. At least what I would expect from the transistors I've dealt with in the past. So no, the resister is connected to the collector side. And there's another resistor on the base.
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: Understanding transistors
« Reply #11 on: May 18, 2017, 06:00:21 am »
http://www.onsemi.com/pub/Collateral/P2N2222A-D.PDF
http://s680.photobucket.com/user/sorgil613/media/Elelctronics%20Components/Transistors/PN22222-h.jpg.html

Here are two datasheets of variants from the same manufacturer with the opposite pinout. It comes down to the exact manufacturer and part number. The 2N2222A is actually a metal can transistor. Many manufacturers called the plastic TO92 variant PN2222A with the emitter on pin1 or in the case of Onsemi (Motorola in the old days) P2N2222A for the version with the collector on pin1.

One way of checking is to check the emitter-base and  collector-base diode junctions with a diode mode on a multimeter. The emitter-base junction will have a lower voltage because it is more heavily doped.

If you reverse the emitter and the collector, you will end up with a much lower gain transistor and also the emitter-base junction when used as a collector-base junction breaks down like a zener at 5V to 9V.


« Last Edit: May 18, 2017, 06:04:24 am by amspire »
 
The following users thanked this post: bitman

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1938
  • Country: us
Re: Understanding transistors
« Reply #12 on: May 18, 2017, 09:55:08 am »
I wanted to start with first steps, but I probably should have said not to use that circuit. That circuit is too clever for you or most anyone.  It is a very fast way to blow up a micro should anything go wrong.  Modify it so the base of Q1 has the 4.7K going to your signal source.  The emitter resistor is eliminated and connected directly to common.  This will define how much current goes through the base. That multiplied by the gain of the transistor how much current the collector is capable of.

The direct connection of the collector to the base of the other transistor is really bad. Use a 2.2K to 4.7K resistor between the two.  That will define how much current the base will see. Multiplying the gain will give the current  Q2 is capable of driving. All very straightforward.

The circuit you posted will destroy things quickly if anything is no connected correctly.

 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: Understanding transistors
« Reply #13 on: May 18, 2017, 12:16:29 pm »
I wanted to start with first steps, but I probably should have said not to use that circuit. That circuit is too clever for you or most anyone.  It is a very fast way to blow up a micro should anything go wrong.

What this circuit?


What's wrong with it? I'd probably reduce the value of R3 for faster switching but otherwise it's a good circuit. I've used it before with no problems.
 

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1938
  • Country: us
Re: Understanding transistors
« Reply #14 on: May 18, 2017, 01:15:44 pm »
"It is a very fast way to blow up a micro should anything go wrong."

I think that is self explanatory.  I didn't say it didn't work.  The OP has not managed to hook up two transistors without destroying them. It is harder for a beginner to understand the principles of operation. I have a problem with R1.  I don't think you are helping this person with these diversions. Focus on trying to help him instead of trying to show how smart you are.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: Understanding transistors
« Reply #15 on: May 18, 2017, 02:28:52 pm »
"It is a very fast way to blow up a micro should anything go wrong."

I think that is self explanatory.  I didn't say it didn't work.  The OP has not managed to hook up two transistors without destroying them. It is harder for a beginner to understand the principles of operation. I have a problem with R1.  I don't think you are helping this person with these diversions. Focus on trying to help him instead of trying to show how smart you are.
It isn't self explanatory to me, and possibly the original poster too, how that circuit can blow an MCU output. By explaining what you may consider to be obvious, you'll help both the original poster and me.
 
The following users thanked this post: tooki

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1938
  • Country: us
Re: Understanding transistors
« Reply #16 on: May 18, 2017, 03:53:49 pm »
If the OP uses good parts and connects it as it is supposed to, it will work.  Then why are we here?  He didn't. If it had been connected to a NANO, the conversation may have been about cheap Chinese stuff that never works. The "base" input could output a lot of current if it isn't the base or the transistor magically shorts. Of course, it could have just barely worked because, being a high side driver, he is likely trying to power something that needs a lot more current and R1 is a little high for that. 

This thread will descend into that other thread, equivalent to how to connect a light bulb, that is 8 pages and 99% of the posts don't even relate to the OP's problem. That poster hasn't returned. Did he really get any help?  I will only respond to any future posts of the OP. Your last post was a waste of good bandwidth. Good Day.
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3240
  • Country: gb
Re: Understanding transistors
« Reply #17 on: May 18, 2017, 04:21:13 pm »
You have created unnecessary confusion by stating this circuit is "too clever for you or most anyone" when there's nothing actually wrong with it.  The OP could blow up the ports on his micro with a myriad of different circuits if he doesn't assemble them correctly, there's nothing particularly risky about this circuit.
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Understanding transistors
« Reply #18 on: May 18, 2017, 04:52:21 pm »
One of the risks in this project is applying 12V to a uC output pin, with or without a series base resistor.  That the schematic doesn't even show a base resistor causes me an issue.  The only reason the circuit works is that 4.3k resistor that raises the emitter voltage which raises the base voltage to a point where the current flow doesn't harm the uC.  I would still put a 330 Ohm resistor in series with the NPN base.  I pretty much use 330 Ohm in series with all inputs and outputs just to protect the uC or FPGA.

I ran an LTSpice simulation with no base resistor and the base current is just 10 uA but I only had a 1k load on the output.

The thing about transistor circuits is that you must start with the output current and work backwards.  I don't recall a load being given for the PNP transistor.  First we get that current, then we guess at the required base current based on some estimate of hFE then we figure out how much collector current the NPN (base current of PNP plus 10k resistor current) will have and with another estimate of hFE for the NPN, we get a required base current.

That 4.3k resistor limits the PNP base current and needs to be reconsidered.  The simulation works with a 1k load, it does not work with a 10 Ohm load.

 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: Understanding transistors
« Reply #19 on: May 18, 2017, 05:48:12 pm »
One of the risks in this project is applying 12V to a uC output pin, with or without a series base resistor.  That the schematic doesn't even show a base resistor causes me an issue.  The only reason the circuit works is that 4.3k resistor that raises the emitter voltage which raises the base voltage to a point where the current flow doesn't harm the uC.  I would still put a 330 Ohm resistor in series with the NPN base.  I pretty much use 330 Ohm in series with all inputs and outputs just to protect the uC or FPGA.

I ran an LTSpice simulation with no base resistor and the base current is just 10 uA but I only had a 1k load on the output.

The thing about transistor circuits is that you must start with the output current and work backwards.  I don't recall a load being given for the PNP transistor.  First we get that current, then we guess at the required base current based on some estimate of hFE then we figure out how much collector current the NPN (base current of PNP plus 10k resistor current) will have and with another estimate of hFE for the NPN, we get a required base current.

That 4.3k resistor limits the PNP base current and needs to be reconsidered.  The simulation works with a 1k load, it does not work with a 10 Ohm load.



The base current is independent of the load current and is set by R3, so there's no need for any base resistor which will do nothing.  I agree, the load current needs to be considered. As drawn, the circuit will be able to supply loads of up to 50mA or so before the saturation voltage becomes unacceptable (>1V or so).

Another newbie question.  I'm running in circles, having tried several different approaches. I have a 12v line that I want a "high" from an arduino to turn on. Simple right? Well, every time I attempt anything with the few transistors I have (getting a better collection by the weekend) I don't see anything remotely as I thought I would.  In particular, as I tried this option https://electronics.stackexchange.com/questions/17581/best-way-to-get-5v-or-12v-or-0v-from-arduino-pin/17584 in particular this circuit:
nothing works.

So I've simplified things things, and I have a single 2N3906 PNP transistor (I know, not the one mentioned in the drawing - it's all I have). I apply 12v to the emitter. NOTHING to the base. And I measure 12v on the Collector. Base isn't even pulled to ground (if I do it short circuits so there's definitely something I don't get). If I measure the base I get about 6v on it? When I build the circuit referred here with a 2222 and 3906 all I get is a constant voltage regardless of applying a voltage to the base of the 2N2222a.

I've read and followed quite a few talks (youtube etc) and well, I thought I understood transistors. Granted, it's much easier for me to understand the NPN than PNP, but still I thought I had the basics down.  Even with 5 volts on the collector on an NPN I don't seem to be able to fully turn off the power. Not sure why - in particular I'm not sure why I see a voltage on the 2N3906 when I have nothing connected to the base, just the emitter (and the collector is going through a 2Kohm resistor to ground to simulate a small load).

My question is very simple. I obviously need a "dummies guide" here. What's a good source to get what's going on here? ALL I really wanted to learn was creating a switch using a transistor that turned on/off a higher voltage. And there in lies one of my issues I think. I'm focused on voltage, not current here. Is that the issue?
You haven't said how much current your load draws?

Try assembling the circuit as per the attached picture. If your transistor tester is working, the pins on the transistor pictures will be correct. For a test load, use something which doesn't draw much current, such as an LED in series with a 330R resistor or a small (<50mA) piezo buzzer.

« Last Edit: May 18, 2017, 05:50:03 pm by Hero999 »
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Understanding transistors
« Reply #20 on: May 18, 2017, 06:56:33 pm »
Something I remember confusing me early on which may be going on here. The Emitter is always the one with the arrow on it, even though with a PNP connection the arrow is pointing toward the junction rather than away from the transistor. Without going into the reasoning of why that is, or getting into the conventional theory vs electron theory debate it's important to remember that current is assumed to flow in the direction of the arrow.

With NPN, you need to lift the base up relative to the emitter which is typically grounded in a switching circuit. With a PNP you need to pull the base down relative to the emitter which is typically connected to the V+ source. In both cases the base needs to be protected with a current limiting resistor as transistors are current-driven devices. Trying to drive a constant voltage through the B-E junction will burn it out.
« Last Edit: May 18, 2017, 06:58:43 pm by james_s »
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Understanding transistors
« Reply #21 on: May 18, 2017, 08:26:10 pm »

The base current is independent of the load current and is set by R3, so there's no need for any base resistor which will do nothing.  I agree, the load current needs to be considered. As drawn, the circuit will be able to supply loads of up to 50mA or so before the saturation voltage becomes unacceptable (>1V or so).


Yes, the base current is the independent variable.  We can put as little or as much through the base as we wish, subject to not melting the base-emitter junction.  The collector current, the thing we really want, is determined primarily by the base current.  If we only have a few microamps of base current and a gain of, say, 100, we will only get a few hundred microamps of collector current.

So, that 4.3k resistor needs to be sized to provide enough collector current and in this case, the maximum base current is approximately 1 mA.  So, for an fFE on the PNP of, say, 100, the maximum collector current will be 100 mA.  So a load resistance of 120 Ohms is about the maximum.

The simulation shows the output just starting to fall off 12V when RL is 150 Ohms.  I just used generic transistors so I'm not sure what value of hFE is being used.  Somewhere around 85 mA is the maximum load current.   According to the simulation, using a 150 Ohm load, the PNP base current is just about 890 uA so with a gain of 100, somewhere near that 85 mA is possible.

Clearly, this isn't much of a driver using the values given.

But, we still don't know the load requirement (or at least I don't).
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: Understanding transistors
« Reply #22 on: May 18, 2017, 10:02:09 pm »

The base current is independent of the load current and is set by R3, so there's no need for any base resistor which will do nothing.  I agree, the load current needs to be considered. As drawn, the circuit will be able to supply loads of up to 50mA or so before the saturation voltage becomes unacceptable (>1V or so).


Yes, the base current is the independent variable.  We can put as little or as much through the base as we wish, subject to not melting the base-emitter junction.  The collector current, the thing we really want, is determined primarily by the base current.  If we only have a few microamps of base current and a gain of, say, 100, we will only get a few hundred microamps of collector current.

So, that 4.3k resistor needs to be sized to provide enough collector current and in this case, the maximum base current is approximately 1 mA.  So, for an fFE on the PNP of, say, 100, the maximum collector current will be 100 mA.  So a load resistance of 120 Ohms is about the maximum.
Be careful when going by Hfe figures listed on data sheets. They're often given when the transistor is not in saturation and there will be a high voltage loss, if you just about give the transistor enough base drive for the required collector current. To get the transistor into full saturation the base current needs to be an order of magnitude higher. Fortunately the 2N3906 specifies the Hfe of 60, at a VCE = 1V which is probably acceptable for a 12V circuit.

https://www.onsemi.com/pub/Collateral/2N3903-D.PDF
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Understanding transistors
« Reply #23 on: May 18, 2017, 11:05:16 pm »

Be careful when going by Hfe figures listed on data sheets. They're often given when the transistor is not in saturation and there will be a high voltage loss, if you just about give the transistor enough base drive for the required collector current. To get the transistor into full saturation the base current needs to be an order of magnitude higher. Fortunately the 2N3906 specifies the Hfe of 60, at a VCE = 1V which is probably acceptable for a 12V circuit.

https://www.onsemi.com/pub/Collateral/2N3903-D.PDF

I usually assume a MUCH lower value of hFE, perhaps as low as 10 unless it is a power transistor and then definitely 10 or less (2N3055).  From the On Semi datasheet for the 2N3904, we can see the truly grim gain characteristics for the On condition of Vce about 1V.

https://www.onsemi.com/pub/Collateral/2N3903-D.PDF - page 2

Using an hFE of 10 isn't unreasonable.  If the output stage has a load of 100 mA then the PNP will need at least 10 mA of base current so the NPN will need at least 1 mA of base current.

But regardless of the value of gain, the process begins at the output.  First we need the load current.  Then the datasheets...
 

Offline bitmanTopic starter

  • Supporter
  • ****
  • Posts: 299
  • Country: us
  • Open Source Guy jabbing with Electronics
Re: Understanding transistors
« Reply #24 on: May 19, 2017, 12:49:38 am »
Wow - thanks for all the replies here. Note, I only have a few hours at night spread over the week to do this, so I'm a bit slow with replies and followups.

I took the initial posts realizing I needed to make a small test circuit to "prove" I could get the transistor working. As it's been pointed out there, I've had the transistors turned the wrong ways at times - looks like there's no consistency on the pin connections even using the model number - well, another newbie lesson learned. And yes, it is really confusing when most data sheets just shows the metal cap and others are bad photo-copies scanned in.  That said, I managed to get a very simple 5v setup working. When I applied current through a resistor on the base, rgw LED turned on. I even got it to reverse so the LED turned off when I applied a current to base. Happy camper, it works as I hoped it would. So that got me thinking that all I needed was ONE transistor so I created this small circuit  This is part of a slightly larger of my EEPROM writer/reader thing - I've left out a lot details that doesn't deal with the transistor side.

In essence I'm getting outputs from a 74-595. Only ONE line is going to be active at a time (software controlled). When the A line is high, I want to apply 14v, when the B line is active, I want 12v and when the C line, I want the lined grounded. This goes into a W27C512's OE line needed to indicate the state of the operation (read, write, erase). I combine the emitter output through a diode so there's no feedback current/voltage.  Now, I wouldn't be writing this if this worked.

So I started out with the two transistor option, as that is what searching around seemed to indicate I needed. Since I'm not able to fully explain WHY I need 2, I have attempted what I thought was a more straight forward solution. Since I got a bunch of 3906 and 2222As for a few dollars on Ebay I have plenty to experiment with, to destroy so if that happens it's not a big deal. Perhaps they're not the best ones for this, but my simple reading of the data sheet seems to indicate they're safe up to 20v and since my current need/input is low I didn't think I needed "specialized" transistors for a small proof of concept.

Of everything written so far by everyone, it's clear "I don't get it". The simple math stuff being used to explain the resistor sizes is foreign to me. Not the math itself, but why it's used. So I definitely need to go back to basis. I'm slowly going through the book "Practical Electronics for inventors, fourth edition" when I have time. But so far it's been great at putting me to sleep - talking quantum physics when all I want to do is figure out how to do simple logic based circuits is a bit too much for me. I've not yet gotten to the transistor section yet so I probably should give my experiments a rest and do some reading (I learn best by doing). I definitely need to get a better understanding of hFE and similar concepts so I can measure/plan out what will work. A lot of what I've done so far is simply trying things out with low voltage and limiting the current to 200mA (or use a battery).

So if the original layout/schema is the way to go,  I'll setup another separate circuit and give it a try. I did try with 14V on the collector and that seemed to work. Only problem is that I always get the potential voltage when I measure the C/E of the transistor - so I'm not really sure it's actually working with 14v. It didn't get hot etc. so it looked like it was working.

So now that I've showed a rough diagram of what I now thought was the better solution, I'm sure the feedback will be even heavier on what not to do. Anyway, my problem is that when I measure on the voltage where pin 14 will be, I do even remotely see the voltages I see on the collector. And the emitter currents are MUCH SMALLER (50% or so) than what's coming in on the collector (voltage potential) so well, I'm not sure why that is.

Thanks again for the feedback. Amazing forum and people here.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf