Transistors

A transistor switches or amplifies a much larger current with a small current or voltage. BJTs are driven by base current, MOSFETs by gate voltage. N types suit switching the minus side of the load, P types the plus side. An optocoupler passes a signal with light isolation; a triac, unlike a transistor, is a thyristor that switches AC current in both directions.

8 types4 groupsSymbol IEC

BJT

3

MOSFET

2

Light-powered

2

AC switching

1
1
If you are driving a load under 100 mA from a pin (LED, buzzer)
Cheap, simple; one base resistor is enough.
2
If you will switch the positive side of a small load
The emitter goes to positive; it conducts when you pull the base down.
3
To switch several amperes with little heating
A logic-level MOSFET has a very low on-resistance.
4
If you need to switch a large load on the positive side
Source stays at plus; it turns on when the gate is pulled low.
5
For amp-level loads with a simple driver, when efficiency matters less
Its gain is very high, but it costs 1–2 V.
6
If you will trigger when light arrives or is cut
Light acts like base current.
7
If you'll pass an isolated signal between two circuits
Transfers by light; no conductive connection between input and output.
8
To switch an AC load in both directions
Triggered by the gate, it turns off when the current falls below the holding current.
8 types · 5 features
TypeTypeMax. voltageMax. currentHow to drive itTypical use
NPN BJT (BC547)BJT, NPN45 V100 mABase current (with resistor)Small load switch
PNP BJT (BC557)BJT, PNP−45 V−100 mABy pulling the base downHigh-side switch
N-channel MOSFET (2N7000 / IRLZ44N)MOSFET, N-channel60 V · 55 V0.2 A · 47 AGate voltageMotor, LED strip
P-channel MOSFETMOSFET, P-channel−100 V (IRF9540N)−23 A (IRF9540N)By pulling the gate downPositive side, high current
Darlington (TIP120)Darlington, NPN60 V5 AVery small base currentMotor, solenoid
PhototransistorBJT, light-controlledDepends on the modelmA levelLight (instead of the base)Optocoupler, sensor
Optocoupler (PC817)Optical isolation, NPN80 V VCEO; 5 kV isolation test50 mA absolute max.LED current, series resistorIsolated signal
Triac (BT136)Bidirectional thyristor600 V4 A RMSGate current, relative to MT1Low-voltage AC switch

Values belong to sample parts (BC547, BC557, 2N7000 · IRLZ44N, IRF9540N, TIP120).