NPN type transistor

Discussion in 'General Electronics Chat' started by aGpLT, May 26, 2010.

  1. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
  2. BMorse

    Senior Member

    Sep 26, 2009
    2,675
    234
    2n3904's should do, they are just switching a relay load... and I would change the base resistor to something smaller like a 330 or 470 ohms.....

    B. Morse
     
  3. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    If you are driving the transistor's base from a PIC, don't go below 220 Ohms or you will fry your PIC's output port.

    Better to stay between 330 and 470.
     
  4. Norfindel

    Active Member

    Mar 6, 2008
    235
    9
    What current does the relay coil require?
     
  5. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
  6. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    I suspect the reason it didn't work is base current. As a general rule of thumb base current is 1/10 of collector current for reliable switching. With a 10KΩ base resistor and (I assume since it wasn't specified) and 12VDC you have 1ma on the base. If the power is 5VDC it is under 0.5ma.

    You really need to know the collector (relay coil) current.
     
  7. studiot

    AAC Fanatic!

    Nov 9, 2007
    5,005
    513
    You need to drive the transistor into saturation for this circuit to work. That is why 1ok base resistor is too high.
    Alternatively a switching FET would do the job.
     
  8. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    Heh its quite weird... i used two 2n2222a on one hbridge of 3 and its working fine, but when i trying other two (identical) it dont show any life. nope i am lying everything is not working.
     
    Last edited: May 27, 2010
  9. wannaBinventor

    Member

    Apr 8, 2010
    179
    4
    Have you tried switching the resistors yet? I would think 2n2222s would be just fine so long as they received ample base current.
     
  10. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    yeah now i am using 470R resistors. base controlling with pic16f88. uC output current 20mA, required for base current 15mA when collector current is 150mA, relay coil current 40mA. I think everything should be ok, but...
     
  11. wannaBinventor

    Member

    Apr 8, 2010
    179
    4
    Make sure that your transistor pins are oriented correctly. When I first started in electronics (oh..... 8 weeks ago), I kept forgetting that the pinout I was looking at showed it with the pins facing UP - hence I had the collector and the emitter reveresed. Make sure that you haven't done that.
     
  12. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    I know pin out quite well, http://www.buxcomm.com/catalog/images/mp2222_small.gif easy to remember.
     
  13. radiohead

    Active Member

    May 28, 2009
    474
    31
    If the General Purpose 2N2222 or 2n23904s get too hot, try a D40D8 or a TIP-41-series NPN transistor with a heat sink. Of course, the base will need a small current to allow it to "turn on."
     
  14. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,346
    Hello,

    I did have a look at the RM84 datasheet.
    It says at the coil data block that the rated power consumption is 0.4.. 0.48 Watt.
    This implies a current of 80 to 96 mA @ 5 Volts.

    Bertus
     
  15. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    its more than enough for 2n2222a because at 150mA it requires only 15mA to open. everything should work :/
     
  16. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,346
    Hello,

    A 2n2222A is a little bit lean for it.
    The 2N2219 can handle a bit more.
    See the attached datasheet for the 2N2222 + 2N2219
    I also attached a transistor table for you (unzip it to read in excel or open office).

    Bertus
     
    Redstone2 and aGpLT like this.
  17. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    Thank You, i will post tomorrow about my progression.
     
Loading...