Shop OBEX P1 Docs P2 Docs Learn Events
Bnch of transistors trying to wire them up now — Parallax Forums

Bnch of transistors trying to wire them up now

whiteoxewhiteoxe Posts: 794
edited 2014-08-09 22:12 in General Discussion
Is there an east way to tell by looking at thre transistor with the flat area facing you laying on the table , which is the emitter, the one on the right hand side ?
«1

Comments

  • Dr_AculaDr_Acula Posts: 5,484
    edited 2014-08-08 17:45
    It depends what sort of transistor. What is the part number?

    In the olden days I would look it up in a big book. These days, I get on Google, type the part number (eg BC547) and click on Images.
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2014-08-08 18:25
    re: I get on Google, type the part number (eg BC547) and click on Images.

    Also, if you add the word PDF to the search it can find a spec sheet.

    I like to use this online resource as well :

    http://nte01.nteinc.com/nte\NTExRefSemiProd.nsf/$all/AB409E070C58A7B9852579A30083D4B5?OpenDocument
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-08-08 18:29
    Usually the order, looking at the flat side with the leads pointing down is E B C, regardless of whether it's NPN or PNP. But do not rely upon that unless you like releasing the magic smoke. Look up the part number, as others have suggested.

    -Phil
  • Mark_TMark_T Posts: 1,981
    edited 2014-08-08 18:36
    Its worse than that, the same part number can be available in different pinouts for the same package (rare) - so if in any doubt
    double-check with the transistor tester on your multimeter if it has one or the diode-testing mode if not. That also catches most
    duds
  • ercoerco Posts: 20,256
    edited 2014-08-08 18:40
    Some multimeters have a transistor socket built in, with a test function which will give you the pinout and beta reading. And there are cheap component testers available: http://www.ebay.com/itm/Transistor-Tester-NPN-PNP-Mosfet-Diode-Capacitors-Resistors-tester-/131121198504?pt=LH_DefaultDomain_0&hash=item1e876eb5a8
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-08 19:14
    whiteoxe wrote: »
    Is there an east way to tell by looking at thre transistor with the flat area facing you laying on the table , which is the emitter, the one on the right hand side ?

    Easiest way is to test with the meter on diode range, that way you can confirm which is the base and whether it's NPN or PNP obviously, and by observing the diode voltage drop you can pick out which one is the emitter and collector as the collector reads ever so slightly less.

    However most small signal transistors are like this:
    ..B
    E..C
    === FLAT
    (BOTTOM VIEW)

    The heavier duty TO92s will use the center pin for the collector though as that is simply the way it's constructed with the silicon bonded to the internal metal tab that becomes the middle pin.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-08-08 19:31
    Peter,

    I think you meant, "top view."

    -Phil
  • WhitWhit Posts: 4,191
    edited 2014-08-08 19:49
    Getting the data sheets as Bob suggested is also a great way to learn - even if much of the info is over you head. You can still read and take in what make sense at this time. Later as you learn more - more will make sense.

    Have fun!
  • whiteoxewhiteoxe Posts: 794
    edited 2014-08-08 19:59
    Usually the order, looking at the flat side with the leads pointing down is E B C, regardless of whether it's NPN or PNP. But do not rely upon that unless you like releasing the magic smoke. Look up the part number, as others have suggested.

    -Phil
    Ok , its c337 ph or pm 5, ill google it and try images first ! then if i must a data sheet.

    erco wrote: »
    Some multimeters have a transistor socket built in, with a test function which will give you the pinout and beta reading. And there are cheap component testers available: http://www.ebay.com/itm/Transistor-Tester-NPN-PNP-Mosfet-Diode-Capacitors-Resistors-tester-/131121198504?pt=LH_DefaultDomain_0&hash=item1e876eb5a8

    Interesting link Erco, Ill try part numbers though. And my multi meter was a bargain, like 20 bucks, I even used it in the ceiling of my brothers house when running new wires everywhere, just had to know which wire was positve or ground. But other than that i don't know what to use it for or how other and voltage and ohms, its also got amps selector so I really need to begin using that. Here a pic, my close ups are still poor i really need to read the direction manual! THe 5+ Megabytes is ridiculous for this photo, I can set it to take kilobytes but Ill experiment to see how they enlarge ? .

    Easiest way is to test with the meter on diode range, that way you can confirm which is the base and whether it's NPN or PNP obviously, and by observing the diode voltage drop you can pick out which one is the emitter and collector as the collector reads ever so slightly less.

    However most small signal transistors are like this:
    ..B
    E..C
    === FLAT
    (BOTTOM VIEW)

    .
    Sounds good ,Feels good :) I'll still check google......


    multimeter_zpsb7f7219e.jpg

    There is no where to plug in components, it will test capacitors which Ive only just noted . But its good for the price around 20 dollars and I really like the automatic ranging when testing resistors. I once had a $10 multimeter but it was a pain to use.
    and PS. I bought a cheap pair of 4+ magnifed reading glasses so i didnt have to always use that little monacle type magnifier., even soldering its useful but the +2 glasses seem to keep me away from the fumes better when its over hot, the iron. Im saving up my 1 dollar coins to buy a better iron. Ive seen my 60 watt iron, or one just like it on ebay for $3 no postage. no wonder its junk. I just hope its insulated properly :)
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2014-08-08 20:57
    re: c337

    try 2sc337
  • whiteoxewhiteoxe Posts: 794
    edited 2014-08-08 21:14
    npn6volts_zps2c1c15ef.png



    Its an NPN C337

    and this is my crude way using a simulator to see it work by lighting up a LED by applying voltage to the base.

    I coulnt find a microcontroller symbol so this will have to do. There is a lot more current flowing to the base than needs be but it didn't blow up so its an OK start at simulating I think !


    The next step is actually using a breadboard until it works !

    edit:current ....voltage one of them , volts is what i meant to say.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-08 21:29
    Those are BC337s, kinda like the 2N2222s but also good for a bit of current (800ma) and high gain (typ 300).

    @Phil, IC's are normally shown top view but transistors traditionally are shown bottom view.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-08-08 22:02
    @Phil, IC's are normally shown top view but transistors traditionally are shown bottom view.
    My point, though, was that the pinout was wrong if it was meant as a bottom view, but correct when viewed from the top.

    -Phil
  • Heater.Heater. Posts: 21,230
    edited 2014-08-08 22:17
    whiteoxe,

    That is an interesting circuit to play with. It's not what you want to light up the LED but educational.

    My guess was that those 1K resistors are trying to set the base to 3v. Given the voltage drop base to emitter and the voltage required to push current through a LED no base current can flow into the base, the transistor is not switched on and the LED won't light.

    We could crank up the supply voltage. Eventually the base is lifted above those voltage drops I mentioned and current runs through it through the emitter and LED. But now we are turning the transistor on quite hard and a lot of current falls down through the collector due to the current gain of the trany. Poof the LED explodes. Well, except you have that 200 ohms to limit that emergency a bit.

    A quick simulation shows this is so. Somewhere above 6v supply the LED current runs away. See attached plot from LTSpice.

    Notice the voltage across the LED (green) flattens out around 3.8v. This varies with LED colour. Notice how the LED current shoots up out of control around that voltage level.

    attachment.php?attachmentid=110246&d=1407561110
    548 x 490 - 8K
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-08 22:19
    My point, though, was that the pinout was wrong if it was meant as a bottom view, but correct when viewed from the top.

    -Phil

    Notice here transistors are tipped on their side to show the bottom view just like they did with the old tubes/valves which preceded them. This pic has the base inline but on many others the base is bent away as in my diagram:
    ..B
    E..C
    === FLAT
    (BOTTOM VIEW)
    Screenshot from 2014-08-09 15:15:10.png

    So bending the base back in it is still correct. Yes/No?
    EBC
    === FLAT
    (BOTTOM VIEW)
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-08 22:28
    Heater. wrote: »
    whiteoxe,

    That is an interesting circuit to play with. It's not what you want to light up the LED but educational.

    My guess was that those 1K resistors are trying to set the base to 3v. Given the voltage drop base to emitter and the voltage required to push current through a LED no base current can flow into the base, the transistor is not switched on and the LED won't light.

    We could crank up the supply voltage. Eventually the base is lifted above those voltage drops I mentioned and current runs through it through the emitter and LED. But now we are turning the transistor on quite hard and a lot of current falls down through the collector due to the current gain of the trany. Poof the LED explodes. Well, except you have that 200 ohms to limit that emergency a bit.

    A quick simulation shows this is so. Somewhere above 6v supply the LED current runs away. See attached plot from LTSpice.

    Notice the voltage across the LED (green) flattens out around 3.8v. This varies with LED colour. Notice how the LED current shoots up out of control around that voltage level.

    In a grounded emitter the voltage divider only works as such when the input voltage is less than 0.6V but since is 1:1 so half Vin it only needs 1.2V in before it will turn on and clamp and then practically all the current will flow through the base emitter. In Mike's emitter follower circuit I would say that the voltage divider is low enough in resistance to not be affected too much by the combined Rbe*Hfe so it should hold close to 3V while the LED will see 2.6V except it will clamp (within it's limits of course) close to 1.8V for a red LED with >10ma. So yes, Mike's circuit is all wrong for this type of thing.
    @Heater, I'm puzzled by the traces, do you have the correct values there? Can you post the schematic as well?
    BTW, I'm expecting the LED to exhibit real resistance just like Rbe does too, maybe the sim doesn't take that into account.
  • Heater.Heater. Posts: 21,230
    edited 2014-08-08 22:39
    Here we go:

    attachment.php?attachmentid=110248&d=1407562570
    509 x 492 - 9K
  • Heater.Heater. Posts: 21,230
    edited 2014-08-08 22:50
    Why is it puzzling? At first glance this looks like an emitter follower configuration. Sure enough if you plot the base and emitter voltages as the supply goes up that is what it is. Only the LED starts to conduct after 3.2 volts which flattens out any voltage rise at the emitter and consequently the base.
  • Heater.Heater. Posts: 21,230
    edited 2014-08-08 23:05
    Basically that transistor is not doing anything for us.

    But there something very interesting going on with the collector voltage in there:

    attachment.php?attachmentid=110251&d=1407564309
    548 x 491 - 6K
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-08-09 00:20
    Peter,

    In my experience, that's an unusual pinout. This is much more common:

    PN2222-250x250.jpg

    Every TO92 BJT I've ever used has the above pinout, both NPN and PNP.

    -Phil
  • whiteoxewhiteoxe Posts: 794
    edited 2014-08-09 00:24
    ill run that file tonight thx
  • GenetixGenetix Posts: 1,754
    edited 2014-08-09 01:14
    We have 2N series transistors here in the US but in Europe and other places they use BC series. I have a list somewhere of some of the more common equivalents.

    Whiteoxe, Chapter 9 of What's a Mirocontroller gives a good introduction to transistors and the 2N3904 is a very common NPN. Your meter looks like it has a diode check feature. Remember that you can think of a transistor as 2 diodes back to back.
    NPN ---> N-P / P-N
    PNP ---> P-N / N-P
    The Base to Emitter will be one diode and Base to Collector will be the other.
    A diode conducts in only one direction.

    Heater, can you explain biasing because I know the resistors adjust the voltage levels but I never understood how it looked. In Parallax circuits there is usually only a base resistor but in hobby and hobby circuits there are resistors all over the place and the values can vary from circuit to circuit.
  • Heater.Heater. Posts: 21,230
    edited 2014-08-09 02:26
    Genetix,

    How you bias a transistor is all to do with what you want it to do. Will it just be a switch? Or a linear amplifier? Or a voltage follower? And so on.

    In amplifiers you might want to set up the biasing so that the output of the transistor with no signal present sits at half the supply voltage, that gives the maximum room to wiggle up and down when delivering the output signal. That might take three resistors all ready and perhaps a capacitor. You probably want some feed back around that to control the voltage amplification and lower distortion, so there is another resistor or two and perhaps a cap.

    In the case of whiteoxe and his LED we only want a transistor to work like a switch.

    So first we need a resistor to limit the current through the LED. A normal white [ See edit below ] LED will consume say 10ma and require a 3v drop across it to do that. Our power supply is 6v so we need to drop 3v across that resistor. Ohms law tells us the resistor should be 300 ohms.

    We put the transistor at the bottom of this chain, emitter to ground collector to LED.

    Now we need to put some current through the base of the transistor to turn it on and light the LED. How much current? We put our finger in the air and guess about 250uA. Why? Because we might expect out transistor to have a current gain of about 40. One 40th of the 10ma we want in the collector is 250uA we need into the base.

    Given an input signal rising to 6v Ohms law tells us what the resistor in the base should be to get 250uA. About 20K.

    We build this in the simulator with a common transistor and some standard resistor values and we get this:

    attachment.php?attachmentid=110253&stc=1


    Poking around in the simulation we see: 9ma current through the LED, 200uA through the base resistor.
    We notice that the transistor's collector gets down to 92mv and that the base is at about 700mV when the thing is on.
    NOTE We have current into the base but our input signal hardly appears there as a voltage!


    led_2.png


    Edit: Changed "red" to "white". As peter points out this is a white LED in the circuit. It's data sheet indicates a 3.2 volt drop at 20ma so this circuit should be tweaked to give a 20ma load current.
    444 x 458 - 9K
  • Heater.Heater. Posts: 21,230
    edited 2014-08-09 02:44
    Whiteoxe.

    You may have accidentally invented a new collective noun there. The "bench". As in a "I have a bench of transistors", "I bought a metric bench load of components".

    A bit like a "bunch" more appropriate for electronic parts.

    Or at least that's what I got from your thread title.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-08-09 05:06
    Heater. wrote: »
    Why is it puzzling? At first glance this looks like an emitter follower configuration. Sure enough if you plot the base and emitter voltages as the supply goes up that is what it is. Only the LED starts to conduct after 3.2 volts which flattens out any voltage rise at the emitter and consequently the base.

    Red LEDs start conducting at 1.6V and normally drop 1.8V at 10ma or more. I use LEDs for low voltage references as they are very accurate, have a sharp knee etc. So where did you ever get a 3V figure from? That's more like a white LED.

    Sorry, I was very distracted before and ready to go out, so I only quickly glimpsed the posts. I also just mentioned 3V but that was from your last post where you refer to the LED as red when that one is white.
  • Cluso99Cluso99 Posts: 18,069
    edited 2014-08-09 05:08
    Be careful..
    The 2N2222 has a different pinout than P2N2222 in the TO92 package - I have been caught!
  • Heater.Heater. Posts: 21,230
    edited 2014-08-09 05:26
    Peter,

    Well spotted. The NSSW008CT-P1 LED that I selected at random in LTSpice is in fact a white LED. It's data sheet suggests a forward drop of 3.2 volts running at 20ma which seems about right in the simulation. So that second circuit above should be tweaked for 20ma load.

    I think my hand waving circuit descriptions still apply.
  • GenetixGenetix Posts: 1,754
    edited 2014-08-09 17:02
    Whiteoxe, take a look at this:
    http://www.elenco.com/admin_data/pdffiles/PK-101_REV-G.pdf

    Heater, I understood some of what you said.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-08-09 18:24
    Genetix, thx. I'd have purchased it but when I got to postage the price was $35. THe cost of the kit was only $16.

    Even fromthe stastes that postage seems very steep. I have often boughjt books from amazon, that would have weighed more than this kit and been a largewr package and Ive not paid such expensive postage. I dont think they want orders from OS.

    What might be a good idea is something like this, but without having to buy the arduino with it http://www.ebay.com.au/itm/1-Set-24-Lessons-Starter-Kit-With-Motor-Relay-LCD-Servo-for-Arduino-Uno-R3-A803-/271528159477?pt=AU_Gadgets&hash=item3f3856e8f5


    This is the kit I gave to my nephews , it is over $80 on aussie ebay local postage. I paid less than $40 from amazon. how do they justify that kind of markup ?
    elenco_zpsfb3f6c9a.jpg
Sign In or Register to comment.