Current flows top to bottom (i.e. C to E for NPN, E to C for PNP, D to S for N-channel, S to D for P-channel).
Abbreviation:
BJT and enhancement mode MOSFET are more common in mechatronic applications so they are discussed specifically. These are deciding factors between the two:
BJT
MOSFET
N-channel (NMOS)
VG − VS < thresholdGS | ||
VG − VS > 4.5V |
P-channel (PMOS)
VS − VG > 4.5V | ||
VS − VG < thresholdSG |
NPN
VB − VE < 0.6V | ||
VB − VE = 0.6V |
PNP
VE − VB = 0.6V | ||
VE − VB < 0.6V |