Image result for 2n2222 transistor circuits | Eletronicos
Would somebody be kind enough to ELI5 how to calculate the base resistor required on a 2N2222A (used as a switch) when using a 5V Arduino Uno to control a solenoid actuator.
led - 2N2222 NPN transistor base resistor calculation - Electrical Engineering Stack Exchange