2N2222 transistor datasheet saturation current
try this circuit







simulate this circuit &ndash; Schematic created using CircuitLab

the saturation current will be 9v/2,000 = 4.5ma

If BETA is 100, this circuit will automatically (negative DC feedback) make the collector voltage be near VDD/2, no matter what is the VDD.