How to use the 2N2222 Transistor (NPN) (with examples)

Learn how to use the 2N2222 NPN transistor as a switch. We’ll go over an example to turn on a bright LED, first using a push button, and then with an Arduino.