NPN type transistor

BMorse

Joined Sep 26, 2009
2,675
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
 

SgtWookie

Joined Jul 17, 2007
22,230
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.
 

Wendy

Joined Mar 24, 2008
23,421
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.
 

studiot

Joined Nov 9, 2007
4,998
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.
 

Thread Starter

aGpLT

Joined Jan 21, 2010
128
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:

Thread Starter

aGpLT

Joined Jan 21, 2010
128
Have you tried switching the resistors yet? I would think 2n2222s would be just fine so long as they received ample base current.
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...
 
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.
 

Thread Starter

aGpLT

Joined Jan 21, 2010
128

radiohead

Joined May 28, 2009
514
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."
 

bertus

Joined Apr 5, 2008
22,276
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
 

Thread Starter

aGpLT

Joined Jan 21, 2010
128
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
its more than enough for 2n2222a because at 150mA it requires only 15mA to open. everything should work :/
 

Thread Starter

aGpLT

Joined Jan 21, 2010
128
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
Thank You, i will post tomorrow about my progression.
 
Top