BS1 switching 2N2222 Relay Driver
KatyBri
Posts: 171
Hello,
I have a BS1 connected to a 2N2222 relay driver transistor's base through a 390 ohm resistor. The emitter is grounded. Vdd goes to the relay coil and protection diode and their other ends go to the 2N2222 collector. I measured the current at the emitter and got 40ma. after holding the relay closed for about 10 seconds, the 2N2222 is so hot it could give one a blister. Is this normal? Thanks.
I have a BS1 connected to a 2N2222 relay driver transistor's base through a 390 ohm resistor. The emitter is grounded. Vdd goes to the relay coil and protection diode and their other ends go to the 2N2222 collector. I measured the current at the emitter and got 40ma. after holding the relay closed for about 10 seconds, the 2N2222 is so hot it could give one a blister. Is this normal? Thanks.
Comments
diopro.png
Glad you got her going without releasing the magic smoke (hopefully).
If you have a 5V supply off of an I/O going through a 390 Ohm resistor to the base of the transistor, then the B-E current is going to be about 11.3mA
I = (Vsupply - 0.6V) / {Base resistor} = (5V - 0.6V) / 390 = 11.3
With an hfe of 30, this means that the transistor can only saturate and deliver 339mA. As long as your load doesn't pull more than 339mA you should be fine, but if your load does pull more than that, the transistor won't be able to saturate, and will operate in it's linear mode giving off heat.
Note: 30 is a worst case scenario and is load dependent, so it could be much better than 30... Still, always calculate the hfe for the worst case scenario unless you specifically hand pick the hfe on the transistor by physically measuring it before hand.