Drive 5v relay with 2N2222

As stated, if your 5v relay coil is 62.5 ohms, add a 68 ohm series resistor to the relay.

That looks correct, just add the 68 ohm resistor.

image