Question.1
A microcontroller GPIO pin can source or sink maximum 20 mA.
A relay coil requires 80 mA at 12 V.
The following transistor is considered from Digi-Key:
Digi-Key Part Number: 2N2222A-ND
Is this transistor a correct selection for driving the relay, and why?
