Concepts · Transistors as switches
A transistor switch works when it is driven well past the point where it just turns on; here you find that point and add margin.